Question: Howq many towns in the US are situated less than 480 meters above sea level ?
Choices: 15
16
17
18
19
20
21
22
23
24
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 < "480"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: elevation above sea level
480 metre
<
function: FilterConcept
dependencies: 1
inputs: town of the United States
function: Count
dependencies: 2
Answer: 23