Winged Moon Goddess of Thebes representing the two parts of the Theban year; the lion for the waxing part and the serpent for the waning part. The new king gives his devotions to her before marrying the Queen, which he must do to become king. The riddle was invented to explain the image of an infant, a warrior and an old man worshipping Her.

This according to Graves in The Greek Myths.