Question: How many Netherlands municipalities are located in or next to Hudson River or whose above sea level elevation is not 430 metres?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Hudson River
function: Relate
dependencies: 0
inputs: located in or next to body of water
backward
function: FilterConcept
dependencies: 1
inputs: municipality of the Netherlands
function: FindAll
function: FilterNum
dependencies: 3
inputs: elevation above sea level
430 metre
!=
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_or_next_to_body_of_water> ?e_1 . ?e_1 <pred:name> "Hudson River" .  } UNION { ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> "metre" . ?pv <pred:value> ?v . FILTER ( ?v != "430"^^xsd:double ) .  } }
Answer: 8