Question: Which disease did Joseph Cotten die of?
Choices:
asthma
gastroesophageal reflux disease
epilepsy
multiple sclerosis
esophageal cancer
Alzheimer's disease
typhoid fever
attention deficit hyperactivity disorder
cancer
prostate cancer
Program:
function: Find
inputs: Joseph Cotten
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> "Joseph Cotten" .   }
Answer: esophageal cancer