Question: Which has a greater elevation above sea level between Eastern Cape or Tyrol (the one whose native label is Tirol)?
Choices: Tyrol
Upper Austria
New South Wales
Minas Gerais
Lublin Voivodeship
England
Greater Poland Voivodeship
Chiapas
Punjab
Eastern Cape
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Eastern Cape" . } UNION { ?e <pred:name> "Tyrol" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> "Tirol" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Eastern Cape
function: Find
inputs: Tyrol
function: FilterStr
dependencies: 1
inputs: native label
Tirol
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
greater
Answer: Eastern Cape