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