he wrote philosophical poems and ballads which were inspired by the folklore