Question: How many land forms have a less than 710 square kilometre area?
Choices:
27
28
29
30
31
32
33
34
35
36
Answer: 33
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "landform" . ?e <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> ?v . FILTER ( ?v != "710"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: area
710 square kilometre
!=
function: FilterConcept
dependencies: 1
inputs: landform
function: Count
dependencies: 2