Extending Tree Automata to Obtain Consistent Query Answer from Inconsistent XML Document

Data may contain inconsistencies that violate integrity constraints, the consistent query answering problem attempts to find answers common for every possible repair. In this paper, we study how to handle the inconsistent XML document, which conforms to the DTD, while violates constraints. We consider three types of constraints, including functional dependencies, keys and foreign keys. We provide a repair framework for inconsistent XML document with three basic update operations: node insertion, node deletion and value modification. Following this approach, we introduce the concept of labelled XML document, which is an extension to the traditional tree model of XML with a function to indicate the unreliable nodes. We then give the definition of minimal labelled XML document, a representation of all possible repairs and can be used for consistent query answering. We provide a method for building an extended bottom-up tree automaton. The automaton can, in only one pass, not only check the validity of an XML document w.r.t DTD and integrity constraints, but also generate the corresponding minimal labelled XML document

[1]  Rajeev Rastogi,et al.  A cost-based model and effective heuristic for repairing constraints by value modification , 2005, SIGMOD '05.

[2]  Wilfred Ng,et al.  Repairing Inconsistent Merged XML Data , 2003, DEXA.

[3]  Serge Abiteboul,et al.  Representing and querying XML with incomplete information , 2006, TODS.

[4]  Jan Chomicki,et al.  Answer sets for consistent query answering in inconsistent databases , 2002, Theory and Practice of Logic Programming.

[5]  Jan Chomicki,et al.  Minimal-change integrity maintenance using tuple deletions , 2002, Inf. Comput..

[6]  Wenfei Fan,et al.  Keys for XML , 2001, WWW '01.

[7]  Marcelo Arenas,et al.  XML data exchange: consistency and query answering , 2005, PODS '05.

[8]  Leopoldo E. Bertossi,et al.  Logic Programs for Consistently Querying Data Integration Systems , 2003, IJCAI.

[9]  Jef Wijsen,et al.  Condensed Representation of Database Repairs for Consistent Query Answering , 2003, ICDT.

[10]  Wenfei Fan,et al.  On verifying consistency of XML specifications , 2002, PODS.

[11]  Chengfei Liu,et al.  Strong functional dependencies and their application to normal forms in XML , 2004, TODS.

[12]  Wenfei Fan,et al.  Reasoning about Keys for XML , 2001, DBPL.

[13]  Marcelo Arenas,et al.  A normal form for XML documents , 2004, TODS.

[14]  Béatrice Bouchou-Markhoff,et al.  Tree Automata to Verify XML Key Constraints , 2003, WebDB.

[15]  Béatrice Bouchou-Markhoff,et al.  Extending Tree Automata to Model XML Validation Under Element and Attribute Constraints , 2003, ICEIS.

[16]  Sergio Greco,et al.  A Logical Framework for Querying and Repairing Inconsistent Databases , 2003, IEEE Trans. Knowl. Data Eng..