Adds relations between entities