Question: What is the subject of the statement that The Wizard of Oz (the one that was nominated for Academy Award for Best Production Design) was nominated for Academy Award for Best Picture ?
Choices:
Bangladesh–Myanmar border
Angola–Democratic Republic of the Congo border
Iran–South Africa relations
New Zealand–Sweden relations
languages of South Africa
Serbian Despotate
12th Academy Awards
European Union–Switzerland border
66th Tony Awards
Laos–Soviet Union relations
Answer: 12th Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Wizard of Oz" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Production Design" . ?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: Academy Award for Best Production Design
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: The Wizard of Oz
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Picture
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
statement is subject of