Question: How many communes in Italy have an area not equal to 3900000 square miles?
Choices:
5
6
7
8
9
10
11
12
13
14
Program:
function: Find
inputs: Italy
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: comune of Italy
function: FindAll
function: FilterNum
dependencies: 3
inputs: area
3900000 square metre
!=
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 <country> ?e_1 . ?e_1 <pred:name> "Italy" .  } UNION { ?e <area> ?pv . ?pv <pred:unit> "square metre" . ?pv <pred:value> ?v . FILTER ( ?v != "3900000"^^xsd:double ) .  } }
Answer: 5