Question: Which area has lower elevation above sea level, Santa Barbara (the one that is the death place of Jerry Weintraub) or Upland?
Choices:
Boulder
New Haven
Waukegan
Upland
Franklin
Oakland
Compton
Santa Barbara
Lansing
Greenville
Answer: Upland
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Santa Barbara" . ?e_1 <place_of_death> ?e . ?e_1 <pred:name> "Jerry Weintraub" .   } UNION { ?e <pred:name> "Upland" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Jerry Weintraub
function: Relate
dependencies: 0
inputs: place of death
forward
function: Find
inputs: Santa Barbara
function: And
dependencies: 1
2
function: Find
inputs: Upland
function: SelectBetween
dependencies: 3
4
inputs: elevation above sea level
greater