Question: Which area has lower elevation above sea level, Helsingborg or Regensburg?
Choices:
Halle (Saale)
Lyon
Wuppertal
Stuttgart
Regensburg
Aachen
Bordeaux
Helsingborg
Dnipro
Utrecht
Program:
function: Find
inputs: Helsingborg
function: Find
inputs: Regensburg
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Helsingborg" .  } UNION { ?e <pred:name> "Regensburg" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Helsingborg