Question: Frank Marshall, producer of The Sixth Sense, is related in what way to executive producer?
Choices:
occupation
signatory
commissioned by
had as last meal
screenwriter
official language
product or material produced
diaspora
enclave within
located on astronomical location
Program:
function: Find
inputs: The Sixth Sense
function: Relate
dependencies: 0
inputs: producer
forward
function: Find
inputs: Frank Marshall
function: And
dependencies: 1
2
function: Find
inputs: executive producer
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Frank Marshall" . ?e_3 <producer> ?e_1 . ?e_3 <pred:name> "The Sixth Sense" . ?e_2 <pred:name> "executive producer" . ?e_1 ?p ?e_2 .  }
Answer: occupation