Partitions of Finite Relational and Set Systems