Question: What is the relationship between Frank Marshall, who produced Twilight Zone: The Movie and Kathleen Kennedy?
Choices: material used
maintained by
worshipped by
official symbol
domain of saint or deity
designated as terrorist by
superhuman feature or ability
field of work
spouse
depicts
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Frank Marshall" . ?e_3 <producer> ?e_1 . ?e_3 <pred:name> "Twilight Zone: The Movie" . ?e_2 <pred:name> "Kathleen Kennedy" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Twilight Zone: The Movie
function: Relate
dependencies: 0
inputs: producer
forward
function: Find
inputs: Frank Marshall
function: And
dependencies: 1
2
function: Find
inputs: Kathleen Kennedy
function: QueryRelation
dependencies: 3
4
Answer: spouse