Question: Which area has lower elevation above sea level, Pennine Alps or Himalayas?
Choices:
Blue Ridge Mountains
Himalayas
Sierra Nevada
Appalachian Mountains
Alps
Pyrenees
Adirondack Mountains
Pennine Alps
The Damned
Cascade Range
Program:
function: Find
inputs: Pennine Alps
function: Find
inputs: Himalayas
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pennine Alps" .  } UNION { ?e <pred:name> "Himalayas" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Pennine Alps