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