Question: Which movie was awarded the Academy Awards that was nominated to Milena Canonero (the winner of this statement is Margaret Furse)?
Choices:
Rebecca
Gandhi
Talk to Her
The Last Emperor
A Prairie Home Companion
Anne of the Thousand Days
The Fifth Element
Dangerous Liaisons
The Artist
The Sting
Answer: Anne of the Thousand Days
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <award_received> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "Academy Awards" . ?e_2 <nominated_for> ?e_1 . ?e_2 <pred:name> "Milena Canonero" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <winner> ?qpv . ?qpv <pred:value> "Margaret Furse" .  }
Program:
function: Find
inputs: Milena Canonero
function: Relate
dependencies: 0
inputs: nominated for
forward
function: FilterConcept
dependencies: 1
inputs: Academy Awards
function: Relate
dependencies: 2
inputs: award received
backward
function: QFilterStr
dependencies: 3
inputs: winner
Margaret Furse
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: What
dependencies: 5