Transformations based on Relations