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