Question: Which disease did Milton Friedman die of?
Choices:
hypertension
gastroesophageal reflux disease
attention deficit hyperactivity disorder
epilepsy
stomach cancer
dyslexia
lung cancer
heart failure
Parkinson disease
prostate cancer
Program:
function: Find
inputs: Milton Friedman
function: Relate
dependencies: 0
inputs: cause of death
forward
function: FilterConcept
dependencies: 1
inputs: disease
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "disease" . ?e_1 <cause_of_death> ?e . ?e_1 <pred:name> "Milton Friedman" .   }
Answer: heart failure