Starting from simple Lie algebras, one can take direct sums and produce semi-simple ones:
i1 : g=simpleLieAlgebra("D",4);
i2 : h=simpleLieAlgebra("G",2);
i3 : g++h o3 = ๐ก ++ ๐ค 4 2 o3 : LieAlgebra
i4 : directSum(g,g,h) o4 = ๐ก ++ ๐ก ++ ๐ค 4 4 2 o4 : LieAlgebra