 It is a late parallel to the Old Norse poem "Grottasöngr", found in Snorri Sturluson's "Skáldskaparmál".Georgios A. Megas collected a Greek variant The Mill in "Folktales of Greece".It is Aarne-Thompson type 565, the Magic Mill.