Question: What is the connection between John Davis (the one that is the producer of Courage Under Fire) to executive producer?
Choices:
place served by transport hub
public holiday
capital
mouth of the watercourse
part of the series
designed by
doctoral student
sex or gender
honorific prefix
occupation
Program:
function: Find
inputs: Courage Under Fire
function: Relate
dependencies: 0
inputs: producer
forward
function: Find
inputs: John Davis
function: And
dependencies: 1
2
function: Find
inputs: executive producer
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Davis" . ?e_3 <producer> ?e_1 . ?e_3 <pred:name> "Courage Under Fire" . ?e_2 <pred:name> "executive producer" . ?e_1 ?p ?e_2 .  }
Answer: occupation