Question: What was the nominee when Algiers, directed by Walter Wanger, was nominated for the Academy Award for Best Actor?
Choices:
John Hale
Charles Boyer
Thomas Langmann
Robert Rutledge
Bernardo Bertolucci
John Boorman
Lisa Dean
Lianne Halfon
Russ Tamblyn
Gordon E. Sawyer
Answer: Charles Boyer
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Algiers" . ?e_1 <director> ?e_3 . ?e_3 <pred:name> "Walter Wanger" . ?e_2 <pred:name> "Academy Award for Best Actor" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }
Program:
function: Find
inputs: Walter Wanger
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: Algiers
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Actor
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
nominee