Question: What is the number of market towns with the local dialing code 01267 or the postal code SG5?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: local dialing code
01267
function: FilterConcept
dependencies: 1
inputs: market town
function: FindAll
function: FilterStr
dependencies: 3
inputs: postal code
SG5
function: FilterConcept
dependencies: 4
inputs: market town
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> "market town" .  { ?e <local_dialing_code> ?pv . ?pv <pred:value> "01267" .  } UNION { ?e <postal_code> ?pv . ?pv <pred:value> "SG5" .  } }
Answer: 2