Question: For Ratatouille (the one that was nominated for an Academy Award for Best Sound Editing), who was nominee when it was nominated for the Academy Award for Best Original Score?
Choices: Martin Brest
Richard Halsey
Michael Giacchino
Marvin March
Bruce Jay Friedman
Edward Zwick
Anna Asp
Lasse Hallström
Alan Ladd, Jr.
Colleen Atwood
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Ratatouille" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Sound Editing" . ?e_2 <pred:name> "Academy Award for Best Original Score" . ?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: Academy Award for Best Sound Editing
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Ratatouille
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Original Score
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
nominee
Answer: Michael Giacchino