Question: Among Turku and Tbilisi which one has the least elevation above sea level?
Choices:
Turku
Santo Domingo
Kingston
Dundee
Trieste
Tbilisi
Bergen
Kilkenny
Chihuahua
Abidjan
Program:
function: Find
inputs: Turku
function: Find
inputs: Tbilisi
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Turku" .  } UNION { ?e <pred:name> "Tbilisi" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Turku