Question: When did the geographic region that is located in Scotland (the one whose TOID is country/scotland) have a population of 21349?
Choices:
2003-09-24
2014-07-01
1999-05-05
1880
1978-12-01
2011
1813-12-01
1960-12-31
1975-04-08
1994-04-19
Answer: 2011
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "geographic region" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Scotland" . ?e_1 <TOID> ?pv_1 . ?pv_1 <pred:value> "country/scotland" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "21349"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: Scotland
function: FilterStr
dependencies: 0
inputs: TOID
country/scotland
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 2
inputs: geographic region
function: QueryAttrQualifier
dependencies: 3
inputs: population
21349
point in time