Consider the following example: "there is a relationship between cats and dogs and bears". How can this be punctuated/worded so that it is clear that the comparison is between [cats and dogs] and [bears]?
I've seen vis-à-vis used in such contexts. Eg:
There is a relationship of cats and dogs vis-à-vis bears.
I think the intended meaning then is quite clear, but perhaps some sticklers will find fault with the construction, perceiving it as redundant. (Vis-à-vis means “in relation to; compared with”.)