Question: Which has the highest elevation above sea level among the mountain ranges whose width is less than 550 kilometres?
Choices:
Adirondack Mountains
Blue Ridge Mountains
Appalachian Mountains
Alps
Pennine Alps
Cascade Range
Pyrenees
Sierra Nevada
Himalayas
lacrosse
Answer: Himalayas
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "mountain range" . ?e <width> ?pv_1 . ?pv_1 <pred:unit> "kilometre" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < "550"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: width
550 kilometre
<
function: FilterConcept
dependencies: 1
inputs: mountain range
function: SelectAmong
dependencies: 2
inputs: elevation above sea level
largest