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