Question: What is the connection between Alaska (the one that was born in Mexico City) to Mexico?
Choices:
head of state
lowest point
film regional debut venue
writing system
architect
place of publication
child
work location
rector
country of citizenship
Answer: country of citizenship
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Alaska" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> "Mexico City" . ?e_2 <pred:name> "Mexico" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Mexico City
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Alaska
function: And
dependencies: 1
2
function: Find
inputs: Mexico
function: QueryRelation
dependencies: 3
4