Question: What is the connection between Joseph Campbell (who was born in White Plains) and White Plains?
Choices:
headquarters location
territory claimed by
head of government
is a list of
place of birth
filming location
legal form
applies to jurisdiction
godparent
start point
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Joseph Campbell" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> "White Plains" . ?e_2 <pred:name> "White Plains" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: White Plains
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Joseph Campbell
function: And
dependencies: 1
2
function: Find
inputs: White Plains
function: QueryRelation
dependencies: 3
4