Question: Is the elevation higher for Schleswig-Holstein or Mecklenburg-Vorpommern?
Choices:
Rhineland-Palatinate
Saxony
Mecklenburg-Vorpommern
Brandenburg
Lower Saxony
Bremen
Schleswig-Holstein
Thuringia
Bavaria
North Rhine-Westphalia
Program:
function: Find
inputs: Schleswig-Holstein
function: Find
inputs: Mecklenburg-Vorpommern
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Schleswig-Holstein" .  } UNION { ?e <pred:name> "Mecklenburg-Vorpommern" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Schleswig-Holstein