Constructing OLAP cubes based on queries · Study