Relational implementation of the dimensional model