aggregate the relations from the same type