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