Question: Whose contribution to Ninotchka earned an Academy Award nomination for Best Story?
Choices:
Petrograd
Germany-Morocco relations
Pakistan–Soviet Union relations
Myanmar–Philippines relations
Germany–Monaco relations
Kosovo–Serbia relations
Denmark–Mozambique relations
Sudan–Taiwan relations
12th Academy Awards
Croatia–Slovenia border
Answer: 12th Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Ninotchka" . ?e_2 <pred:name> "Academy Award for Best Story" . ?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: Ninotchka
function: Find
inputs: Academy Award for Best Story
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
statement is subject of