Question: Does the Northern Territory or México have a higher elevation?
Choices:
Chiapas
New South Wales
England
Punjab
México
Lublin Voivodeship
Upper Austria
Northern Territory
Minas Gerais
Greater Poland Voivodeship
Program:
function: Find
inputs: Northern Territory
function: Find
inputs: México
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Northern Territory" .  } UNION { ?e <pred:name> "México" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: México