Advertisement

Querying Graph Databases

  • Sergio Flesca
  • Sergio Greco
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 1777)

Abstract

Graph data is an emerging model for representing a variety of database contexts ranging from object-oriented databases to hypertext data. Also many of the recursive queries that arise in relational databases are, in practice, graph traversals. In this paper we present a language for searching graph-like databases. The language permits us to express paths in a graph by means of extended regular expressions. The proposed extension is based on the introduction of constructs which permit us i) to de_ne a partial order on the paths used to search the graph and, consequently, on the answers of queries, and ii) to cut off, nondeterministically, tuples with low priority. We present an algebra for partially ordered relations and an algorithm for the computation of path queries. Finally, we present applications to hypertext databases such as the Web.

Keywords

Regular Expression Regular Language Database Graph Local Link Path Query 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 1.
    Abiteboul S. Querying Semi-structured Data. In Proc. Int. Conf. on Database Theory (ICDT), pages 1–18, 1997.Google Scholar
  2. 2.
    Abiteboul S., E. Simon, V. Vianu. Non-Deterministic Language to Express Deterministic Transformation. In Proc. of the Ninth ACM Symposium on Principles of Database Systems (PODS), pages 215–229, 1990.Google Scholar
  3. 3.
    Abiteboul S., R. Hull, V. Vianu. Foundations of Databases. Addison-Wesley. 1994.Google Scholar
  4. 4.
    Abiteboul S., V. Vianu. Queries and Computation on the Web. In Proc. Int. Conf. on Database Theory (ICDT), pages 262–275, 1997.Google Scholar
  5. 5.
    Abiteboul S., V. Vianu. Regular Path Queries with Constraints. In Proc. Sixteenth Int. Symposium on Database Systems (PODS), pages 122–133, 1997.Google Scholar
  6. 6.
    Abiteboul S., D. Quass, J. McHugh, J. Widom, J. L. Wiener, The Lorel Query Language for Semistructured Data. in Journal on Digital Libraries 1(1), pages 68–88, 1997.Google Scholar
  7. 7.
    Beeri C, Y. Kornatzky, A logical query language for hypertext systems. In Proc. European Conf. on Hypertexts, pages 67–80, Cambridge University Press, 1990.Google Scholar
  8. 8.
    Buneman P., S. Davinson, G. Hillebrand, D. Suciu, A query language and optimization techniques for unstructured data. In Proc. ACM SIGMOD Conf. on Management of Data, pages 505–516, 1996.Google Scholar
  9. 9.
    Carey M., D. Kossmann, On Saying “Enough Already!” in SQL. In Proc. ACM SIGMOD Conf., pages 219–230, 1997.Google Scholar
  10. 10.
    Consens M, Mendelzon A., GraphLog: a visual formalism for real life recursion. In Proc. PODS Conf., pages 404–416, 1990.Google Scholar
  11. 11.
    Christophides, V., S. Cluet, G. Moerkotte, Evaluating Queries with Generalized Path Expressions, in Proc. of the ACM SIGMOD Conf., pages 413–422, 1996.Google Scholar
  12. 12.
    Fernandez M.F., D. Florescu, J. Kang, A. Y. Levy, D. Suciu, STRUDEL: A Web-site Management System. in Proc. ACM SIGMOD Conf., pages 549–552, 1997.Google Scholar
  13. 13.
    Greco S., D. Saccà, C. Zaniolo. Datalog with choice and stratified negation: from \( \mathcal{P} \) to \( \mathcal{D}^p \). In Proc. 2nd Int. Conf. on Database Theory (ICDT), pages 82–96, 1995.Google Scholar
  14. 14.
    Gyssens, M., J. Paradaens, D. Van Gucht, A Graph-Oriented Object Database Model, in Proc. of the Ninth Symposium on Principles of Database Systems, pages 417–424, 1990.Google Scholar
  15. 15.
    Hopcroft J., J. Ullman. Introduction to Automata Theory, Languages and Computation. Addison Wesley, 1980.Google Scholar
  16. 16.
    Konopnicki, D., O. Shmueli, W3QS: A Query System for the World-Wide-Web, in Proc. Int. Conf. on Very Large Data Bases (VLDB), pages 54–65, 1995.Google Scholar
  17. 17.
    Mendelzon A., P.T. Wood, Finding Regular Simple Path in Graph Databases, in SIAM Journal on Computing, 24(6), pages 1235–1258, 1995.MATHCrossRefMathSciNetGoogle Scholar
  18. 18.
    Mendelzon A., G. Mihaila, T. Milo, Querying the World Wide Web, in Journal of Digital Libraries, pages 54–67, 1997.Google Scholar
  19. 19.
    Mendelzon A., T. Milo, Formal models of web queries, in Proc. on the Symp. on Principles of Database Systems (PODS), pages 134–143, 1997.Google Scholar
  20. 20.
    Van den Bussche J, G. Vossen. An extension of path expression to simplify navigation in objects. In Proc. Int. Conf. on Deductive and Object-Oriented Databases (DOOD), pages 267–282, 1993.Google Scholar
  21. 21.
    Yannakakis M., Graph-theoretic methods in database theory, in Proc. of the Ninth Symposium on Principles of Database Systems, pages 230–242, 1990.Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2000

Authors and Affiliations

  • Sergio Flesca
    • 1
  • Sergio Greco
    • 1
  1. 1.DEISUniv. della CalabriaRendeItaly

Personalised recommendations