Question: What is the subject of a statement 'nominated for' in ' All the King's Men (the one that was nominated for Academy Award for Best Writing, Adapted Screenplay) was nominated for Academy Award for Best Director' ?
Choices:
Larry Lurex
Taiwan–Tajikistan relations
22nd Academy Awards
Iraq–Saudi Arabia border
United States–Vanuatu relations
Bahrain–United Kingdom relations
Bolivia–Cuba relations
Brazil–Serbia relations
Albania–Serbia relations
Moldova–Sweden relations
Answer: 22nd Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "All the King's Men" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Writing, Adapted Screenplay" . ?e_2 <pred:name> "Academy Award for Best Director" . ?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 Writing, Adapted Screenplay
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: All the King's Men
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Director
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
statement is subject of