Question: When did Newton at zip code 07860 have a population totaling 7997?
Choices: 1948-08-01
2006-10-18
1838
2010
1930-11-01
300
1991
2015-05-06
1754
1997-03-24
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:name> "Newton" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "07860" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "7997"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: Newton
function: FilterStr
dependencies: 0
inputs: postal code
07860
function: QueryAttrQualifier
dependencies: 1
inputs: population
7997
point in time
Answer: 2010