Question: Which area has higher elevation above sea level, Greenwood or Minot?
Choices:
Oakland
Compton
Columbus
Greenwood
New Haven
Franklin
Waukegan
Boulder
Lansing
Minot
Program:
function: Find
inputs: Greenwood
function: Find
inputs: Minot
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Greenwood" .  } UNION { ?e <pred:name> "Minot" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Minot