Using an analogue of Makanin-Razborov diagrams, we give an effective description of the solution set of systems of equations over a partially commutative group (right-angled Artin group) G. Equivalently, we give a parametrisation of Hom(G, G), where G is a finitely generated group."Divide et impera" Principle of government of Roman Senate