Question: What association does the drama film The Messenger have to Mark Gordon (executive producer of The Jackal)?
Choices:
genre
professional or sports partner
country for sport
legislative body
fabrication method
subject has role
country of origin
producer
depicts
based on
Answer: producer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Messenger" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "drama film" . ?e_2 <pred:name> "Mark Gordon" . ?e_4 <executive_producer> ?e_2 . ?e_4 <pred:name> "The Jackal" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: drama film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: The Messenger
function: And
dependencies: 1
2
function: Find
inputs: The Jackal
function: Relate
dependencies: 4
inputs: executive producer
forward
function: Find
inputs: Mark Gordon
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7