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