Question: What is the connection between The Amazing Spider-Man (the one that is developed by Rare Ltd.) to Spider-Man (the one that has the occupation of scientist)?
Choices: characters
Wikidata property
filming location
talk show guest
shares border with
programming language
history of topic
given name
official symbol
chief executive officer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Amazing Spider-Man" . ?e_1 <developer> ?e_3 . ?e_3 <pred:name> "Rare Ltd." . ?e_2 <pred:name> "Spider-Man" . ?e_2 <occupation> ?e_4 . ?e_4 <pred:name> "scientist" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Rare Ltd.
function: Relate
dependencies: 0
inputs: developer
backward
function: Find
inputs: The Amazing Spider-Man
function: And
dependencies: 1
2
function: Find
inputs: scientist
function: Relate
dependencies: 4
inputs: occupation
backward
function: Find
inputs: Spider-Man
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
Answer: characters