Question: Who was nominated for Academy Award for Best Writing, Original Screenplay for Manhattan (the one that received National Film Registry) ?
Choices:
52nd Academy Awards
Mexico–Senegal relations
Brunei–United States relations
Malaysia–South Korea relations
Hong Kong–Taiwan relations
Georgia (country)–Ukraine relations
Bolivia–Mexico relations
North Carolina–South Carolina border
60th Tony Awards
Kosovo–Maldives relations
Answer: 52nd Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Manhattan" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> "National Film Registry" . ?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: National Film Registry
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Manhattan
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