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