Question: What is the relationship between the film Where the Wild Things Are, which was based on literature, to Gary Goetzman?
Choices:
movement
item operated
part of
given name
talk show guest
official language
producer
donated by
license
published in
Answer: producer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Where the Wild Things Are" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "film based on literature" . ?e_2 <pred:name> "Gary Goetzman" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: film based on literature
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Where the Wild Things Are
function: And
dependencies: 1
2
function: Find
inputs: Gary Goetzman
function: QueryRelation
dependencies: 3
4