Question: For which work was All the King's Men (in the genre of film noir) nominated for an Academy Award for Best Picture?
Choices:
Chile–China relations
Taiwan–Zambia relations
India–Iraq relations
Iran–Pakistan relations
62nd Academy Awards
22nd Academy Awards
Japan–Vietnam relations
84th Academy Awards
Germany–Philippines relations
Oman–Russia relations
Answer: 22nd Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "All the King's Men" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "film noir" . ?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: film noir
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: All the King's Men
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