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