Question: Screenwriter David Byrne was nominated for an Academy Award for Best Original Score of which work?
Choices:
Turkmenistan–Uzbekistan border
France–Vanuatu relations
Dominican Republic–United States border
East Germany–Soviet Union relations
Brunei–Thailand relations
17th Academy Awards
Kazakhstan–United Kingdom relations
60th Academy Awards
Philippines–European Union relations
Brazil–Cape Verde relations
Answer: 60th Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "David Byrne" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "screenwriter" . ?e_2 <pred:name> "Academy Award for Best Original Score" . ?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: screenwriter
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: David Byrne
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Original Score
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
statement is subject of