Question: What is the subject of a statement that follows, 'Terms of Endearment was nominated for Academy Award for Best Picture' ?
Choices:
Georgia–South Carolina border
Denmark–Iraq relations
Canada–Ukraine relations
Canada–South Africa relations
56th Academy Awards
age of the Earth
Greece–Zimbabwe relations
Romania–Uzbekistan relations
Bosnia and Herzegovina–Serbia border
Kazakhstan–United States relations
Answer: 56th Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Terms of Endearment" . ?e_2 <pred:name> "Academy Award for Best Picture" . ?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: Terms of Endearment
function: Find
inputs: Academy Award for Best Picture
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
statement is subject of