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