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