Question: How many rivers more than 890 meters above sea level have a discharge rate below 3200 cubic meters a second?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "river" . ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> "metre" . ?pv <pred:value> ?v . FILTER ( ?v > "890"^^xsd:double ) . ?e <discharge> ?pv_1 . ?pv_1 <pred:unit> "cubic metre per second" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < "3200"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: elevation above sea level
890 metre
>
function: FilterConcept
dependencies: 1
inputs: river
function: FindAll
function: FilterNum
dependencies: 3
inputs: discharge
3200 cubic metre per second
<
function: FilterConcept
dependencies: 4
inputs: river
function: And
dependencies: 2
5
function: Count
dependencies: 6