Question: What is the number of administrative territorial entities with headquarters in the United States city whose population is 22666 as of the year 2013?
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> "administrative territorial entity" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city of the United States" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "22666"^^xsd:double . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 2013 .   }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
22666
=
function: QFilterYear
dependencies: 1
inputs: point in time
2013
=
function: FilterConcept
dependencies: 2
inputs: city of the United States
function: Relate
dependencies: 3
inputs: headquarters location
backward
function: FilterConcept
dependencies: 4
inputs: administrative territorial entity
function: Count
dependencies: 5