Question: Tell me the movie that is filmed in Vienna (the one that is Sigmund Freud's residence) and that is entitled The Living Daylights
Choices:
A Prairie Home Companion
Talk to Her
Amadeus
Rebecca
The Living Daylights
Batman & Robin
Training Day
The Third Man
Pleasantville
The Fifth Element
Answer: The Living Daylights
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Vienna" . ?e_2 <residence> ?e_1 . ?e_2 <pred:name> "Sigmund Freud" .  ?e <title> ?pv . ?pv <pred:value> "The Living Daylights" .  }
Program:
function: Find
inputs: Sigmund Freud
function: Relate
dependencies: 0
inputs: residence
forward
function: Find
inputs: Vienna
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: filming location
backward
function: FilterConcept
dependencies: 4
inputs: film
function: FindAll
function: FilterStr
dependencies: 6
inputs: title
The Living Daylights
function: FilterConcept
dependencies: 7
inputs: film
function: And
dependencies: 5
8
function: What
dependencies: 9