Skip to main content
QUICK REVIEW

[Paper Review] Completeness and Decidability Properties for Functional Dependencies in XML

Millist W. Vincent, Jixue Liu|ArXiv.org|Jan 20, 2003
Advanced Database Systems and QueriesComputer Science15 references6 citations
TL;DR

This paper establishes the completeness of a sound axiom system for unary functional dependencies in XML (XFDs) and proves the implication problem for unary XFDs is decidable via a linear-time algorithm. It extends prior work by showing that the axioms are both sound and complete for unary XFDs, enabling efficient reasoning and normalization in XML data models.

ABSTRACT

XML is of great importance in information storage and retrieval because of its recent emergence as a standard for data representation and interchange on the Internet. However XML provides little semantic content and as a result several papers have addressed the topic of how to improve the semantic expressiveness of XML. Among the most important of these approaches has been that of defining integrity constraints in XML. In a companion paper we defined strong functional dependencies in XML(XFDs). We also presented a set of axioms for reasoning about the implication of XFDs and showed that the axiom system is sound for arbitrary XFDs. In this paper we prove that the axioms are also complete for unary XFDs (XFDs with a single path on the l.h.s.). The second contribution of the paper is to prove that the implication problem for unary XFDs is decidable and to provide a linear time algorithm for it.

Motivation & Objective

  • To establish completeness of a sound axiom system for unary functional dependencies in XML (XFDs), extending prior work on soundness.
  • To prove that the implication problem for unary XFDs is decidable, addressing a key open problem in XML integrity constraints.
  • To provide a linear-time algorithm for testing XFD implication, enabling efficient validation in XML data management.
  • To support the development of a normalization theory for XML by grounding it on well-understood principles from relational database theory.
  • To lay the foundation for future work on weak satisfaction, multivalued dependencies, and constraint interactions in XML.

Proposed method

  • Extends the strong satisfaction approach for XFDs, ensuring consistency with relational database functional dependency semantics.
  • Defines a closure-based algorithm (Algorithm 1) that computes the attribute closure of a path expression under a set of unary XFDs.
  • Uses path prefix relationships and node value comparisons to determine functional dependency satisfaction in XML trees.
  • Employs proof by contradiction and lemmas (e.g., Lemma 4, 12, 13, 14, 15) to verify correctness of closure computation and dependency implication.
  • Applies structural induction on XML tree paths and node sets to analyze dependency satisfaction across all possible completions.
  • Leverages the correspondence between relational FDs and XML XFDs under strong satisfaction to transfer theoretical guarantees.

Experimental results

Research questions

  • RQ1Is the axiom system for XFDs complete for unary XFDs, given that it was previously proven sound?
  • RQ2Can the implication problem for unary XFDs be decided in polynomial time, and if so, is it linear-time?
  • RQ3Does the strong satisfaction approach for XFDs in XML preserve the logical correspondence with relational functional dependencies?
  • RQ4Can an efficient algorithm be constructed to test XFD implication in XML trees?
  • RQ5What are the implications of these results for developing a normalization theory for XML documents?

Key findings

  • The axiom system for XFDs is proven to be complete for unary XFDs, extending prior results that established only soundness.
  • The implication problem for unary XFDs is decidable, and a linear-time algorithm is provided for testing implication.
  • The algorithm correctly computes the closure of a path expression under a set of unary XFDs using path prefix and value consistency checks.
  • The proof relies on structural lemmas that ensure consistency between path relationships and node values in XML trees.
  • The results confirm that strong satisfaction of XFDs in XML corresponds precisely to the satisfaction of all possible completions of incomplete XML documents.
  • The findings support the feasibility of developing a normalization theory for XML based on functional dependencies, analogous to relational database theory.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.