Question: When did the Maine County named after Somerset (the one that contains the administrative division South Somerset) have a population of 52228?
Choices: 1790
1688
1997-03-24
2010-04-01
2009-09-01
2017-11-12
2008-12-31
1738-01-01
2010-02-03
2015-01-31
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Maine" . ?e <named_after> ?e_1 . ?e_1 <pred:name> "Somerset" . ?e_1 <contains_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> "South Somerset" .  ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "52228"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: South Somerset
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
backward
function: Find
inputs: Somerset
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: named after
backward
function: FilterConcept
dependencies: 4
inputs: county of Maine
function: QueryAttrQualifier
dependencies: 5
inputs: population
52228
point in time
Answer: 2010-04-01