Question: Rock musician Prince is famously associated with which disease?
Choices:
peritonitis
amyotrophic lateral sclerosis
prostate cancer
gastroesophageal reflux disease
epilepsy
testicular cancer
breast cancer
asthma
poliomyelitis
musculoskeletal disorder
Program:
function: Find
inputs: rock music
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Prince
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: notable people with this condition
backward
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 <notable_people_with_this_condition> ?e_1 . ?e_1 <pred:name> "Prince" . ?e_2 <famous_people> ?e_1 . ?e_2 <pred:name> "rock music" .   }
Answer: epilepsy