Question: How many metropolitan boroughs are there whose FIPS 10-4 for countries and regions is UKC1 or 2011 GSS code is E08000021?
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> "metropolitan borough" .  { ?e <FIPS_10-4_(countries_and_regions)> ?pv . ?pv <pred:value> "UKC1" .  } UNION { ?e <GSS_code_(2011)> ?pv . ?pv <pred:value> "E08000021" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: FIPS 10-4 (countries and regions)
UKC1
function: FilterConcept
dependencies: 1
inputs: metropolitan borough
function: FindAll
function: FilterStr
dependencies: 3
inputs: GSS code (2011)
E08000021
function: FilterConcept
dependencies: 4
inputs: metropolitan borough
function: Or
dependencies: 2
5
function: Count
dependencies: 6