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