Question: Which is longer between Blue Ridge Mountains and Alps?
Choices:
Adirondack Mountains
Pyrenees
Cascade Range
Minnie Driver
Appalachian Mountains
Pennine Alps
Blue Ridge Mountains
Alps
Himalayas
Sierra Nevada
Program:
function: Find
inputs: Blue Ridge Mountains
function: Find
inputs: Alps
function: SelectBetween
dependencies: 0
1
inputs: length
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Blue Ridge Mountains" .  } UNION { ?e <pred:name> "Alps" .  } ?e <length> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Alps