Question: What was War and Peace, with Audrey Hepburn and which was nominated for an Academy Award for Best Director, about?
Choices:
Iraq–Italy relations
Malaysia–Peru relations
Bhutan–Taiwan relations
Bangladesh–Bhutan relations
Israel–Switzerland relations
United we stand, divided we fall
United Arab Emirates–United Kingdom relations
Austria–Georgia relations
29th Academy Awards
Denmark–Egypt relations
Answer: 29th Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "War and Peace" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Audrey Hepburn" . ?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: Audrey Hepburn
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: War and Peace
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