Question: How many Italy comunes have postal code 46100 or have a population less than 530000000?
Choices:
2
3
4
5
6
7
8
9
10
11
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
46100
function: FilterConcept
dependencies: 1
inputs: comune of Italy
function: FindAll
function: FilterNum
dependencies: 3
inputs: population
530000000
<
function: FilterConcept
dependencies: 4
inputs: comune 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> "comune of Italy" .  { ?e <postal_code> ?pv . ?pv <pred:value> "46100" .  } UNION { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "530000000"^^xsd:double ) .  } }
Answer: 5