Question: What number of New Jersey cities have local dialing code of 856 or a postal code of 07509?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: local dialing code
856
function: FilterConcept
dependencies: 1
inputs: city in New Jersey
function: FindAll
function: FilterStr
dependencies: 3
inputs: postal code
07509
function: FilterConcept
dependencies: 4
inputs: city in New Jersey
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city in New Jersey" .  { ?e <local_dialing_code> ?pv . ?pv <pred:value> "856" .  } UNION { ?e <postal_code> ?pv . ?pv <pred:value> "07509" .  } }
Answer: 2