Question: When did the country whose perimeter is less than 4700 kilometre have a population of 40116?
Choices: 2014-06-26
1997-07-16
2008-03-12
2005-09-12
1974
1860-12-10
1871
1992
2016-07-01
1984-06-19
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "country" . ?e <perimeter> ?pv_1 . ?pv_1 <pred:unit> "kilometre" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < "4700"^^xsd:double ) . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "40116"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: perimeter
4700 kilometre
<
function: FilterConcept
dependencies: 1
inputs: country
function: QueryAttrQualifier
dependencies: 2
inputs: population
40116
point in time
Answer: 1974