Question: What is the title of Samson and Delilah whose director is Alexander Korda?
Choices:
Happy-Go-Lucky
Una storia d'amore
Crazy, Stupid, Love.
Demolition Man
Everybody Loves Raymond
A Simple Life
Inland Empire
Kansas City
The Help
Samson und Delila
Program:
function: Find
inputs: Alexander Korda
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: Samson and Delilah
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Samson and Delilah" . ?e <director> ?e_1 . ?e_1 <pred:name> "Alexander Korda" .  ?e <title> ?pv .  }
Answer: Samson und Delila