Question: Which movie from France was nominated for Academy Award for Best Visual Effects (the nominee of this statement is Paul Wilson)?
Choices:
Training Day
The Fifth Element
Pleasantville
Rebecca
Moonraker
Rope
Talk to Her
Curse of the Golden Flower
A Prairie Home Companion
The Towering Inferno
Answer: Moonraker
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "France" .  ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "Academy Award for Best Visual Effects" . [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv . ?qpv <pred:value> "Paul Wilson" .  }
Program:
function: Find
inputs: France
function: Relate
dependencies: 0
inputs: country of origin
backward
function: FilterConcept
dependencies: 1
inputs: film
function: Find
inputs: Academy Award for Best Visual Effects
function: Relate
dependencies: 3
inputs: nominated for
backward
function: QFilterStr
dependencies: 4
inputs: nominee
Paul Wilson
function: FilterConcept
dependencies: 5
inputs: film
function: And
dependencies: 2
6
function: What
dependencies: 7