Question: Which disease that significantly struck Richard Pryor on 1990-01-01 corresponds to DiseasesDB identifier 8664?
Choices:
gastroesophageal reflux disease
prostate cancer
attention deficit hyperactivity disorder
peritonitis
amyotrophic lateral sclerosis
bubonic plague
epilepsy
Crohn's disease
pedophilia
myocardial infarction
Answer: myocardial infarction
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "disease" . ?e_1 <significant_event> ?e . ?e_1 <pred:name> "Richard Pryor" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <significant_event> ; <pred:fact_t> ?e ] <point_in_time> ?qpv . ?qpv <pred:date> "1990-01-01"^^xsd:date . ?e <DiseasesDB> ?pv . ?pv <pred:value> "8664" .  }
Program:
function: Find
inputs: Richard Pryor
function: Relate
dependencies: 0
inputs: significant event
forward
function: QFilterDate
dependencies: 1
inputs: point in time
1990-01-01
=
function: FilterConcept
dependencies: 2
inputs: disease
function: FindAll
function: FilterStr
dependencies: 4
inputs: DiseasesDB
8664
function: FilterConcept
dependencies: 5
inputs: disease
function: And
dependencies: 3
6
function: What
dependencies: 7