Abstract
We present XPathLog as a Datalog-style extension to XPath. The querying part extends XPath with binding variables to XML nodes that are “traversed” when evaluating an XPath expression. Data manipulation is done in a rule-based way. In contrast to other approaches, the XPath-based syntax and semantics is also used for a declarative specification how the database should be updated: XPath filters are interpreted as specifications of elements and properties that should be added to the database. In this paper, we focus on the theoretical aspects of XPathLog. XPathLog has been implemented in the LoPiX system [LoP01].
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
S. Cluet, C. Delobel, J. Siméon, and K. Smaga. Your Mediators need Data Conversion. In ACM Intl. Conf. on Management of Data (SIG-MOD), 1999.
A. Deutsch, M. Fernandez, D. Florescu, A. Levy, and D. Suciu. XML-QL: A Query Language for XML. In 8th. WWW Conference. W3C, 1999. W3C Technical Report, http://www.w3.org/TR/NOTE-xml-ql.
M. Fernandez, D. Florescu, A. Levy, and D. Suciu. A Query Language for a Web-Site Management System. SIGMOD Record, 26(3):4–11, 1997.
H. Garcia-Molina, Y. Papakonstantinou, D. Quass, A. Rajaraman, Y. Sagiv, J. Ullman, V. Vassalos, and J. Widom. The TSIMMIS Approach to Mediation: Data Models and Languages. Journal of Intelligent Information Systems, 8(2), 1997.
R. Goldman, J. McHugh, and J. Widom. From semistructured data to XML: Migrating the Lore data model and query language. In WebDB, 1999.
R. Himmeröder, P.-T. Kandzia, B. Ludäscher, W. May, and G. Lausen. Search, Analysis, and Integration of Web Documents: A Case Study with FLORID. In Proc. Intl. Workshop on Deductive Databases and Logic Programming (DDLP’98), 1998.
M. Kifer, G. Lausen, and J. Wu. Logical Foundations of Object-Oriented and Frame-Based Languages. Journal of the ACM, 42(4):741–843, July 1995.
B. Ludäscher, R. Himmeröder, G. Lausen, W. May, and C. Schlepphorst. Managing Semistructured Data with FLORID: A Deductive Object-Oriented Perspective. Information Systems, 23(8):589–612, 1998.
W. May. LoPiX: A System for XML Data Integration and Manipulation. In Intl. Conf. on Very Large Data Bases (VLDB), Demo Session, 2001. See also http://www.informatik.uni-freiburg.de/~may/lopix
W. May. A Logic-Based Approach for Declarative XML Data Manipulation. Available from http://www.informatik.uni-freiburg.de/~may/lopix/.
W. May. XPathLog: A Declarative, Native XML Data Manipulation Language. In Intl. Database Engineering and Applications Symp. (IDEAS’01). IEEE CS Press, 2001.
W. May and E. Behrends. On an XML Data Model for Data Integration. In Intl. Workshop on Foundations of Models and Languages for Data and Objects (FMLDO 2001), To appear with Springer LNCS, 2001. The Mondial Database. http://www.informatik.uni-freiburg.de/~may/Mondial/
I. Tatarinov, Z. G. Ives, A. Halevy, and D. Weld. Updating XML. A CM Intl. Conf. on Management of Data (SIGMOD), 2001.
P. Wadler. Two semantics for XPath. 1999. http://www.cs.bell-labs.com/who/wadler/topics/xml.html.
W3C-The World Wide Web Consortium http://www.w3.org.
XML Path Language (XPath). http://www.w3.org/TR/xpath, 1999.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2002 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
May, W. (2002). A Rule-Based Querying and Updating Language for XML. In: Ghelli, G., Grahne, G. (eds) Database Programming Languages. DBPL 2001. Lecture Notes in Computer Science, vol 2397. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-46093-4_10
Download citation
DOI: https://doi.org/10.1007/3-540-46093-4_10
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-44080-2
Online ISBN: 978-3-540-46093-0
eBook Packages: Springer Book Archive