Question: How many cities of New York are located in Erie County with the population of 918,922 and their postal codes are  12301–12309 ?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Erie County
function: FilterNum
dependencies: 0
inputs: population
918922
=
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 2
inputs: city of New York
function: FindAll
function: FilterStr
dependencies: 4
inputs: postal code
12301–12309
function: FilterConcept
dependencies: 5
inputs: city of New York
function: And
dependencies: 3
6
function: Count
dependencies: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of New York" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Erie County" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "918922"^^xsd:double .  ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "12301–12309" .  }
Answer: 0