Conversation so far:
what song has the words from sea to shining sea
America the Beautiful's lyrics include:... from sea to shining sea.“
What seas are referred to in America the Beautiful?
From sea to shining sea is an American idiom meaning from the Atlantic Ocean to the Pacific Ocean.
When was the song America the Beautiful composed?
Samuel A. Ward composed the melody to America the Beautiful in 1883.

Question: Who wrote lyrics then?
Self-contained rewrite: Who wrote the lyrics to America the Beautiful?