Question: Which person influenced Jim Morrison (the one that died from myocardial infarction)?
Choices:
Mammootty
Subhash Ghai
Richard Gere
Elvis Presley
Plato
Jean-Paul Sartre
G. K. Chesterton
Max Fleischer
Sneha
William Henry Harrison
Program:
function: Find
inputs: myocardial infarction
function: Relate
dependencies: 0
inputs: cause of death
backward
function: Find
inputs: Jim Morrison
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: influenced by
forward
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <influenced_by> ?e . ?e_1 <pred:name> "Jim Morrison" . ?e_1 <cause_of_death> ?e_2 . ?e_2 <pred:name> "myocardial infarction" .   }
Answer: Elvis Presley