Similar procedure of clustering followed by the encoding of the cluster entities is done for relations as well.
both the entity and relation space were reduced to contain fewer elements, one each for each cluster.