Let A and B be sets. A relation from A to B is a subset A×B
Let k∈Z+ and let A1,…,Ak be sets A relation on A1,…,Ak is a subset of A1×⋯×Ak The number k is called the arity of the relation
Let A be a set and let k∈N A k-ary relation over A is a subset of Ak
#TODO the example