Question: What is the connection of Peter Cullen (a voice actor in Treasure Planet) to Canada?
Choices: candidacy in election
language of work or name
board member
source of income
child
field of work
operating system
award received
office held by head of the organisation
country of citizenship
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Peter Cullen" . ?e_3 <voice_actor> ?e_1 . ?e_3 <pred:name> "Treasure Planet" . ?e_2 <pred:name> "Canada" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Treasure Planet
function: Relate
dependencies: 0
inputs: voice actor
forward
function: Find
inputs: Peter Cullen
function: And
dependencies: 1
2
function: Find
inputs: Canada
function: QueryRelation
dependencies: 3
4
Answer: country of citizenship