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