skip to main content
10.1145/335168.335207acmconferencesArticle/Chapter ViewAbstractPublication PagespodsConference Proceedingsconference-collections
Article
Free Access

View-based query processing for regular path queries with inverse

Authors Info & Claims
Published:01 May 2000Publication History

ABSTRACT

View-based query processing is the problem of computing the answer to a query based on a set of materialized views, rather than on the raw data in the database. The problem comes in two different forms, called query rewriting and query answering, respectively. In the first form, we are given a query and a set of view definitions, and the goal is to reformulate the query into an expression that refers only to the views. In the second form, besides the query and the view definitions, we are also given the extensions of the views and a tuple, and the goal is to check whether the knowledge on the view extensions logically implies that the tuple satisfies the query.

In this paper we address the problem of view-based query processing in the context of semistructured data, in particular for the case of regular-path queries extended with the inverse operator. Several authors point out that the inverse operator is one of the fundamental extensions for making regular-path queries useful in real settings. We present a novel technique based on the use of two-way finite-state automata. Our approach demonstrates the power of this kind of automata in dealing with the inverse operator, allowing us to show that both query rewriting and query answering with the inverse operator has the same computational complexity as for the case of standard regular-path queries.

References

  1. 1.S. Abiteboul. Querying semi-structured data. In Proc. of the 6th Int. Conf. on Database Theory (ICDT'97), pages 1-18, 1997.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. 2.S. Abiteboul and O. Duschka. Complexity of answering queries using materialized views. In Proc. of the 17th A CM SIGA CT SIGMOD SIGART Sym. on Principles of Database Systems (PODS'98), pages 254-265, 1998.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. 3.S. Abiteboul, D. Quass, J. McHugh, J. Widom, and J. L. Wiener. The Lorel query language for semistructured data. Int. J. on Digital Libraries, 1(1):68-88, 1997.]]Google ScholarGoogle ScholarCross RefCross Ref
  4. 4.S. Adali, K. S. Candan, Y. Papakonstantinou, and V. S. Subrahmanian. Query caching and optimization in distributed mediator systems. In Proc. of the A CM SIGMOD Int. Conf. on Management of Data, pages 137-148, 1996.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. 5.F. N. Afrati, M. Gergatsoulis, and T. Kavalieros. Answering queries using materialized views with disjunction. In Proc. of the 7th Int. Conf. on Database Theory (ICDT'99), volume 1540 of Lecture Notes in Computer Science, pages 435-452. Springer-Verlag, 1999.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. 6.C. Beeri, A. Y. Levy, and M.-C. Rousset. Rewriting queries using views in description logics. In Proc. of the 16th A CM SIGA CT SIGMOD SIGART Sym. on Principles of Database Systems (PODS'97), pages 99-108, 1997.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. 7.P. Buneman. Semistructured data. In Proc. of the 16th A CM SIGA CT SIGMOD SIGART Sym. on Principles of Database Systems (PODS'97), pages 117-121, 1997.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. 8.P. Buneman, S. Davidson, G. Hillebrand, and D. Suciu. A query language and optimization technique for unstructured data. In Proc. of the A CM SIGMOD Int. Conf. on Management of Data, pages 505-516, 1996.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. 9.D. Calvanese, G. De Giacomo, and M. Lenzerini. Answering queries using views in description logics. In Proc. of the 1999 Description Logic Workshop (DL '99), pages 9-13. CEUR Electronic Workshop Proceedings http://sunsite.informatik.rwthaachen, de / Pub licat ions / CE UR-WS/Vol- 22/, 1999.]]Google ScholarGoogle Scholar
  10. 10.D. Calvanese, G. De Giacomo, M. Lenzerini, and M. Y. Vardi. Rewriting of regular expressions and regular path queries. In Proc. of the 18th A CM SIGA CT SIGMOD SIGART Sym. on Principles of Database Systems (PODS'99), pages 194-204, 1999.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. 11.D. Calvanese, G. De Giacomo, M. Lenzerini, and M. Y. Vardi. Answering regular path queries using views. In Proc. of the 16th IEEE Int. Conf. on Data Engineering (ICDE 2000), 2000. To appear.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. 12.D. Calvanese, G. De Giacomo, M. Lenzerini, and M. Y. Vardi. Containment of conjunctive regular path queries with inverse. In Proc. of the 7th Int. Conf. on the Principles of Knowledge Representation and Reasoning (KR 2000), 2000. To appear.]]Google ScholarGoogle Scholar
  13. 13.S. Chaudhuri, S. Krishnamurthy, S. Potarnianos, and K. Shim. Optimizing queries with materialized views. In Proc. of the 11th IEEE Int. Conf. on Data Engineering (ICDE'95), Waipei (Waiwan), 1995.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. 14.J. Clark and S. Deach. Extensible Stylesheet Language (XSL). Technical report, World Wide Web Consortium, 1999. Available at http://www.w3.org/WR/WD-xsl.]]Google ScholarGoogle Scholar
  15. 15.S. Cohen, W. Nutt, and A. Serebrenik. Rewriting aggregate queries using views. In Proc. of the 18th A CM SIGA CT SIGMOD SIGART Sym. on Principles of Database Systems (PODS'99), pages 155-166, 1999.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. 16.O. M. Duschka and M. R. Genesereth. Answering recursive queries using views. In Proc. of the 16th A CM SIGA CT SIGMOD SIGART Sym. on Principles of Database Systems (PODS'97), pages 109-116, 1997.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. 17.O. M. Duschka and A. Y. Levy. Recursive plans for information gathering. In Proc. of the 15th Int. Joint Conf. on Artificial Intelligence (IJCAI'97), pages 778-784, 1997.]]Google ScholarGoogle Scholar
  18. 18.M. F. Fernandez, D. Florescu, J. Kang, A. Y. Levy, and D. Suciu. Catching the boat with strudel: Experiences with a web-site management system. In Proc. of the A CM SIGMOD Int. Conf. on Management of Data, pages 414-425, 1998.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. 19.M. F. Fernandez and D. Suciu. Optimizing regular path expressions using graph schemas. In Proc. of the l~th IEEE Int. Conf. on Data Engineering (ICDE'98), pages 14-23, 1998.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. 20.M. L. Ginsberg, editor. Readings in Nonmonotonic Reasoning. Morgan Kaufmann, Los Altos, 1987.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. 21.G. Grahne and A. O. Mendelzon. Tableau techniques for querying information sources through global schemas. In Proc. of the 7th Int. Conf. on Database Theory (ICDT'99), volume 1540 of Lecture Notes in Computer Science, pages 332-347. Springer-Verlag, 1999.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. 22.J. Gryz. Query folding with inclusion dependencies. In Proc. of the l~th IEEE Int. Conf. on Data Engineering (ICDE'98), pages 126-133, 1998.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. 23.J. E. Hopcroft and J. D. Ullman. Introduction to Automata Theory, Languages, and Computation. Addison Wesley Publ. Co., Reading, Massachussetts, 1979.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. 24.A. Y. Levy. Obtaining complete answers from incomplete databases. In Proc. of the 22nd Int. Conf. on Very Large Data Bases (VLDB'96), pages 402-412, 1996.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. 25.A. Y. Levy, A. O. Mendelzon, Y. Sagiv, and D. Srivastava. Answering queries using views. In Proc. of the l~th A CM SIGA CT SIGMOD SIGART Sym. on Principles of Database Systems (PODS'95), pages 95-104, 1995.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. 26.T. Milo and D. Suciu. Index structures for path expressions. In Proc. of the 7th Int. Conf. on Database Theory (ICDT'99), volume 1540 of Lecture Notes in Computer Science, pages 277-295. Springer-Verlag, 1999.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. 27.Y. Papakonstantinou and V. Vassalos. Query rewriting using semistructured views. In Proc. of the A CM SIGMOD Int. Conf. on Management of Data, 1999.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  28. 28.A. Rajaraman, Y. Sagiv, and J. D. Ullman. Answering queries using templates with binding patterns. In Proc. of the l~th A CM SIGA CT SIGMOD SIGART Sym. on Principles of Database Systems (PODS'95), 1995.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  29. 29.R. Reiter. On closed world data bases. In H. Gallaire and J. Minker, editors, Logic and Databases, pages 119-140. Plenum Publ. Co., New York, 1978. Republished in {20}.]]Google ScholarGoogle ScholarCross RefCross Ref
  30. 30.D. Srivastava, S. Dar, H. V. Jagadish, and A. Levy. Answering queries with aggregation using views. In Proc. of the 22nd Int. Conf. on Very Large Data Bases (VLDB'96), pages 318-329, 1996.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  31. 31.O. G. Tsatalos, M. H. Solomon, and Y. E. Ioannidis. The GMAP: A versatile tool for phyisical data independence. Very Large Database J., 5(2):101-118, 1996.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  32. 32.J. D. Ullman. Information integration using logical views. In Proc. of the 6th Int. Conf. on Database Theory (ICDT'97), volume 1186 of Lecture Notes in Computer Science, pages 19-40. Springer-Verlag, 1997.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  33. 33.R. van der Meyden. Logical approaches to incomplete information. In J. Chomicki and G. Saake, editors, Logics for Databases and Information Systems, pages 307-356. Kluwer Academic Publishers, 1998.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  34. 34.M. Y. Vardi. The complexity of relational query languages. In Proc. of the l~th A CM SIGA CT Sym. on Theory of Computing (STOC'82), pages 137-146, 1982.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  35. 35.M. Y. Vardi. A note on the reduction of two-way automata to one-way automata. Information Processing Letters, 30(5):261-264, 1989.]] Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. View-based query processing for regular path queries with inverse

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in
      • Published in

        cover image ACM Conferences
        PODS '00: Proceedings of the nineteenth ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems
        May 2000
        281 pages
        ISBN:158113214X
        DOI:10.1145/335168

        Copyright © 2000 ACM

        Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 1 May 2000

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • Article

        Acceptance Rates

        PODS '00 Paper Acceptance Rate26of119submissions,22%Overall Acceptance Rate642of2,707submissions,24%

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader