Question: When did the city of Pennsylvania whose postal code is 19172, have a population of 674022
Choices:
1970-11-01
1450-01-01
2017-03-28
1996-12-18
1996-09-25
2011-03-31
1870
1569
2011-05-01
2004-06-01
Answer: 1870
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of Pennsylvania" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "19172" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "674022"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
19172
function: FilterConcept
dependencies: 1
inputs: city of Pennsylvania
function: QueryAttrQualifier
dependencies: 2
inputs: population
674022
point in time