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