Question: What is the ending date that Douglas Adams is living in Santa Barbara, which is an administrative division of Santa Barbara County?
Choices:
2015-02-02
1804-06-30
1839-03-04
1993-09-08
2011-07-01
2001-05-11
1888
2016-01-16
1888-01-01
1739-09-17
Answer: 2001-05-11
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Douglas Adams" . ?e_2 <pred:name> "Santa Barbara" . ?e_3 <contains_administrative_territorial_entity> ?e_2 . ?e_3 <pred:name> "Santa Barbara County" . ?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: Santa Barbara County
function: Relate
dependencies: 1
inputs: contains administrative territorial entity
forward
function: Find
inputs: Santa Barbara
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: residence
end time