Abstract
A closer integration of XML and database systems is actively pursued by researchers and vendors because of the many practical benefits it offers. Additional special benefits can be achieved on temporal information management – an important application area that represents an unsolved challenge for relational databases [1]. Indeed, XML data model and query languages support:
-
Temporally grouped representations that have long been recognized as a natural data model for historical information [2], and
-
Turing-complete query languages, such as XQuery [3], where all the constructs needed for temporal queries can be introduced as user-defined libraries, without requiring extensions to existing standards.
By contrast, the flat relational tables of traditional DBMSs are not well-suited for temporally grouped representations [4]; moreover, significant extensions are required to support temporal information in SQL and, in the past, they were poorly received by SQL standard committees.
We will show that (i) XML hierarchical structure can naturally represent the history of databases and XML documents via temporally-grouped data models, and (ii) powerful temporal queries can be expressed in XQuery without requiring any extension to current standards. This approach is quite general and, in addition to the evolution history of databases, it can be used to support the version history of XML documents for transaction-time, valid-time, and bitemporal chronicles [5]. We will demo the queries discussed in [5] and show that this approach leads to simple programming environments that are fully-integrated with current XML tools and commercial DBMSs.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Ozsoyoglu, G., Snodgrass, R.T.: Temporal and real-time databases: A survey. TKDE 7(4), 513–532 (1995)
Clifford, J.: Formal Semantics and Pragmatics for Natural Language Querying. Cambridge University Press, Cambridge (1990)
XQuery 1.0: An XML Query Language, http://www.w3.org/TR/xquery/
Clifford, J., Croker, A., Grandi, F., Tuzhilin, A.: On Temporal Grouping. In: Proc. of the Intl. Workshop on Temporal Databases (1995)
Wang, F., Zaniolo, C.: XBiT: An XML-based Bitemporal Data Model. In: Atzeni, P., Chu, W., Lu, H., Zhou, S., Ling, T.-W. (eds.) ER 2004. LNCS, vol. 3288, pp. 810–824. Springer, Heidelberg (2004)
Wang, F., Zaniolo, C.: Publishing and Querying the Histories of Archived Relational Databases in XML. In: WISE 2003 (2003)
SQL/XML, http://www.sqlx.org , http://www.sqlx.org
UCLA ICAP Project, http://wis.cs.ucla.edu/projects/icap/
UCLA Catalog, http://www.registrar.ucla.edu/catalog/
XML Linking Language (XLink), http://www.w3.org/TR/xlink/
Chawathe, S., Rajaraman, A., Garcia-Molina, H., Widom, J.: Change Detection in Hierarchically Structured Information. In: SIGMOD 1996 (1996)
Microsoft XML Diff, http://apps.gotdotnet.com/xmltools/xmldiff/
Cobena, G., Abiteboul, S., Marian, A.: Detecting Changes in XML Documents. In: ICDE 2002 (2002)
Wang, Y., DeWitt, D.J., Cai, J.: X-Diff: A Fast Change Detection Algorithm for XML Documents. In: ICDE 2003 (2003)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2004 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Wang, F., Zhou, X., Zaniolo, C. (2004). Temporal Information Management Using XML. In: Atzeni, P., Chu, W., Lu, H., Zhou, S., Ling, TW. (eds) Conceptual Modeling – ER 2004. ER 2004. Lecture Notes in Computer Science, vol 3288. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-30464-7_72
Download citation
DOI: https://doi.org/10.1007/978-3-540-30464-7_72
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-23723-5
Online ISBN: 978-3-540-30464-7
eBook Packages: Springer Book Archive