Question: Which work by David Byrne of Talking Heads earned an Academy Award nomination for Best Original Score?
Choices:
The Crying Game
Radio Days
Moving Mars
Twister
From the Dust Returned
Top of the Lake
The Last Emperor
Sachaa Jhutha
Tora! Tora! Tora!
Planet Earth
Answer: The Last Emperor
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "David Byrne" . ?e_3 <has_part> ?e_1 . ?e_3 <pred:name> "Talking Heads" . ?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 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: Talking Heads
function: Relate
dependencies: 0
inputs: has part
forward
function: Find
inputs: David Byrne
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Original Score
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
for work