Question: Which one has a larger elevation (over sea level), Sabah or Upper Austria?
Choices:
Podlaskie Voivodeship
Tasmania
Greater Poland Voivodeship
Chiapas
New South Wales
England
Upper Austria
Punjab
Minas Gerais
Sabah
Program:
function: Find
inputs: Sabah
function: Find
inputs: Upper Austria
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sabah" .  } UNION { ?e <pred:name> "Upper Austria" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Sabah