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