Question: What is the connection between Spider-Man (the one whose number of episodes is 52) to Stan Lee (the one that has the occupation of executive producer)?
Choices:
symptom of
occupant
chairperson
public holiday
studies
creator
tributary
from fictional universe
found
statistical leader
Answer: creator
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Spider-Man" . ?e_1 <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "52"^^xsd:double . ?e_2 <pred:name> "Stan Lee" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> "executive producer" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Spider-Man
function: FilterNum
dependencies: 0
inputs: number of episodes
52
=
function: Find
inputs: executive producer
function: Relate
dependencies: 2
inputs: occupation
backward
function: Find
inputs: Stan Lee
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5