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