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