Question: What is the connection between Toy Story (the one whose release region is Sweden) to Canada?
Choices:
film release region
employer
place of death
head of government
subsidiary
movement
owner of
voice actor
child
allegiance
Program:
function: Find
inputs: Sweden
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Toy Story
function: And
dependencies: 1
2
function: Find
inputs: Canada
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Toy Story" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Sweden" . ?e_2 <pred:name> "Canada" . ?e_1 ?p ?e_2 .  }
Answer: film release region