Question: Is the Pyrenees or the Cascade Range shorter?
Choices:
Cascade Range
Sierra Nevada
Pennine Alps
Alps
Himalayas
Appalachian Mountains
Blue Ridge Mountains
Pyrenees
Social Democratic Party of Germany
Adirondack Mountains
Program:
function: Find
inputs: Pyrenees
function: Find
inputs: Cascade Range
function: SelectBetween
dependencies: 0
1
inputs: length
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pyrenees" .  } UNION { ?e <pred:name> "Cascade Range" .  } ?e <length> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Pyrenees