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