Although there is no evidence of direct influence, this tale combines many motifs in a manner similar to the Grimms' The Two Kings' Children.
A poor old woman had to beg hard to get a pot full of beans. A prince and his friends rode by and broke the pot in a game. She cursed him to fall in love with an ogress's daughter. Within hours, he became lost in a wood and lost his attendants, and found a girl mocking snails. He fell in love at sight, and the girl, Filadoro, also fell in love with him. He was too tongue-tied to woo, and the ogress caught him. He tried to strike her, but could not move. She ordered him to dig an acre of land and sow it by evening. Filadoro comforted him. When he heard she had magic, he asked why they could not leave; she answered a conjunction of the stars prevented it, but would go. When the ogress returned in the evening, calling Filadoro to throw down her hair so that she could climb it, the land was ready. The next day, she set him to split seven stacks of wood, and Filadoro did it again.
The third day, the ogress suspected Filadoro and set the prince to empty a cistern. Filadoro said that they must flee and dug a hole to an underground passage and they ran away. The prince did not want to bring her to his palace afoot and dressed this way, so he went to get suitable clothing and a carriage. The ogress cursed him to forget her as soon as he was kissed, and when he reached the castle, his mother kissed him. He could no longer explain what had happened to him, and agreed to marry as his mother wished.
Filadoro disguised herself as a man and went to the castle. There she worked as a kitchen boy and made a pie. When it was opened, a dove flew out and told the story, reproaching the prince for forgetting Filadoro. He demanded the person who made the pie. On seeing her, he remembered Filadoro and married her instead of his mother's bride (who would rather go home to her own country, anyway).