Question: How many mountains range have the terrain feature of Nepal or less than 62.2 kilometer length?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Nepal
function: Relate
dependencies: 0
inputs: located on terrain feature
forward
function: FilterConcept
dependencies: 1
inputs: mountain range
function: FindAll
function: FilterNum
dependencies: 3
inputs: length
62.2 kilometre
<
function: FilterConcept
dependencies: 4
inputs: mountain range
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "mountain range" .  { ?e_1 <located_on_terrain_feature> ?e . ?e_1 <pred:name> "Nepal" .  } UNION { ?e <length> ?pv . ?pv <pred:unit> "kilometre" . ?pv <pred:value> ?v . FILTER ( ?v < "62.2"^^xsd:double ) .  } }
Answer: 1