Question: Between Honolulu (native label Honolulu) or Boulogne-Billancourt, which is higher in elevation?
Choices:
Halle (Saale)
Bordeaux
Aachen
Lyon
Utrecht
Boulogne-Billancourt
Fort Smith
Honolulu
Stuttgart
Dnipro
Program:
function: Find
inputs: Honolulu
function: FilterStr
dependencies: 0
inputs: native label
Honolulu
function: Find
inputs: Boulogne-Billancourt
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Honolulu" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> "Honolulu" . } UNION { ?e <pred:name> "Boulogne-Billancourt" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Boulogne-Billancourt