Question: The person who became Orson Welles' wife in 1943 died of which disease?
Choices:
peritonitis
attention deficit hyperactivity disorder
substance-related disorder
systemic lupus erythematosus
gastroesophageal reflux disease
myocardial infarction
Alzheimer's disease
epilepsy
prostate cancer
AIDS
Answer: Alzheimer's disease
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "disease" . ?e_1 <cause_of_death> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_2 <spouse> ?e_1 . ?e_2 <pred:name> "Orson Welles" . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:year> 1943 .   }
Program:
function: Find
inputs: Orson Welles
function: Relate
dependencies: 0
inputs: spouse
forward
function: QFilterYear
dependencies: 1
inputs: start time
1943
=
function: FilterConcept
dependencies: 2
inputs: human
function: Relate
dependencies: 3
inputs: cause of death
forward
function: FilterConcept
dependencies: 4
inputs: disease
function: What
dependencies: 5