Question: What number of Pennsylvania cities are less than 1300 metres above sea level?
Choices: 17
18
19
20
21
22
23
24
25
26
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of Pennsylvania" . ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> "metre" . ?pv <pred:value> ?v . FILTER ( ?v < "1300"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: elevation above sea level
1300 metre
<
function: FilterConcept
dependencies: 1
inputs: city of Pennsylvania
function: Count
dependencies: 2
Answer: 17