Question: When were there more than 10152632 people living in the capital of Taiwan (the end time of this statement is 1949)?
Choices:
1994-01-01
2015-09-01
2014
1909
1810-01-01
1993
2003-10-19
1963-12-01
2010-02-11
2011-08-24
Answer: 2014
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <capital> ?e . ?e_1 <pred:name> "Taiwan" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <capital> ; <pred:fact_t> ?e ] <end_time> ?qpv_1 . ?qpv_1 <pred:year> 1949 . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "10152632"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: Taiwan
function: Relate
dependencies: 0
inputs: capital
forward
function: QFilterYear
dependencies: 1
inputs: end time
1949
=
function: FilterConcept
dependencies: 2
inputs: city
function: QueryAttrQualifier
dependencies: 3
inputs: population
10152632
point in time