The word that means the same as the groups of words "a song sung at a burial" is dirge.
- Sonnet is a poem of 14 lines with a specific rhyme scheme and meter.
- Dirge is a mournful song, piece of music, or sound.
- Hymn is a song of praise to God or a religious leader.
- Ballad is a poem or song narrating a story in short stanzas.
The word
dirge is the most appropriate because it specifically refers to a song that is sung at a funeral. The other words do not have the same connotation of being a song that is sung at a funeral.