Question: For the Pennsylvania county that has the capital Pittsburgh (the one whose elevation (above sea level) is 373 metre), at what time point is its population 1231527?
Choices:
2012-12-19
1934-12-01
2013-07-01
1968-12-01
2009-12-16
2001-01-17
1960-02-15
2011-06-23
1993-01-01
2017-09-30
Answer: 2013-07-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Pennsylvania" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Pittsburgh" . ?e_1 <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "373"^^xsd:double . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "1231527"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: Pittsburgh
function: FilterNum
dependencies: 0
inputs: elevation above sea level
373 metre
=
function: Relate
dependencies: 1
inputs: capital of
forward
function: FilterConcept
dependencies: 2
inputs: county of Pennsylvania
function: QueryAttrQualifier
dependencies: 3
inputs: population
1231527
point in time