Question: For which work was Jim Sheridan (who was nominated for an Academy Award for Best Writing, Original Screenplay) nominated for an Academy Award for Best Picture?
Choices:
Afghanistan–Russia relations
Latvia–Poland border
Rwanda–Tanzania relations
Brazil–Serbia relations
90th Academy Awards
Benin–United States relations
66th Academy Awards
Botswana–Namibia border
Brazil–Nigeria relations
Iran–Iraq relations
Answer: 66th Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Jim Sheridan" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Writing, Original Screenplay" . ?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 Writing, Original Screenplay
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Jim Sheridan
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