Question: How are Samson and Delilah, which mainly depicts the Bible, and Hans Dreier related?
Choices:
director/manager
appointed by
update method
country of origin
depicted by
creator
place of burial
notable work
film distribute region
production designer
Answer: production designer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Samson and Delilah" . ?e_1 <main_subject> ?e_3 . ?e_3 <pred:name> "Bible" . ?e_2 <pred:name> "Hans Dreier" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Bible
function: Relate
dependencies: 0
inputs: main subject
backward
function: Find
inputs: Samson and Delilah
function: And
dependencies: 1
2
function: Find
inputs: Hans Dreier
function: QueryRelation
dependencies: 3
4