Question: How many countries contain an administrative division-city, with the population of 1,606,000 in 2009?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "country" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "1606000"^^xsd:double . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 2009 .   }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
1606000
=
function: QFilterYear
dependencies: 1
inputs: point in time
2009
=
function: FilterConcept
dependencies: 2
inputs: city
function: Relate
dependencies: 3
inputs: contains administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: country
function: Count
dependencies: 5