Question: How many metropolitan boroughs are there whose NUTS code is UKG38 or FIPS 10-4 for countries and regions is UKN1?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "metropolitan borough" .  { ?e <NUTS_code> ?pv . ?pv <pred:value> "UKG38" .  } UNION { ?e <FIPS_10-4_(countries_and_regions)> ?pv . ?pv <pred:value> "UKN1" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: NUTS code
UKG38
function: FilterConcept
dependencies: 1
inputs: metropolitan borough
function: FindAll
function: FilterStr
dependencies: 3
inputs: FIPS 10-4 (countries and regions)
UKN1
function: FilterConcept
dependencies: 4
inputs: metropolitan borough
function: Or
dependencies: 2
5
function: Count
dependencies: 6