Question: What was the underlying or immediate cause of death of James Cameron who died in Milwaukee?
Choices:
plural
II
heart failure
January 7
48C84
2001:620:8::/48
8224643
12742 kilometre
1795-02-12
statistics
Answer: heart failure
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "James Cameron" . ?e_1 <place_of_death> ?e_3 . ?e_3 <pred:name> "Milwaukee" . ?e_2 <pred:name> "natural causes" . ?e_1 <manner_of_death> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <manner_of_death> ; <pred:fact_t> ?e_2 ] <cause_of_death> ?qpv .  }
Program:
function: Find
inputs: Milwaukee
function: Relate
dependencies: 0
inputs: place of death
backward
function: Find
inputs: James Cameron
function: And
dependencies: 1
2
function: Find
inputs: natural causes
function: QueryRelationQualifier
dependencies: 3
4
inputs: manner of death
cause of death