Question: When did the county of Massachusetts that shares border with Bristol County (the one whose area is 116 square kilometre) have 549129 people?
Choices:
2010-09-15
1861-12-01
1937
2014-08-14
1879-01-01
2010-07-01
2013-05-09
1998-02-18
1974-03-01
2014-09-18
Answer: 2010-07-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Massachusetts" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Bristol County" . ?e_1 <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "116"^^xsd:double . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "549129"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: Bristol County
function: FilterNum
dependencies: 0
inputs: area
116 square kilometre
=
function: Relate
dependencies: 1
inputs: shares border with
forward
function: FilterConcept
dependencies: 2
inputs: county of Massachusetts
function: QueryAttrQualifier
dependencies: 3
inputs: population
549129
point in time