ACM Home Page
Please provide us with feedback. Feedback
Efficient reasoning about a robust XML key fragment
Full text PdfPdf (767 KB)
Source
ACM Transactions on Database Systems (TODS) archive
Volume 34 ,  Issue 2  (June 2009) table of contents
Article No. 10  
Year of Publication: 2009
ISSN:0362-5915
Authors
Sven Hartmann  Clausthal University of Technology, Clausthal-Zellerfeld, Germany
Sebastian Link  Victoria University of Wellington, Wellington, New Zealand
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 27,   Downloads (12 Months): 121,   Citation Count: 0
Additional Information:

abstract   references   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1538909.1538912
What is a DOI?

ABSTRACT

We review key constraints in the context of XML as introduced by Buneman et al. We demonstrate that:

(1) one of the proposed inference rules is not sound in general, and

(2) the inference rules are incomplete for XML key implication, even for nonempty sets of simple key paths.

This shows, in contrast to earlier statements, that the axiomatizability of XML keys is still open, and efficient algorithms for deciding their implication still need to be developed. Solutions to these problems have a wide range of applications including consistency validation, XML schema design, data exchange and integration, consistent query answering, XML query optimization and rewriting, and indexing.

In this article, we investigate the axiomatizability and implication problem for XML keys with nonempty sets of simple key paths. In particular, we propose a set of inference rules that is indeed sound and complete for the implication of such XML keys. We demonstrate that this fragment is robust by showing the duality of XML key implication to the reachability problem of fixed nodes in a suitable digraph. This enables us to develop a quadratic-time algorithm for deciding implication, and shows that reasoning about this XML key fragment is practically efficient. Therefore, XML applications can be unlocked effectively since they benefit not only from those XML keys specified explicitly by the data designer but also from those that are specified implicitly.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
 
2
Apparao, V. 1998. Document object model (DOM) level 1 specification, W3C recommendation. http://www.w3.org/TR/REC-DOM-Level-1/.
3
4
 
5
 
6
 
7
Bray, T., Paoli, J., Sperberg-McQueen, C. M., Maler, E., and Yergeau, F. 2006. Extensible markup language (XML) 1.0 (fourth edition) W3C recommendation. http://www.w3.org/TR/xml.
 
8
 
9
Buneman, P., Davidson, S., Fan, W., Hara, C., and Tan, W. 2002. Keys for XML. Comput. Netw. 39, 5, 473--487.
 
10
11
 
12
 
13
Chomicki, J. 2007. Consistent query answering: Five easy pieces. In Proceedings of the 11th International Conference on Database Theory (ICDT). Lecture Notes in Computer Science, vol. 4353. Springer, 1--17.
 
14
 
15
Clark, J. and DeRose, S. 1999. XML path language (XPath) version 1.0, W3C recommendation. http://www.w3.org/TR/xpath.
 
16
 
17
 
18
 
19
 
20
Fan, W. 2005. XML constraints. In Proceedings of the 16th International Workshop on Database and Expert Systems Applications (DEXA'05). IEEE Computer Society, 805--809.
21
 
22
23
24
 
25
 
26
Hartmann, S., Koehler, H., Link, S., Trinh, T., and Wang, J. 2007. On the notion of an XML key. In Proceedings of the 3rd International Workshop on Semantics in Data and Knowledge Bases (SDKB). Lecture Notes in Computer Science, vol. 4925. Springer, 103--112.
 
27
Hartmann, S. and Link, S. 2007a. Numerical constraints for XML. In Proceedings of the 14th International Workshop on Logic, Language, Information and Computation (WoLLIC). Lecture Notes in Computer Science, vol. 4576. Springer, 203--217.
 
28
Hartmann, S. and Link, S. 2007b. Unlocking keys for XML trees. In Proceedings of the 11th International Conference on Database Theory (ICDT). Lecture Notes in Computer Science, vol. 4353. Springer, 104--118.
 
29
Hartmann, S. and Link, S. 2008. Characterising nested database dependencies by fragments of propositional logic. Ann. Pure Appl. Logic 152, 1-3, 84--106.
 
30
Hartmann, S. and Trinh, T. 2006. Axiomatising functional dependencies for XML with frequencies. In Proceedings of the 4th International Symposium on Foundations of Information and Knowledge Systems (FoIKS'06). Lecture Notes in Computer Science, vol. 3861. Springer, 159--178.
 
31
 
32
 
33
 
34
 
35
36
 
37
Neven, F. and Schwentick, T. 2006. On the complexity of XPath containment in the presence of disjunction, DTDs, and variables. Logical Methods Comput. Sci. 2, 3:1.
 
38
39
40
 
41
Thalheim, B. 1991. Dependencies in Relational Databases. Teubner.
 
42
Thalheim, B. 2000. Entity-Relationship Modelling. Springer.
 
43
Thompson, H., Beech, D., Maloney, M., and Mendelsohn, N. 2004. XML schema part 1: Structures 2nd Ed. W3C recommendation. http://www.w3.org/TR/xmlschema-1/.
44
45
 
46
47
 
48
Widom, J. 1999. Data management for XML: Research directions. Data Engin. Bull. 22, 3, 44--52.
 
49

Collaborative Colleagues:
Sven Hartmann: colleagues
Sebastian Link: colleagues