Question: How many former French regions were replaced by Normandy whose population is 3339131 or whose SIREN number is 232100016?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "former French region" .  { ?e_1 <replaces> ?e . ?e_1 <pred:name> "Normandy" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "3339131"^^xsd:double .  } UNION { ?e <SIREN_number> ?pv . ?pv <pred:value> "232100016" .  } }
Program:
function: Find
inputs: Normandy
function: FilterNum
dependencies: 0
inputs: population
3339131
=
function: Relate
dependencies: 1
inputs: replaces
forward
function: FilterConcept
dependencies: 2
inputs: former French region
function: FindAll
function: FilterStr
dependencies: 4
inputs: SIREN number
232100016
function: FilterConcept
dependencies: 5
inputs: former French region
function: Or
dependencies: 3
6
function: Count
dependencies: 7
Answer: 3