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