Question: What was the disease that causes the death of Gregg Allman and the the death of David Bowie (the one that was a famous pop rock singer)?
Choices: liver cancer
bubonic plague
diarrhea
gastroesophageal reflux disease
pedophilia
amyotrophic lateral sclerosis
attention deficit hyperactivity disorder
peritonitis
Crohn's disease
epilepsy
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "disease" . ?e_1 <cause_of_death> ?e . ?e_1 <pred:name> "Gregg Allman" .  ?e_2 <cause_of_death> ?e . ?e_2 <pred:name> "David Bowie" . ?e_3 <famous_people> ?e_2 . ?e_3 <pred:name> "pop rock" .  }
Program:
function: Find
inputs: Gregg Allman
function: Relate
dependencies: 0
inputs: cause of death
forward
function: FilterConcept
dependencies: 1
inputs: disease
function: Find
inputs: pop rock
function: Relate
dependencies: 3
inputs: famous people
forward
function: Find
inputs: David Bowie
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: cause of death
forward
function: FilterConcept
dependencies: 7
inputs: disease
function: And
dependencies: 2
8
function: What
dependencies: 9
Answer: liver cancer