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