Question: How many cities in New York have a postal code 12301–12309 and are named for Liverpool (the one whose population is 513441)?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of New York" . ?e <postal_code> ?pv . ?pv <pred:value> "12301–12309" . ?e <named_after> ?e_1 . ?e_1 <pred:name> "Liverpool" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "513441"^^xsd:double .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
12301–12309
function: FilterConcept
dependencies: 1
inputs: city of New York
function: Find
inputs: Liverpool
function: FilterNum
dependencies: 3
inputs: population
513441
=
function: Relate
dependencies: 4
inputs: named after
backward
function: FilterConcept
dependencies: 5
inputs: city of New York
function: And
dependencies: 2
6
function: Count
dependencies: 7
Answer: 0