Question: Does Monroe or Anchorage have the higher elevation above sea level?
Choices:
Monroe
New Haven
Compton
Anchorage
Waukegan
Boulder
Columbus
Greenville
Lansing
Oakland
Program:
function: Find
inputs: Monroe
function: Find
inputs: Anchorage
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Monroe" .  } UNION { ?e <pred:name> "Anchorage" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Anchorage