Question: Who received Academy Awards nominated to Star Wars: Episode III – Revenge of the Sith (the award-winning work of this statement is Braveheart)?
Choices:
William Henry Harrison
Rahul Dev Burman
Rick Baker
Mel Gibson
Peter Frampton
Ve Neill
Richard Gere
Richard Taylor
David Byrne
Sylvester Stallone
Answer: Peter Frampton
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?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> "Star Wars: Episode III – Revenge of the Sith" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> "Braveheart" .  }
Program:
function: Find
inputs: Star Wars: Episode III – Revenge of the Sith
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: for work
Braveheart
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5