Question: Regarding a historical county established on 1st Jan 1356 (the class of this statement is statement with Gregorian date earlier than 1584), when did it reach the population of 1,100,000 ?
Choices:
1977-01-01
1846
1800
1920-08-31
1823
1377
2001-08-22
1965
2006-05-18
2012-09-05
Answer: 1800
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "historical country" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> "1356-01-01"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <inception> ; <pred:fact_t> ?pv_1 ] <instance_of> ?qpv_1 . ?qpv_1 <pred:value> "statement with Gregorian date earlier than 1584" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "1100000"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: FindAll
function: FilterDate
dependencies: 0
inputs: inception
1356-01-01
=
function: QFilterStr
dependencies: 1
inputs: instance of
statement with Gregorian date earlier than 1584
function: FilterConcept
dependencies: 2
inputs: historical country
function: QueryAttrQualifier
dependencies: 3
inputs: population
1100000
point in time