Question: Which FIPS 6-4 (US counties) code corresponds to the Pennsylvania county with a population numbering 37,838 on 2013-07-01?
Choices:
08069
47051
42059
13089
04023
36105
34001
06041
01117
04001
Answer: 42059
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Pennsylvania" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "37838"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv_1 ] <point_in_time> ?qpv . ?qpv <pred:date> "2013-07-01"^^xsd:date . ?e <FIPS_6-4_(US_counties)> ?pv .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
37838
=
function: QFilterDate
dependencies: 1
inputs: point in time
2013-07-01
=
function: FilterConcept
dependencies: 2
inputs: county of Pennsylvania
function: QueryAttr
dependencies: 3
inputs: FIPS 6-4 (US counties)