Question: Rules of Engagement, directed by William Friedkin, has what connection to Richard D. Zanuck?
Choices:
tributary
board member
producer
depicts
has edition
followed by
has contributing factor
languages spoken, written or signed
medical treatment
sponsor
Program:
function: Find
inputs: William Friedkin
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: Rules of Engagement
function: And
dependencies: 1
2
function: Find
inputs: Richard D. Zanuck
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Rules of Engagement" . ?e_1 <director> ?e_3 . ?e_3 <pred:name> "William Friedkin" . ?e_2 <pred:name> "Richard D. Zanuck" . ?e_1 ?p ?e_2 .  }
Answer: producer