Question: How many census-designated locations have an elevation lower than 3900 meters?
Choices:
6
7
8
9
10
11
12
13
14
15
Answer: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "census-designated place" . ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> "metre" . ?pv <pred:value> ?v . FILTER ( ?v < "3900"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: elevation above sea level
3900 metre
<
function: FilterConcept
dependencies: 1
inputs: census-designated place
function: Count
dependencies: 2