Question: What was the underlying or immediate cause of death of the James Cameron born on 1914-02-23 who died of natural causes?
Choices:
Batman Returns
Sherlock Holmes and the Leading Lady
Islam
WikimediaGeneral
33946
Framingham.ogg
heart failure
99401
296
2004-01-17
Answer: heart failure
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "James Cameron" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1914-02-23"^^xsd:date . ?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: James Cameron
function: FilterDate
dependencies: 0
inputs: date of birth
1914-02-23
=
function: Find
inputs: natural causes
function: QueryRelationQualifier
dependencies: 1
2
inputs: manner of death
cause of death