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