Question: What is the number of county towns whose ISO 3166-2 code is GB-RDG or postal code is OX postcode area?
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> "county town" .  { ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> "GB-RDG" .  } UNION { ?e <postal_code> ?pv . ?pv <pred:value> "OX postcode area" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISO 3166-2 code
GB-RDG
function: FilterConcept
dependencies: 1
inputs: county town
function: FindAll
function: FilterStr
dependencies: 3
inputs: postal code
OX postcode area
function: FilterConcept
dependencies: 4
inputs: county town
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2