Question: Which has lower elevation above sea level, Australian Capital Territory or South Australia?
Choices:
England
Chiapas
Minas Gerais
Lublin Voivodeship
Punjab
Upper Austria
Podlaskie Voivodeship
South Australia
New South Wales
Australian Capital Territory
Program:
function: Find
inputs: Australian Capital Territory
function: Find
inputs: South Australia
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Australian Capital Territory" .  } UNION { ?e <pred:name> "South Australia" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: South Australia