Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to main content

Conjunctive Query Containment over Trees

  • Conference paper
Database Programming Languages (DBPL 2007)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 4797))

Included in the following conference series:

Abstract

The complexity of containment and satisfiability of conjunctive queries over finite, unranked, labeled trees is studied with respect to the axes Child, nextSibling, their transitive and reflexive closures, and Following. For the containment problem a trichotomy is presented, classifying the problems as in PTIME, coNP-complete, or Π 2 P-complete. For the satisfiability problem most problems are classified as either in PTIME or NP-complete.

This work was supported by the DFG Grant SCHW678/3-1.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Similar content being viewed by others

References

  1. Berglund, A., Boag, S., Chamberlin, D., Fernández, M.F., Kay, M., Robie, J., Siméon, J.: XML Path Language (XPath) 2.0. Technical report, World Wide Web Consortium (January 2007), http://www.w3.org/TR/xpath20/

  2. Boag, S., Chamberlin, D., Fernández, M.F., Florescu, D., Robie, J., Siméon, J.: Xquery 1.0: An XML query language. Technical report, World Wide Web Consortium (January 2007), http://www.w3.org/TR/xquery/

  3. Chan, E.P.F., van der Meyden, R.: Containment and optimization of object-preserving conjunctive queries. Siam J. on Computing 29(4), 1371–1400 (2000)

    Article  MATH  Google Scholar 

  4. Clark, J., DeRose, S.: XML Path Language (XPath) version 1.0. Technical report, World Wide Web Consortium (1999), http://www.w3.org/TR/xpath/

  5. Gallant, J., Maier, D., Storer, J.A.: On finding minimal length superstrings. JCSS 20(1), 50–58 (1980)

    MATH  MathSciNet  Google Scholar 

  6. Gottlob, G., Koch, C., Pichler, R., Segoufin, L.: The complexity of XPath query evaluation and XML typing. Journal of the ACM 52(2), 284–335 (2005)

    Article  MathSciNet  Google Scholar 

  7. Gottlob, G., Koch, C., Schulz, K.U.: Conjunctive queries over trees. Journal of the ACM 53(2), 238–272 (2006)

    Article  MathSciNet  Google Scholar 

  8. Hidders, J.: Satisfiability of XPath expressions. In: Lausen, G., Suciu, D. (eds.) DBPL 2003. LNCS, vol. 2921, pp. 21–36. Springer, Heidelberg (2004)

    Google Scholar 

  9. Kolaitis, P.G., Vardi, M.Y.: Conjunctive-query containment and constraint satisfaction. JCSS 61(2), 302–332 (2000)

    MATH  MathSciNet  Google Scholar 

  10. Miklau, G., Suciu, D.: Containment and equivalence for a fragment of XPath. Journal of the ACM 51(1), 2–45 (2004)

    Article  MathSciNet  Google Scholar 

  11. Neven, F., Schwentick, T.: On the complexity of XPath containment in the presence of disjunction, DTDs, and variables. Logical Methods in Computer Science 2(3) (2006)

    Google Scholar 

  12. Räihä, K.J., Ukkonen, E.: The shortest common supersequence problem over binary alphabet is NP-complete. TCS 16(2), 187–198 (1981)

    Article  MATH  Google Scholar 

  13. ten Cate, B., Lutz, C.: The complexity of query containment in expressive fragments of XPath 2.0. In: PODS 2007. 26th International Symposium on Principles of Database Systems, pp. 73–82 (2007)

    Google Scholar 

  14. Vansummeren, S.: On deciding well-definedness for query languages on trees. Journal of the ACM 54(4) (2007)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Marcelo Arenas Michael I. Schwartzbach

Rights and permissions

Reprints and permissions

Copyright information

© 2007 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Björklund, H., Martens, W., Schwentick, T. (2007). Conjunctive Query Containment over Trees. In: Arenas, M., Schwartzbach, M.I. (eds) Database Programming Languages. DBPL 2007. Lecture Notes in Computer Science, vol 4797. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-75987-4_5

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-75987-4_5

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-75986-7

  • Online ISBN: 978-3-540-75987-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics