Question: How many landforms either have a population below 68000000 or have have a population above 9300?
Choices: 23
24
25
26
27
28
29
30
31
32
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "landform" .  { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "68000000"^^xsd:double ) .  } UNION { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "9300"^^xsd:double ) .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
68000000
<
function: FilterConcept
dependencies: 1
inputs: landform
function: FindAll
function: FilterNum
dependencies: 3
inputs: population
9300
>
function: FilterConcept
dependencies: 4
inputs: landform
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 28