Question: When did Douglas Adams stop living in Santa Barbara (the one that is the residence of Douglas Adams)?
Choices: 1945-05-04
1856
1928-08-12
1665
1902
2001-05-11
1997-05-01
1871-01-25
1804
1924
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Douglas Adams" . ?e_2 <pred:name> "Santa Barbara" . ?e_3 <residence> ?e_2 . ?e_3 <pred:name> "Douglas Adams" . ?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: Douglas Adams
function: Find
inputs: Douglas Adams
function: Relate
dependencies: 1
inputs: residence
forward
function: Find
inputs: Santa Barbara
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: residence
end time
Answer: 2001-05-11