Question: Which one of mountain ranges, whose width is below 510 kilometres, have the smallest elevation above sea level?
Choices: Pyrenees
Sierra Nevada
Pennine Alps
Cascade Range
Alps
Himalayas
Adirondack Mountains
Blue Ridge Mountains
John Hughes
Appalachian Mountains
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 < "510"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: width
510 kilometre
<
function: FilterConcept
dependencies: 1
inputs: mountain range
function: SelectAmong
dependencies: 2
inputs: elevation above sea level
smallest
Answer: Appalachian Mountains