Question: Which area has higher elevation above sea level, Utica or Buffalo?
Choices:
Long Beach
Buffalo
Utica
Glens Falls
Yonkers
Glen Cove
White Plains
Elmira
Troy
Auburn
Program:
function: Find
inputs: Utica
function: Find
inputs: Buffalo
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Utica" .  } UNION { ?e <pred:name> "Buffalo" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Buffalo