Question: When did a first-level administrative county subdivision, bordering Eastern Cape to the north-northeast, reach a population of 10,267,300 ?
Choices:
1937-01-01
2007-03-01
2017-01-20
1972-01-01
1881
1830-01-01
1952-05-28
1948
2011
2004-09-19
Answer: 2011
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "first-level administrative country subdivision" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Eastern Cape" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e ] <direction> ?qpv_1 . ?qpv_1 <pred:value> "north-northeast" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "10267300"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: Eastern Cape
function: Relate
dependencies: 0
inputs: shares border with
forward
function: QFilterStr
dependencies: 1
inputs: direction
north-northeast
function: FilterConcept
dependencies: 2
inputs: first-level administrative country subdivision
function: QueryAttrQualifier
dependencies: 3
inputs: population
10267300
point in time