What does this have to do with John 1:1? Well, in English, the final phrase would be literally rendered, “God was the Word.” But in English, we put the subject first, and the predicate nominative later. The Greeks used the article to communicate to us which word is the subject, and which is the predicate. If one of the two nouns has the article, it is the subject. In this case, “Word” has the article, even though it comes after “God,” and hence is our subject. That is why the last phrase is translated “the Word was God” rather than “God was the Word.”