Question: Does Honolulu, at 6 meters above sea level, or Nice have the higher elevation?
Choices:
Stuttgart
Halle (Saale)
Dnipro
Aachen
Honolulu
Nice
Fort Smith
Utrecht
Wuppertal
Bordeaux
Program:
function: Find
inputs: Honolulu
function: FilterNum
dependencies: 0
inputs: elevation above sea level
6 metre
=
function: Find
inputs: Nice
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Honolulu" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "6"^^xsd:double . } UNION { ?e <pred:name> "Nice" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Nice