Question: When did the Oregon county that has the capital Salem (the one whose postal code is 97301–97312) have a population of 315335?
Choices:
1815-12-01
900
1849
2011-06-01
1828
2016-06-02
1964-12-01
2009-10-14
2003-08-27
2010-04-01
Answer: 2010-04-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Oregon" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Salem" . ?e_1 <postal_code> ?pv_1 . ?pv_1 <pred:value> "97301–97312" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "315335"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: Salem
function: FilterStr
dependencies: 0
inputs: postal code
97301–97312
function: Relate
dependencies: 1
inputs: capital of
forward
function: FilterConcept
dependencies: 2
inputs: county of Oregon
function: QueryAttrQualifier
dependencies: 3
inputs: population
315335
point in time