Question: How is "The Grapes of Wrath," produced by Nunnally Johnson, related to "The Grapes of Wrath," written by John Steinbeck?
Choices: based on
architectural style
health specialty
facet of
applies to jurisdiction
cause of death
has part
head of state
culture
hair color
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Grapes of Wrath" . ?e_1 <producer> ?e_3 . ?e_3 <pred:name> "Nunnally Johnson" . ?e_2 <pred:name> "The Grapes of Wrath" . ?e_2 <author> ?e_4 . ?e_4 <pred:name> "John Steinbeck" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Nunnally Johnson
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: The Grapes of Wrath
function: And
dependencies: 1
2
function: Find
inputs: John Steinbeck
function: Relate
dependencies: 4
inputs: author
backward
function: Find
inputs: The Grapes of Wrath
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
Answer: based on