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