Question: What is the connection between Samson and Delilah (the one that is shot in Mexico) to drama film?
Choices: territory claimed by
set in period
legal form
use
connects with
genre
costume designer
student
student of
official language
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> "drama film" . ?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: drama film
function: QueryRelation
dependencies: 3
4
Answer: genre