Question: What is the relation of Spider-Man (65 episodes) to the United States of America?
Choices:
affiliation
main food source
child
country of origin
located in time zone
located on terrain feature
director/manager
from fictional universe
developer
location of final assembly
Program:
function: Find
inputs: Spider-Man
function: FilterNum
dependencies: 0
inputs: number of episodes
65
=
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Spider-Man" . ?e_1 <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "65"^^xsd:double . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Answer: country of origin