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