Question: Which one, Markham or Galway,  has greater elevation (above sea level)?
Choices:
Kingston
Cork
Dundee
Chihuahua
Markham
Galway
Bergen
Santo Domingo
Trieste
Abidjan
Program:
function: Find
inputs: Markham
function: Find
inputs: Galway
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Markham" .  } UNION { ?e <pred:name> "Galway" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Markham