what 6 states border south dakota?
(AND (JOIN common.topic.notable_types m.0kpys4) (JOIN (R location.adjoining_relationship.adjoins) (JOIN (R location.location.adjoin_s) m.06mz5)))