Question: How many regions of Italy have a population different from 2500 or have NUTS code ITI2?
Choices:
17
18
19
20
21
22
23
24
25
26
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
2500
!=
function: FilterConcept
dependencies: 1
inputs: region of Italy
function: FindAll
function: FilterStr
dependencies: 3
inputs: NUTS code
ITI2
function: FilterConcept
dependencies: 4
inputs: region of Italy
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> "region of Italy" .  { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "2500"^^xsd:double ) .  } UNION { ?e <NUTS_code> ?pv . ?pv <pred:value> "ITI2" .  } }
Answer: 17