Question: What film titled Being John Malkovich was followed by Adaptation?
Choices:
Curse of the Golden Flower
Pleasantville
Talk to Her
The Hunchback of Notre Dame
Rebecca
The Fifth Element
Being John Malkovich
A Prairie Home Companion
Training Day
The Towering Inferno
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Being John Malkovich
function: FilterConcept
dependencies: 1
inputs: film
function: Find
inputs: Adaptation
function: Relate
dependencies: 3
inputs: followed by
backward
function: FilterConcept
dependencies: 4
inputs: film
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <title> ?pv . ?pv <pred:value> "Being John Malkovich" . ?e <followed_by> ?e_1 . ?e_1 <pred:name> "Adaptation" .  }
Answer: Being John Malkovich