Question: How many former French regions have the NUTS code of FR22 or have an INSEE region code of 26?
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> "former French region" .  { ?e <NUTS_code> ?pv . ?pv <pred:value> "FR22" .  } UNION { ?e <INSEE_region_code> ?pv . ?pv <pred:value> "26" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: NUTS code
FR22
function: FilterConcept
dependencies: 1
inputs: former French region
function: FindAll
function: FilterStr
dependencies: 3
inputs: INSEE region code
26
function: FilterConcept
dependencies: 4
inputs: former French region
function: Or
dependencies: 2
5
function: Count
dependencies: 6