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