Question: Which is lower (above sea level), Sault Ste. Marie or Palermo ?
Choices:
Santo Domingo
Chihuahua
Kilkenny
Bergen
Trieste
Abidjan
Dundee
Palermo
Kingston
Cork
Program:
function: Find
inputs: Sault Ste. Marie
function: Find
inputs: Palermo
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sault Ste. Marie" .  } UNION { ?e <pred:name> "Palermo" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Palermo