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