A Lattice Structure for Efficiently Maintaining Homomorphism Information Among XPath Patterns

XPath패턴들간의 준동형 정보를 효율적으로 유지하기 위한 래티스 구조

  • 유상현 (한국과학기술원 전산학과) ;
  • 손진현 (한양대학교 컴퓨터공학과) ;
  • 김명호 (한국과학기술원 전산학과)
  • Published : 2005.06.01

Abstract

Many XML applications use XPath Patterns as a query language for XML documents. Two XPath patterns may have containment relationship, and the containment problem between two XPath patterns is a problem that determines whether one XPath pattern contains another XPath Pattern. Although the containment problem occurs in many applications, it is known as a co-NP complete. A homomorphism problem, which is a sufficient condition for the containment problem, is solved in polynomial time. We first discuss applications that replace the containment problem with the homomorphism problem, and maintaining homomorphism information among XPath patterns will benefit those applications. Then, we propose a lattice structure, called POX (Partially Ordered Set of XPath Patterns), and develop algorithms for maintaining it. As our analyses show, the algorithms can efficiently maintain POX in polynomial time.

많은 XML 응용들은 XML 문서에 대한 질의 언어로 XPath 패턴을 사용한다. XPath 패턴들 사이에는 포함 관계가 존재할 수 있으며, 하나의 XPath 패턴이 다른 XPath 패턴을 포함하는지를 결정하는 문제를 포함 문제라고 한다. 포함 문제는 많은 응용들에서 발생하고 있지만 co-NP complete 문제로 알려져 있다. 한편 XPath 패턴들 사이의 준동형 관계는 포함 관계의 충분 조건이면서 다항 시간에 얻을수 있다. 본 논문에서는 준동형 문제가 포함 문제를 대체하여 유용하게 쓰일 수 있는 응용들에 대해 논의하고, XPath 패턴들 사이의 준동형 정보를 유지하면 많은 이점을 얻을 수 있다는 사실에 대해 논의한다. 그리고 XPath 패턴들 사이의 준동형 관계를 유지하기 위하여 POX(Partially Ordered Set of XPath Patterns)라는 래티스 구조를 제안하고, 그것을 유지할 수 있는 알고리즘을 개발한다. 알고리즘 분석을 보면 알 수 있듯이, 본 논문에서 제안하는 알고리즘은 다항 시간에 POX를 효율적으로 유지할 수 있다.

Keywords

References

  1. World Wide Web Consortium, XML Path Language (XPath) Version 1.0, http://www.w3.org/TR/xpath, W3C Recommendation, November, 1999
  2. World Wide Web Consortium, XSL Transformations (XSLT) Version 1.0, http://www.w3.org/TR/xslt, W3C Recommendation, November 1999
  3. World Wide Web Consortium, XML Pointer Language (XPointer), http://www.w3.org/TR/xptr, W3C Working Draft, August 2002
  4. G. Miklau, D. Suciu, Containment and Equivalence for an Xpath Fragment, In Proceedings of the 21st Symposium on Principles of Database Systems, Pages 65-76, 2002 https://doi.org/10.1145/543613.543623
  5. C.-Y. Chan, W. Fan, P. Felber, M. Garofalakis, and R. Rastogi, Tree Pattern Aggregation for Scalable XML Data Dissemination, In Proceedings of the 28th VLDB Conference, pages 826-837, 2002
  6. A. Carzaniga, D. S. Rosenblum, and A. L. Wolf, Design and Evaluation of a Wide-Area Event Notification Service, ACM Transactions on Computer Systems, Vol. 19, No. 3, pages 332-383, 2001 https://doi.org/10.1145/380749.380767
  7. M. Altinel and M. J. Franklin, Efficient Filtering of XML Documents for Selective Dissemination of Information, In Proceedings of the 26th VLDB Conference, pages 53-64, 2000
  8. C.-Y. Chan, P. Felber, M. Garofalakis, and R. Rastogi, Efficient Filtering of XML Documents with XPath Expressions, The VLDB Journal, Vol. 11, No. 4, pages 354-379, 2002 https://doi.org/10.1007/s00778-002-0077-6
  9. Y. Diao, M. Altinel, M. J. Franklin, H. Zhang, and P. Fischer, Yfilter: Efficient and Scalable Filtering of XML Documents, In Proceedings of International Conference of Data Engineering, pages 341-342, 2002 https://doi.org/10.1109/ICDE.2002.994748
  10. S. Yoo, J. H. Son, and M. H. Kim, Maintaining Homomorphism Information of XPath Patterns, Korea Advanced Institute of Science and Technology (KAIST) Technical Report (CS-TR-2004-209), 2004. http://cs.kaist.ac.kr/research/technical/Archive/CS-TR-2004-209.pdf
  11. J. A. Dossey, A. D. Otto, L. E. Spence, and C. V. Eynden, Discrete Mathematics, Scott, Foresman and Company, 1987