Question: How many non-metro counties are designated by GSS code (2011) E10000009 or ISO 3166-2 code GB-NYK?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "non-metropolitan county" .  { ?e <GSS_code_(2011)> ?pv . ?pv <pred:value> "E10000009" .  } UNION { ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> "GB-NYK" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: GSS code (2011)
E10000009
function: FilterConcept
dependencies: 1
inputs: non-metropolitan county
function: FindAll
function: FilterStr
dependencies: 3
inputs: ISO 3166-2 code
GB-NYK
function: FilterConcept
dependencies: 4
inputs: non-metropolitan county
function: Or
dependencies: 2
5
function: Count
dependencies: 6