Question: What is the connection between Spider-Man (the one whose publisher is Marvel Comics) to Tobey Maguire?
Choices:
film distribute region
original network
located on astronomical location
dialect of
location of formation
performer
contributor(s) to the creative work
political alignment
manner of death
student of
Program:
function: Find
inputs: Marvel Comics
function: Relate
dependencies: 0
inputs: publisher
backward
function: Find
inputs: Spider-Man
function: And
dependencies: 1
2
function: Find
inputs: Tobey Maguire
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Spider-Man" . ?e_1 <publisher> ?e_3 . ?e_3 <pred:name> "Marvel Comics" . ?e_2 <pred:name> "Tobey Maguire" . ?e_1 ?p ?e_2 .  }
Answer: performer