Question: How many U.S. cities whose elevation above sea level is less than 1500 feet?
Choices: 56
57
58
59
60
61
62
63
64
65
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> "foot" . ?pv <pred:value> ?v . FILTER ( ?v < "1500"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: elevation above sea level
1500 foot
<
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: Count
dependencies: 2
Answer: 58