Question: What disease caused the death of George Kennedy who is related to ice hockey?
Choices:
influenza
myocardial infarction
colorectal cancer
epilepsy
heart failure
attention deficit hyperactivity disorder
prostate cancer
hypothyroidism
osteoporosis
gastroesophageal reflux disease
Program:
function: Find
inputs: ice hockey
function: Relate
dependencies: 0
inputs: sport
backward
function: Find
inputs: George Kennedy
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: cause of death
forward
function: FilterConcept
dependencies: 4
inputs: disease
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "disease" . ?e_1 <cause_of_death> ?e . ?e_1 <pred:name> "George Kennedy" . ?e_1 <sport> ?e_2 . ?e_2 <pred:name> "ice hockey" .   }
Answer: influenza