Question: When did Walt Disney, who died in the manner of natural causes, stop living in Kansas City (the headquarters location of the Kansas City Chiefs)?
Choices:
1992-02-26
1933-03-04
1944-07-01
1928-08-12
2017
2011-03-20
1923-10-29
1923
1983
1920-04-25
Answer: 1923
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Walt Disney" . ?e_1 <manner_of_death> ?e_3 . ?e_3 <pred:name> "natural causes" . ?e_2 <pred:name> "Kansas City" . ?e_4 <headquarters_location> ?e_2 . ?e_4 <pred:name> "Kansas City Chiefs" . ?e_1 <residence> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <residence> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Program:
function: Find
inputs: natural causes
function: Relate
dependencies: 0
inputs: manner of death
backward
function: Find
inputs: Walt Disney
function: And
dependencies: 1
2
function: Find
inputs: Kansas City Chiefs
function: Relate
dependencies: 4
inputs: headquarters location
forward
function: Find
inputs: Kansas City
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: residence
end time