Question: How is Michael Jackson (the one that died from diabetes mellitus) connected to myocardial infarction?
Choices:
influenced by
religion
notable work
model item
exported to
genre
found
nominated for
illustrator
cause of death
Program:
function: Find
inputs: diabetes mellitus
function: Relate
dependencies: 0
inputs: cause of death
backward
function: Find
inputs: Michael Jackson
function: And
dependencies: 1
2
function: Find
inputs: myocardial infarction
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Michael Jackson" . ?e_1 <cause_of_death> ?e_3 . ?e_3 <pred:name> "diabetes mellitus" . ?e_2 <pred:name> "myocardial infarction" . ?e_1 ?p ?e_2 .  }
Answer: cause of death