Sentence 1: Dedham was named Maine after Dedham , Massachusetts .
Sentence 2: Dedham , Massachusetts , was named after Dedham , Maine .
Question: Do Sentence 1 and Sentence 2 express the same meaning? Yes or No?