Question: Is the elevation (above sea level) less for Santa Cruz or Salinas?
Choices:
Franklin
Compton
Waukegan
Oakland
Boulder
New Haven
Lansing
Greenville
Salinas
Santa Cruz
Program:
function: Find
inputs: Santa Cruz
function: Find
inputs: Salinas
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Santa Cruz" .  } UNION { ?e <pred:name> "Salinas" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Santa Cruz