As binary relation (at least with Kuratowski definition) is set of ordered pairs, can relations be set of ordered n's? And if they can be, what is domain, and counter domain in such relation, for example with ordered 5's? And more, can be restriction and composition defined for such relations, and how?
More generally, i know the definition and properties and operations for binary relations, and i wonder if there is a way to expand this definition to n-argument relations.
Just like a binary relation is a subset of $X \times Y$, an $n$-ary relation is a set of $n$-tuples from a product $X_1 \times \ldots X_n$. See relational algebra for notions of composition etc. (joins). It has actually been studied in connection with relational databases..
Most maths concerns itself with binary relations ((partial) orders, equivalence relations, functions, incidence relations) and not so much with the higher order ones, as can be seen from examples here.