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