Question: What is the relation between The Green Hornet (whose producer is Neal H. Moritz) and James Newton Howard?
Choices:
characters
winner
cast member
donated by
student of
designed by
composer
located in or next to body of water
lyrics by
twinned administrative body
Answer: composer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Green Hornet" . ?e_1 <producer> ?e_3 . ?e_3 <pred:name> "Neal H. Moritz" . ?e_2 <pred:name> "James Newton Howard" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Neal H. Moritz
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: The Green Hornet
function: And
dependencies: 1
2
function: Find
inputs: James Newton Howard
function: QueryRelation
dependencies: 3
4