Question: When did Surrey (the one whose FIPS 10-4 (countries and regions) is UKN7) ceased to be incorporated into England (the residence of Lewis Carroll) ?
Choices:
2016-06-03
1911
1961
1950-01-01
2013-09-04
1992
1994
1957-01-01
1917-03-01
2016-06-02
Answer: 1994
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Surrey" . ?e_1 <FIPS_10-4_(countries_and_regions)> ?pv . ?pv <pred:value> "UKN7" . ?e_2 <pred:name> "England" . ?e_3 <residence> ?e_2 . ?e_3 <pred:name> "Lewis Carroll" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <located_in_the_administrative_territorial_entity> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Program:
function: Find
inputs: Surrey
function: FilterStr
dependencies: 0
inputs: FIPS 10-4 (countries and regions)
UKN7
function: Find
inputs: Lewis Carroll
function: Relate
dependencies: 2
inputs: residence
forward
function: Find
inputs: England
function: And
dependencies: 3
4
function: QueryRelationQualifier
dependencies: 1
5
inputs: located in the administrative territorial entity
end time