Question: Which movie follows Sherlock Holmes (the one whose release region is Philippines)?
Choices:
Book of Shadows: Blair Witch 2
Talk to Her
The Hangover Part II
A Prairie Home Companion
Rebecca
Friends
Pleasantville
Sherlock Holmes: A Game of Shadows
Infernal Affairs II
Terminator 3: Rise of the Machines
Program:
function: Find
inputs: Philippines
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Sherlock Holmes
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: followed by
forward
function: FilterConcept
dependencies: 4
inputs: film
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e_1 <followed_by> ?e . ?e_1 <pred:name> "Sherlock Holmes" . ?e_1 <film_release_region> ?e_2 . ?e_2 <pred:name> "Philippines" .   }
Answer: Sherlock Holmes: A Game of Shadows