Question: Of the two places above sea level, which has the smallest elevation: Ranch Mirage or Indepedence, with postal code 64050–64058?
Choices: Greenville
Waukegan
Independence
New Haven
Compton
Columbus
Boulder
Rancho Mirage
Lansing
Franklin
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rancho Mirage" . } UNION { ?e <pred:name> "Independence" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "64050–64058" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Rancho Mirage
function: Find
inputs: Independence
function: FilterStr
dependencies: 1
inputs: postal code
64050–64058
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
less
Answer: Rancho Mirage