Question: How is Spider-Man which is a notable work of Tobey Maguire related to Avi Arad?
Choices:
godparent
executive producer
voice type
sexual orientation
airline hub
has edition
has part
famous people
political alignment
director of photography
Program:
function: Find
inputs: Tobey Maguire
function: Relate
dependencies: 0
inputs: notable work
forward
function: Find
inputs: Spider-Man
function: And
dependencies: 1
2
function: Find
inputs: Avi Arad
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Spider-Man" . ?e_3 <notable_work> ?e_1 . ?e_3 <pred:name> "Tobey Maguire" . ?e_2 <pred:name> "Avi Arad" . ?e_1 ?p ?e_2 .  }
Answer: executive producer