Topological solitons and graded Lie algebras