Question: Which has lower elevation above sea level, Delft or Maastricht?
Choices:
Dordrecht
Delft
Maastricht
Nijmegen
Amsterdam
Leiden
Arnhem
Alkmaar
Hilversum
Groningen
Program:
function: Find
inputs: Delft
function: Find
inputs: Maastricht
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Delft" .  } UNION { ?e <pred:name> "Maastricht" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Delft