Question: How many mountain ranges are in the country Andorra or occupy under 690,000,000 square meters?
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> "mountain range" .  { ?e <country> ?e_1 . ?e_1 <pred:name> "Andorra" .  } UNION { ?e <area> ?pv . ?pv <pred:unit> "square metre" . ?pv <pred:value> ?v . FILTER ( ?v < "690000000"^^xsd:double ) .  } }
Program:
function: Find
inputs: Andorra
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: mountain range
function: FindAll
function: FilterNum
dependencies: 3
inputs: area
690000000 square metre
<
function: FilterConcept
dependencies: 4
inputs: mountain range
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1