Question: Which FIPS 6-4 (US counties) code corresponds with the Oregon county with a population of 7785 in 2012?
Choices:
32007
36025
06041
49037
41037
42019
23011
26081
41051
51770
Answer: 41037
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Oregon" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "7785"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 2012 . ?e <FIPS_6-4_(US_counties)> ?pv .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
7785
=
function: QFilterYear
dependencies: 1
inputs: point in time
2012
=
function: FilterConcept
dependencies: 2
inputs: county of Oregon
function: QueryAttr
dependencies: 3
inputs: FIPS 6-4 (US counties)