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