In this paper we give a construction of relational algebras in which finite semigroups which are orthogonal sums of groups with zero adjoined could be embedded. It is proved that if two semigroups are isomorphic, then the corresponding relational algebras are also isomorphic.