Question: For what was Neighbours (whose distributor is National Film Board of Canada) nominated for an Academy Award for Best Documentary (Short Subject)?
Choices:
Georgia–Turkey relations
Chile–Romania relations
Italy–Lebanon relations
Croatia–Serbia relations
25th Academy Awards
France–Italy border
Malaysia–Venezuela relations
Bangladesh–South Africa relations
Germany–Ireland relations
Namibia–Zambia relations
Answer: 25th Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Neighbours" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> "National Film Board of Canada" . ?e_2 <pred:name> "Academy Award for Best Documentary (Short Subject)" . ?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: National Film Board of Canada
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Neighbours
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Documentary (Short Subject)
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
statement is subject of