Question: Which one lies higher above sea level, Regensburg or Uppsala ?
Choices:
Bordeaux
Wuppertal
Aachen
Uppsala
Stuttgart
Fort Smith
Regensburg
Dnipro
Lyon
Utrecht
Program:
function: Find
inputs: Uppsala
function: Find
inputs: Regensburg
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Uppsala" .  } UNION { ?e <pred:name> "Regensburg" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Regensburg