Question: What film is followed by Shanghai Knights?
Choices:
Infernal Affairs
A Prairie Home Companion
Talk to Her
Pleasantville
The Blues Brothers
Fantastic Four
Rebecca
The Three Musketeers
Shanghai Noon
The Da Vinci Code
Program:
function: Find
inputs: Shanghai Knights
function: Relate
dependencies: 0
inputs: followed by
backward
function: FilterConcept
dependencies: 1
inputs: film
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <followed_by> ?e_1 . ?e_1 <pred:name> "Shanghai Knights" .   }
Answer: Shanghai Noon