Regular path queries are the building block of almost any mechanism for querying semistructured data. Despite the fact that the main applications of such data are distributed, there are only few works dealing with distributed evaluation of regular path queries. In this paper we present a message-efficient and truly distributed algorithm for computing the answer to regular path queries in a multi-source semistructured database setting. Our algorithm is general as it works for the larger class of weighted regular path queries on weighted (as well) semistructured databases.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Abiteboul, S., Buneman, P., Suciu, D.: Data on the Web: From Relations to Semistructured Data and XML. Morgan Kaufmann, San Francisco CA (1999)Google Scholar
  2. 2.
    Allauzen, C., Mohri, M.: A Unified Construction of the Glushkov, Follow, and Antimirov Automata. In: Královič, R., Urzyczyn, P. (eds.) MFCS 2006. LNCS, vol. 4162, pp. 110–121. Springer, Heidelberg (2006)CrossRefGoogle Scholar
  3. 3.
    Abiteboul, S., Vianu, V.: Regular Path Queries with Constraints. J. of Computing and System Sciences 58(3), 428–452 (1999)MATHCrossRefMathSciNetGoogle Scholar
  4. 4.
    Awerbuch, B.: Optimal Distributed Algorithms for Minimum-Weight Spanning tree, Counting, Leader Election and Related Problems. In: Proc. of STOC 1987, pp. 230–240. ACM Press, New York (1987)Google Scholar
  5. 5.
    Calvanese, D., Giacomo, G., Lenzerini, M., Vardi, M.Y.: Answering Regular Path Queries Using Views. In: Proc. of ICDE 2000, pp. 389–398. IEEE Computer Society Press, Los Alamitos (2000)Google Scholar
  6. 6.
    Calvanese, D., Giacomo, G., Lenzerini, M., Vardi, M.Y.: Reasoning on Regular Path Queries. SIGMOD Record 32(4), 83–92 (2003)CrossRefGoogle Scholar
  7. 7.
    Calvanese, D., Giacomo, G., Lenzerini, M., Vardi, M.Y.: View-based Query Processing: On the Relationship between Rewriting, Answering and Losslessness. In: Eiter, T., Libkin, L. (eds.) ICDT 2005. LNCS, vol. 3363, pp. 321–336. Springer, Heidelberg (2004)Google Scholar
  8. 8.
    Consens, M.P., Mendelzon, A.O.: GraphLog: A Visual Formalism for Real Life Recursion. In: Proc of PODS 1990, pp. 404–416. ACM Press, New York (1990)CrossRefGoogle Scholar
  9. 9.
    Flesca, S., Furfaro, F., Greco, S.: Weighted Path Queries on Semistructured Databases. Inf. Comput. 204(5), 679–696 (2006)MATHCrossRefMathSciNetGoogle Scholar
  10. 10.
    Grahne, G., Thomo, A.: Regular Path Queries Under Approximate Semantics. Ann. Math. Artif. Intell. 46(1-2), 165–190 (2006)MATHCrossRefMathSciNetGoogle Scholar
  11. 11.
    Grahne, G., Thomo, A., Wadge, W.: Preferentially Annotated Regular Path Queries. In: Schwentick, T., Suciu, D. (eds.) ICDT 2007. LNCS, vol. 4353, pp. 314–328. Springer, Heidelberg (2006)CrossRefGoogle Scholar
  12. 12.
    Haldar, S.: An “All Pairs Shortest Paths” Distributed Algorithm Using 2n 2 Messages. J. of Algorithms 24(1), 20–36 (1997)MATHCrossRefMathSciNetGoogle Scholar
  13. 13.
    Mendelzon, A.O., Wood, P.T.: Finding Regular Simple Paths in Graph Databases. SIAM J. Comp. 24(6), 1235–1258 (1995)MATHCrossRefMathSciNetGoogle Scholar
  14. 14.
    Miao, Z., Stefanescu, D., Thomo, A.: Grid-Aware Evaluation of Regular Path Queries on Spatial Networks. In: Proc. of AINA 2007, pp. 158–165. IEEE Computer Society Press, Los Alamitos (2007)Google Scholar
  15. 15.
  16. 16.
    Stefanescu, D., Thomo, A., Thomo, L.: Distributed Evaluation of Generalized Path Queries. In: Preneel, B., Tavares, S. (eds.) SAC 2005. LNCS, vol. 3897, pp. 610–616. Springer, Heidelberg (2006)Google Scholar
  17. 17.
    Stefanescu, D., Thomo, A.: Enhanced Regular Path Queries on Semistructured Databases. In: Grust, T., Höpfner, H., Illarramendi, A., Jablonski, S., Mesiti, M., Müller, S., Patranjan, P.-L., Sattler, K.-U., Spiliopoulou, M., Wijsen, J. (eds.) EDBT 2006. LNCS, vol. 4254, pp. 700–711. Springer, Heidelberg (2006)CrossRefGoogle Scholar
  18. 18.
    Suciu, D.: Distributed Query Evaluation on Semistructured Data. ACM Trans. on Database Systems 27(1), 1–62 (2002)CrossRefGoogle Scholar
  19. 19.
    TIGER: Topologically Integrated Geographic Encoding and Referencing system, US Census Bureau:
  20. 20.
    Vardi, M.Y.: A Call to Regularity. In: Proc. PCK50 - Principles of Computing & Knowledge, Paris C. Kanellakis Memorial Workshop 2003, ACM Press, New York (2003)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2007

Authors and Affiliations

  • Maryam Shoaran
    • 1
  • Alex Thomo
    • 1
  1. 1.University of VictoriaCanada

Personalised recommendations