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