Question: Is Darmstadt or Tours lower in elevation?
Choices:
Tours
Darmstadt
Aachen
Halle (Saale)
Fort Smith
Stuttgart
Dnipro
Bordeaux
Lyon
Wuppertal
Program:
function: Find
inputs: Darmstadt
function: Find
inputs: Tours
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Darmstadt" .  } UNION { ?e <pred:name> "Tours" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Tours