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