Question: Which is located at a higher elevation above sea level, Dortmund or Grenoble?
Choices:
Dnipro
Fort Smith
Utrecht
Grenoble
Stuttgart
Halle (Saale)
Aachen
Lyon
Wuppertal
Bordeaux
Program:
function: Find
inputs: Dortmund
function: Find
inputs: Grenoble
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dortmund" .  } UNION { ?e <pred:name> "Grenoble" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Grenoble