Question: Which one, Denver or Meridian (the one whose local dialing code is 601), has greater elevation (above sea level)?
Choices: Meridian
Denver
Columbus
Lansing
Franklin
Greenville
Oakland
Boulder
New Haven
Waukegan
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Denver" . } UNION { ?e <pred:name> "Meridian" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "601" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Denver
function: Find
inputs: Meridian
function: FilterStr
dependencies: 1
inputs: local dialing code
601
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
greater
Answer: Denver