I would call this a comedic cautionary tale in the form of a poem…

The Pig - Irish Children's Songs - Ireland - Mama Lisa's World: Children's Songs and Rhymes from Around the World  - Intro Image

Notes

Versions of this are recited as a toast for St. Patrick's Day.

Comments

This is sung as a song and also read as a poem.

Listen