Question: When was the release of the written work that inspired The Right Stuff, with John F. Kennedy as a cast member?
Choices:
2011-04-01
2011-06-02
1988-10-14
1979
2002-11-27
2000-05-11
1954
2005-08-18
1967-08-02
1941
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> "John F. Kennedy" .  ?e <publication_date> ?pv .  }
Program:
function: Find
inputs: John F. Kennedy
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