A Precious Class of Cardinality Constraints for Flexible XML Data Processing

Modern Web developers must often process collections of XML data that are aggregated from potentially thousands of heterogeneous sources. While the semi-structured nature of XML provides a high degree of syntactic flexibility there are significant shortcomings to specify the semantics of its data. For the advancement of XML applications it is therefore an important problem to identify natural classes of constraints that can be utilized effectively by XML data engineers. The problem is challenging given the range of intractability results in the area. In this paper we propose a class of XML cardinality constraints that is sufficiently flexible to process concisely XML data from various sources. The flexibility is a result of the right balance between expressiveness and efficiency of maintenance. In particular, we characterize the associated implication problem axiomatically, and algorithmically by a low-degree polynomial time decision procedure. Our class is precious as small extensions in expressiveness result in intractability.

[1]  Steven J. DeRose,et al.  XML Path Language (XPath) Version 1.0 , 1999 .

[2]  C. M. Sperberg-McQueen,et al.  Extensible Markup Language (XML) , 1997, World Wide Web J..

[3]  Wenfei Fan,et al.  Keys for XML , 2002, Comput. Networks.

[4]  Wenfei Fan,et al.  On the Complexity of Verifying Consistency of XML Specifications , 2008, SIAM J. Comput..

[5]  Bernhard Thalheim,et al.  Foundations of entity-relationship modeling , 1993, Annals of Mathematics and Artificial Intelligence.

[6]  Dan Suciu,et al.  Database and XML Technologies , 2004, Lecture Notes in Computer Science.

[7]  Wenfei Fan,et al.  What's Hard about XML Schema Constraints? , 2002, DEXA.

[8]  Jing Wang,et al.  Promoting the Semantic Capability of XML Keys , 2010, XSym.

[9]  Renée J. Miller,et al.  Towards Inconsistency Management in Data Integration Systems , 2003, IIWeb.

[10]  Dieter Jungnickel,et al.  Graphs, Networks, and Algorithms , 1980 .

[11]  Sven Hartmann,et al.  On the implication problem for cardinality constraints and functional dependencies , 2001, Annals of Mathematics and Artificial Intelligence.

[12]  Professor Dr. Bernhard Thalheim Entity-Relationship Modeling , 2000, Springer Berlin Heidelberg.

[13]  Dan Suciu,et al.  Containment and equivalence for a fragment of XPath , 2004, JACM.

[14]  Jonathan Robie,et al.  Document Object Model (DOM) Level 2 Specification , 1998 .

[15]  Serge Abiteboul,et al.  Foundations of Databases , 1994 .

[16]  Sven Hartmann,et al.  Efficient reasoning about a robust XML key fragment , 2009, TODS.

[17]  Bernhard Thalheim,et al.  Fundamentals of Cardinality Constraints , 1992, ER.

[18]  David W. Embley,et al.  Cardinality Constraints in Semantic Data Models , 1993, Data Knowl. Eng..

[19]  Günther Pernul,et al.  Entity-Relationship Approach — ER '92 , 1992 .

[20]  Sven Hartmann,et al.  Expressive, yet tractable XML keys , 2009, EDBT '09.

[21]  Wenfei Fan,et al.  Keys with Upward Wildcards for XML , 2001, DEXA.

[22]  Sven Hartmann,et al.  Numerical constraints on XML data , 2010, Inf. Comput..