Question: Does Inglewood or Auburn (with an administrative division of Placer County) have the greater elevation above sea level?
Choices:
Oakland
Lansing
Waukegan
Boulder
Compton
Inglewood
New Haven
Auburn
Greenville
Columbus
Answer: Auburn
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Inglewood" .  } UNION { ?e <pred:name> "Auburn" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Placer County" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Inglewood
function: Find
inputs: Placer County
function: Relate
dependencies: 1
inputs: contains administrative territorial entity
forward
function: Find
inputs: Auburn
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: elevation above sea level
greater