Question: How many non-metropolitan counties have a TOID of 7000000000022028 or an ISO 3166-2 code of GB-DOR?
Choices:
2
3
4
5
6
7
8
9
10
11
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: TOID
7000000000022028
function: FilterConcept
dependencies: 1
inputs: non-metropolitan county
function: FindAll
function: FilterStr
dependencies: 3
inputs: ISO 3166-2 code
GB-DOR
function: FilterConcept
dependencies: 4
inputs: non-metropolitan county
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> "non-metropolitan county" .  { ?e <TOID> ?pv . ?pv <pred:value> "7000000000022028" .  } UNION { ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> "GB-DOR" .  } }
Answer: 2