Question: When did New Mexico whose ISO 3166-2 code is US-NM have a population of 423317?
Choices:
1990-01-01
2001-09-19
1978-12-01
1980-12-31
1934
2008-06-04
1960-01-01
1930
2005-10-01
1520
Answer: 1930
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:name> "New Mexico" . ?e <ISO_3166-2_code> ?pv_1 . ?pv_1 <pred:value> "US-NM" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "423317"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: New Mexico
function: FilterStr
dependencies: 0
inputs: ISO 3166-2 code
US-NM
function: QueryAttrQualifier
dependencies: 1
inputs: population
423317
point in time