Question: How many port cities without 7800 inhabitants are designated by INSEE countries and foreign territories code 99133?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "port city" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "7800"^^xsd:double ) . ?e <INSEE_countries_and_foreign_territories_code> ?pv_1 . ?pv_1 <pred:value> "99133" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
7800
!=
function: FilterConcept
dependencies: 1
inputs: port city
function: FindAll
function: FilterStr
dependencies: 3
inputs: INSEE countries and foreign territories code
99133
function: FilterConcept
dependencies: 4
inputs: port city
function: And
dependencies: 2
5
function: Count
dependencies: 6