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