Question: How many New York cities have the local area code 914 and share a border with Mount Vernon whose postal code is 10550?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: local dialing code
914
function: FilterConcept
dependencies: 1
inputs: city of New York
function: Find
inputs: Mount Vernon
function: FilterStr
dependencies: 3
inputs: postal code
10550
function: Relate
dependencies: 4
inputs: shares border with
backward
function: FilterConcept
dependencies: 5
inputs: city of New York
function: And
dependencies: 2
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 <local_dialing_code> ?pv . ?pv <pred:value> "914" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Mount Vernon" . ?e_1 <postal_code> ?pv_1 . ?pv_1 <pred:value> "10550" .  }
Answer: 1