Question: What is the connection between Donald Trump (the one that works in the location Falls Church) to Falls Church?
Choices:
partner
member of political party
works in collection
work location
student of
board member
commissioned by
software engine
office held by head of the organisation
eye color
Program:
function: Find
inputs: Falls Church
function: Relate
dependencies: 0
inputs: work location
backward
function: Find
inputs: Donald Trump
function: And
dependencies: 1
2
function: Find
inputs: Falls Church
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Donald Trump" . ?e_1 <work_location> ?e_3 . ?e_3 <pred:name> "Falls Church" . ?e_2 <pred:name> "Falls Church" . ?e_1 ?p ?e_2 .  }
Answer: work location