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