Question: For what was Stand by Me (whose narrator is Richard Dreyfuss) nominated for an Academy Award for Best Writing, Adapted Screenplay?
Choices:
Afghanistan–Tajikistan border
Germany–Yemen relations
Austria–Germany border
Michigan–Ohio border
59th Academy Awards
Kenya–Saudi Arabia relations
Jordan–European Union relations
Malaysia–Ukraine relations
Germany–Ghana relations
Denmark–Russia relations
Answer: 59th Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Stand by Me" . ?e_1 <narrator> ?e_3 . ?e_3 <pred:name> "Richard Dreyfuss" . ?e_2 <pred:name> "Academy Award for Best Writing, Adapted Screenplay" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }
Program:
function: Find
inputs: Richard Dreyfuss
function: Relate
dependencies: 0
inputs: narrator
backward
function: Find
inputs: Stand by Me
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Writing, Adapted Screenplay
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
statement is subject of