Question: What does Albert Einstein (who works in the location of Berlin) have to do with the Institute for Advanced Study?
Choices: filming location
appears in the form of
place of origin (Switzerland)
mother
replaces
family
narrator
employer
child astronomical body
official religion
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Albert Einstein" . ?e_1 <work_location> ?e_3 . ?e_3 <pred:name> "Berlin" . ?e_2 <pred:name> "Institute for Advanced Study" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Berlin
function: Relate
dependencies: 0
inputs: work location
backward
function: Find
inputs: Albert Einstein
function: And
dependencies: 1
2
function: Find
inputs: Institute for Advanced Study
function: QueryRelation
dependencies: 3
4
Answer: employer