Question: Which area is lower above sea level, Tirana or Wagga Wagga?
Choices:
Abidjan
Santo Domingo
Cork
Tirana
Dundee
Kilkenny
Bergen
Kingston
Wagga Wagga
Trieste
Program:
function: Find
inputs: Tirana
function: Find
inputs: Wagga Wagga
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tirana" .  } UNION { ?e <pred:name> "Wagga Wagga" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Tirana