Question: How many municipalities of the Netherlands are there whose number of households is not 87000 and capital is Rotterdam (that has the establishment site Sparta Rotterdam)?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of households
87000
!=
function: FilterConcept
dependencies: 1
inputs: municipality of the Netherlands
function: Find
inputs: Sparta Rotterdam
function: Relate
dependencies: 3
inputs: location of formation
forward
function: Find
inputs: Rotterdam
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: capital
backward
function: FilterConcept
dependencies: 7
inputs: municipality of the Netherlands
function: And
dependencies: 2
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "municipality of the Netherlands" . ?e <number_of_households> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "87000"^^xsd:double ) . ?e <capital> ?e_1 . ?e_1 <pred:name> "Rotterdam" . ?e_2 <location_of_formation> ?e_1 . ?e_2 <pred:name> "Sparta Rotterdam" .  }
Answer: 1