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