Multiversion queries in multidimensional structures