@igm,
You wrote "The only G are D = All D are G." That means you think the word "the" in front of the "only" has no effect, that . . .
The only G are D = Only G are D.
If that's correct, then the textbook I'm reading got it wrong. So who is right? Here's what my textbook says:
Question: “The only productive and innovative scientist is the one who enjoys freedom of thought and is not afraid to risk pursuing a new idea.”
Answer: “All P are T (P represents persons who are productive and innovative scientists; T represents persons who enjoy freedom of thought and are not afraid to risk pursuing new ideas.)”