Question: How many towns have a postal code of HP11 or an official name of "Blackpool"?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
HP11
function: FilterConcept
dependencies: 1
inputs: town
function: FindAll
function: FilterStr
dependencies: 3
inputs: official name
Blackpool
function: FilterConcept
dependencies: 4
inputs: 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> "town" .  { ?e <postal_code> ?pv . ?pv <pred:value> "HP11" .  } UNION { ?e <official_name> ?pv . ?pv <pred:value> "Blackpool" .  } }
Answer: 2