Question: Mission: Impossible, filmed in McLean, is followed by which movie?
Choices:
Talk to Her
Mission: Impossible II
Great Expectations
The Fifth Element
A Prairie Home Companion
Training Day
The Towering Inferno
Death on the Nile
Rebecca
Immortals
Answer: Mission: Impossible II
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e_1 <followed_by> ?e . ?e_1 <pred:name> "Mission: Impossible" . ?e_1 <filming_location> ?e_2 . ?e_2 <pred:name> "McLean" .   }
Program:
function: Find
inputs: McLean
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Mission: Impossible
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: followed by
forward
function: FilterConcept
dependencies: 4
inputs: film
function: What
dependencies: 5