Question: What is the relationship between Samson and Delilah (the one that is shot in Mexico) and Max von Sydow?
Choices: soundtrack album
domain of saint or deity
facet of
contains settlement
position played on team / speciality
cast member
instrument
relative
religion
location of discovery
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Samson and Delilah" . ?e_1 <filming_location> ?e_3 . ?e_3 <pred:name> "Mexico" . ?e_2 <pred:name> "Max von Sydow" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Mexico
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Samson and Delilah
function: And
dependencies: 1
2
function: Find
inputs: Max von Sydow
function: QueryRelation
dependencies: 3
4
Answer: cast member