Question: Does Calgary or Tbilisi have less elevation above sea level?
Choices:
Abidjan
Chihuahua
Tbilisi
Trieste
Dundee
Bergen
Kilkenny
Kingston
Cork
Calgary
Program:
function: Find
inputs: Calgary
function: Find
inputs: Tbilisi
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Calgary" .  } UNION { ?e <pred:name> "Tbilisi" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Tbilisi