Question: How many municipalities of the Netherlands have an elevation above sea level that is not 3700 meters or share a border with Delft?
Choices: 4
5
6
7
8
9
10
11
12
13
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "municipality of the Netherlands" .  { ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> "metre" . ?pv <pred:value> ?v . FILTER ( ?v != "3700"^^xsd:double ) .  } UNION { ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Delft" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: elevation above sea level
3700 metre
!=
function: FilterConcept
dependencies: 1
inputs: municipality of the Netherlands
function: Find
inputs: Delft
function: Relate
dependencies: 3
inputs: shares border with
backward
function: FilterConcept
dependencies: 4
inputs: municipality of the Netherlands
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 9