Question: For which work was The Goodbye Girl (which was shot in New York City) nominated for an Academy Award for Best Writing, Original Screenplay?
Choices:
50th Academy Awards
Austria–Russia relations
Germany-Botswana relations
Chile–Indonesia relations
Cyprus–Israel border
Africa–China relations
Austria–Canada relations
Georgia–Saudi Arabia relations
China–Vietnam relations
Australia–United Kingdom relations
Answer: 50th Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Goodbye Girl" . ?e_1 <filming_location> ?e_3 . ?e_3 <pred:name> "New York City" . ?e_2 <pred:name> "Academy Award for Best Writing, Original 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: New York City
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: The Goodbye Girl
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Writing, Original Screenplay
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
statement is subject of