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