Question: How is Jack White, who died in Belfast, related to Belfast?
Choices:
conflict
mouth of the watercourse
capital of
replaces
place of death
appointed by
sex or gender
country of citizenship
time period
designed by
Program:
function: Find
inputs: Belfast
function: Relate
dependencies: 0
inputs: place of death
backward
function: Find
inputs: Jack White
function: And
dependencies: 1
2
function: Find
inputs: Belfast
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Jack White" . ?e_1 <place_of_death> ?e_3 . ?e_3 <pred:name> "Belfast" . ?e_2 <pred:name> "Belfast" . ?e_1 ?p ?e_2 .  }
Answer: place of death