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