Question: Who was the nominee when Dances with Wolves was nominated for the Academy Award for Best Original Score?
Choices: Oliver Stone
Lionel Couch
John Gilbert
Steve Tisch
Peter Young
Calder Willingham
Thomas Langmann
Daniel Day-Lewis
Christoph Waltz
John Barry
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Dances with Wolves" . ?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: Dances with Wolves
function: Find
inputs: Academy Award for Best Original Score
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
nominee
Answer: John Barry