Question: How many United States cites are elevated more than 580 meters above sea level?
Choices:
35
36
37
38
39
40
41
42
43
44
Answer: 40
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> "metre" . ?pv <pred:value> ?v . FILTER ( ?v > "580"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: elevation above sea level
580 metre
>
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: Count
dependencies: 2