Question: What is the association between John Mills (who died from a stroke) and Buckinghamshire?
Choices:
substitute/deputy/replacement of office/officeholder
place of death
notable work
basic form of government
diaspora
candidate
godparent
film editor
award received
geography of topic
Program:
function: Find
inputs: stroke
function: Relate
dependencies: 0
inputs: cause of death
backward
function: Find
inputs: John Mills
function: And
dependencies: 1
2
function: Find
inputs: Buckinghamshire
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Mills" . ?e_1 <cause_of_death> ?e_3 . ?e_3 <pred:name> "stroke" . ?e_2 <pred:name> "Buckinghamshire" . ?e_1 ?p ?e_2 .  }
Answer: place of death