Question: Which film was titled Voltaire and had Tony Gaudio as director of photography?
Choices:
Pleasantville
The Fifth Element
Talk to Her
Rebecca
Training Day
All Quiet on the Western Front
Anthony Adverse
A Prairie Home Companion
The Lady
Voltaire
Program:
function: Find
inputs: Tony Gaudio
function: Relate
dependencies: 0
inputs: director of photography
backward
function: FilterConcept
dependencies: 1
inputs: film
function: FindAll
function: FilterStr
dependencies: 3
inputs: title
Voltaire
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 <director_of_photography> ?e_1 . ?e_1 <pred:name> "Tony Gaudio" .  ?e <title> ?pv . ?pv <pred:value> "Voltaire" .  }
Answer: Voltaire