Question: How many U.S. towns are positioned on an titude different than 650 metres above sea level ?
Choices:
19
20
21
22
23
24
25
26
27
28
Answer: 23
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town of the United States" . ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> "metre" . ?pv <pred:value> ?v . FILTER ( ?v != "650"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: elevation above sea level
650 metre
!=
function: FilterConcept
dependencies: 1
inputs: town of the United States
function: Count
dependencies: 2