Question: What is the relation of Jack White the one who was born in New York City to New York City
Choices:
place of birth
grants
named after
legal form
child astronomical body
developer
item operated
vehicle normally used
award disciplines or subjects
licensed to broadcast to
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Jack White" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> "New York City" . ?e_2 <pred:name> "New York City" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: New York City
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Jack White
function: And
dependencies: 1
2
function: Find
inputs: New York City
function: QueryRelation
dependencies: 3
4