Question: When did the non-metropolitan district that is an administrative division of Somerset whose NUTS code is UKK23 have a population of 165000?
Choices:
1765-01-01
2016-09-15
2000-08-01
2008-11-04
2015-07-01
2001-07-18
2018-06-01
1900-12-31
2017-06-30
2003-07-01
Answer: 2015-07-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "non-metropolitan district" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Somerset" . ?e_1 <NUTS_code> ?pv_1 . ?pv_1 <pred:value> "UKK23" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "165000"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: Somerset
function: FilterStr
dependencies: 0
inputs: NUTS code
UKK23
function: Relate
dependencies: 1
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 2
inputs: non-metropolitan district
function: QueryAttrQualifier
dependencies: 3
inputs: population
165000
point in time