At the Elton Hayes site (well-known in Great Britain), lyrics authorship is clearly indicated as Edward Lear.
Ian McQueen wrote music for children's choir and orchestra. Stephen Owens also wrote music for childrens choir. Since Lear wrote it in 1871, there have been many vocal arrangements.