Question: What is the connection between Yoko Ono to Tokyo (the one that is the headquarter location of Enix)?
Choices:
mascot
costume designer
location of discovery
headquarters location
interested in
present in work
place of birth
developer
occupation
coextensive with
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Yoko Ono" . ?e_2 <pred:name> "Tokyo" . ?e_3 <headquarters_location> ?e_2 . ?e_3 <pred:name> "Enix" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Yoko Ono
function: Find
inputs: Enix
function: Relate
dependencies: 1
inputs: headquarters location
forward
function: Find
inputs: Tokyo
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4