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