Question: How many rivers are there that have a watershed area less than 23000 square kilometers and whose length is not 1800 miles?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "river" . ?e <watershed_area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> ?v . FILTER ( ?v < "23000"^^xsd:double ) . ?e <length> ?pv_1 . ?pv_1 <pred:unit> "mile" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != "1800"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: watershed area
23000 square kilometre
<
function: FilterConcept
dependencies: 1
inputs: river
function: FindAll
function: FilterNum
dependencies: 3
inputs: length
1800 mile
!=
function: FilterConcept
dependencies: 4
inputs: river
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 0