Example. Relations in databases [00IE]
We now come to an example of a relation between multiple sets: we could define a relation R\subseteq \text {Movies}\times \text {Directors}\times \text {Years}\times \text {People} consisting of tuples {\mathopen {}\left (m,d,y,p\right )\mathclose {}} where m is a movie directed by d in year y with p as a cast member.