Question: How many bodies of water are other than 340 meters deep or correspond to the detail map North Sea map-en.png?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "water area" .  { ?e <vertical_depth> ?pv . ?pv <pred:unit> "metre" . ?pv <pred:value> ?v . FILTER ( ?v != "340"^^xsd:double ) .  } UNION { ?e <detail_map> ?pv . ?pv <pred:value> "North Sea map-en.png" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: vertical depth
340 metre
!=
function: FilterConcept
dependencies: 1
inputs: water area
function: FindAll
function: FilterStr
dependencies: 3
inputs: detail map
North Sea map-en.png
function: FilterConcept
dependencies: 4
inputs: water area
function: Or
dependencies: 2
5
function: Count
dependencies: 6