Question: Who won the MTV Movie Award that was nominated to Martin Freeman (the award-winning work of this statement is The Exorcism of Emily Rose)?
Choices:
Ellen Page
Jennifer Lopez
Richard Gere
Max Fleischer
Jennifer Carpenter
Brad Pitt
Dakota Fanning
Rahul Dev Burman
Sylvester Stallone
David Byrne
Answer: Jennifer Carpenter
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <winner> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "MTV Movie Awards" . ?e_2 <nominated_for> ?e_1 . ?e_2 <pred:name> "Martin Freeman" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e ] <for_work> ?qpv . ?qpv <pred:value> "The Exorcism of Emily Rose" .  }
Program:
function: Find
inputs: Martin Freeman
function: Relate
dependencies: 0
inputs: nominated for
forward
function: FilterConcept
dependencies: 1
inputs: MTV Movie Awards
function: Relate
dependencies: 2
inputs: winner
forward
function: QFilterStr
dependencies: 3
inputs: for work
The Exorcism of Emily Rose
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5