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