Question: What is the relationship between Neil Young from Edinburgh to Edinburgh?
Choices: designed to carry
place of birth
field of work
honorific prefix
quotes work
professional or sports partner
student
author
make-up artist
worshipped by
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Neil Young" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> "Edinburgh" . ?e_2 <pred:name> "Edinburgh" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Edinburgh
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Neil Young
function: And
dependencies: 1
2
function: Find
inputs: Edinburgh
function: QueryRelation
dependencies: 3
4
Answer: place of birth