Question: What is the release date of the literary work that derives The Right Stuff (that has Dennis Quaid as a cast member)?
Choices:
1944-10-30
2004-11-10
1991-09-26
2004-02-05
1998-12-18
1988-01-07
1979
1995-12-29
1961-01-01
2014-12-19
Answer: 1979
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "written work" . ?e_1 <based_on> ?e . ?e_1 <pred:name> "The Right Stuff" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Dennis Quaid" .  ?e <publication_date> ?pv .  }
Program:
function: Find
inputs: Dennis Quaid
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Right Stuff
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: based on
forward
function: FilterConcept
dependencies: 4
inputs: written work
function: QueryAttr
dependencies: 5
inputs: publication date