Question: What is the subject of a statement 'nominated for' in 'Miracle on 34th Street (the one whose color is black-and-white) was nominated for Academy Award for Best Picture' ?
Choices:
Armenia–Azerbaijan relations
Greece–Nicaragua relations
Mexico–Romania relations
20th Academy Awards
North Korea–Togo relations
Ecuador–United States relations
68th Tony Awards
United Kingdom and the United Nations
Cyprus–Germany relations
Argentina–European Union relations
Answer: 20th Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Miracle on 34th Street" . ?e_1 <color> ?e_3 . ?e_3 <pred:name> "black-and-white" . ?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: black-and-white
function: Relate
dependencies: 0
inputs: color
backward
function: Find
inputs: Miracle on 34th Street
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