Question: Which FIPS 5-2 numeric code (US states) corresponds to the US state with a population of 2289905, according to census?
Choices:
21
56
60
05
37
26
13
36
30
23
Answer: 21
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of the United States" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "2289905"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv_1 ] <determination_method> ?qpv . ?qpv <pred:value> "census" . ?e <FIPS_5-2_numeric_code_(US_states)> ?pv .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
2289905
=
function: QFilterStr
dependencies: 1
inputs: determination method
census
function: FilterConcept
dependencies: 2
inputs: state of the United States
function: QueryAttr
dependencies: 3
inputs: FIPS 5-2 numeric code (US states)