Question: What is the connection between Samson and Delilah (the one that has Elizabeth Hurley as a cast member) to drama film?
Choices:
legal form
family name
geography of topic
genre
month of the year
league
nominated for
separated from
business division
sidekick of
Program:
function: Find
inputs: Elizabeth Hurley
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Samson and Delilah
function: And
dependencies: 1
2
function: Find
inputs: drama film
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Samson and Delilah" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Elizabeth Hurley" . ?e_2 <pred:name> "drama film" . ?e_1 ?p ?e_2 .  }
Answer: genre