Are n-ary relations, with n > 2, in $\bf Rel$ - the category of sets as objects and relations as arrows?
By "het" (heterogeneous) relations I mean relations between distinct sets, so $X \to Y$, as opposed to "hom" (homogeneous) relations $X \to X$.
Any relation, regardless of arity, can be expressed as a subset of product of sets, so a het ternary relation is a subset $\rho \subset X \times Y \times Z$.
Are such relations in $\bf Rel$? As a starting point, $\bf Set$ has products but how is $\rho$ represented as an arrow? If $\rho : X \times Y \to Z$ why is $X \times Y$ in $dom$ and $Z$ in $cod$?
Certainly any permutation should represent the same $\rho$ but then how is the equality between the permutations encoded in $\bf Rel$?
The arrows of $\mathbf{Rel}$ are only binary relations. So no, there aren't any ternary relations in $\mathbf{Rel}$.
(of course, $\mathbf{Rel}$ does have binary relations from $X \times Y$ to $Z$)
"Hom", incidentally, is a very poor choice of notation here, given that the trigraph already has a meaning (and refers to a rather fundamental notion of category theory).