Question: Which film has title The Phantom and whose producer is Robert Evans (the one that has the occupation of film producer) ?
Choices: The Cotton Club
Pleasantville
Chinatown
Sliver
The Fifth Element
A Prairie Home Companion
The Phantom
The Towering Inferno
Talk to Her
Rebecca
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <title> ?pv . ?pv <pred:value> "The Phantom" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Robert Evans" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "film producer" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
The Phantom
function: FilterConcept
dependencies: 1
inputs: film
function: Find
inputs: film producer
function: Relate
dependencies: 3
inputs: occupation
backward
function: Find
inputs: Robert Evans
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: producer
backward
function: FilterConcept
dependencies: 7
inputs: film
function: And
dependencies: 2
8
function: What
dependencies: 9
Answer: The Phantom