Question: How many census-designated places whose elevation above sea level is greater than 4000 meters or whose area is less than 4100 hectares?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: elevation above sea level
4000 metre
>
function: FilterConcept
dependencies: 1
inputs: census-designated place
function: FindAll
function: FilterNum
dependencies: 3
inputs: area
4100 hectare
<
function: FilterConcept
dependencies: 4
inputs: census-designated place
function: Or
dependencies: 2
5
function: Count
dependencies: 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 > "4000"^^xsd:double ) .  } UNION { ?e <area> ?pv . ?pv <pred:unit> "hectare" . ?pv <pred:value> ?v . FILTER ( ?v < "4100"^^xsd:double ) .  } }
Answer: 0