Logic to drive relative relations