Automatically discover relations to replicate/reflect