Question: Which area has higher elevation above sea level, Hildesheim (the one whose local dialing code is 05121) or Hamburg?
Choices: Wuppertal
Lyon
Dnipro
Halle (Saale)
Hamburg
Utrecht
Bordeaux
Stuttgart
Hildesheim
Aachen
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hildesheim" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "05121" . } UNION { ?e <pred:name> "Hamburg" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Hildesheim
function: FilterStr
dependencies: 0
inputs: local dialing code
05121
function: Find
inputs: Hamburg
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
greater
Answer: Hildesheim