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