This ballad is found in several Scandinavian variants, with various charms laid by the witch; sometimes she could not enchant one location in the house, and when the woman in labour is moved there, the baby is born.
Italian musician Angelo Branduardi played this tune to talk about Gulliver's Travels in his album Gulliver, La luna e Altri Disegni.