Question: How many municipalities of the Netherlands are located in Gelderland or have a number of households not equal to 460000?
Choices:
10
11
12
13
14
15
16
17
18
19
Program:
function: Find
inputs: Gelderland
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 1
inputs: municipality of the Netherlands
function: FindAll
function: FilterNum
dependencies: 3
inputs: number of households
460000
!=
function: FilterConcept
dependencies: 4
inputs: municipality of the Netherlands
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> "municipality of the Netherlands" .  { ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Gelderland" .  } UNION { ?e <number_of_households> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "460000"^^xsd:double ) .  } }
Answer: 11