Question: When did the administrative territorial entity that has the captital Middletown have a popualtion of 165562?
Choices: 2004-01-14
2013-07-01
1501-12-01
2017-04-20
2016-01-15
2013-05-01
1893
1917-09-13
2012-10-30
2013-08-08
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity" . ?e <capital> ?e_1 . ?e_1 <pred:name> "Middletown" .  ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "165562"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: Middletown
function: Relate
dependencies: 0
inputs: capital
backward
function: FilterConcept
dependencies: 1
inputs: administrative territorial entity
function: QueryAttrQualifier
dependencies: 2
inputs: population
165562
point in time
Answer: 2013-07-01