Content area

Abstract

We define XPathLog as a Datalog-style extension of XPath. XPathLog provides a clear, declarative language for querying and manipulating XML whose perspectives are especially in XML data integration. In our characterization, the formal semantics is defined wrt. an edge-labeled graph-based model, which covers the XML data model. We give a complete, logic-based characterization of XML data and the main language concept for XML, XPath. XPath-Logic extends the XPath language with variable bindings and embeds it into first-order logic. XPathLog is then the Horn fragment of XPath-Logic, providing a Datalog-style, rule-based language for querying and manipulating XML data. The model-theoretic semantics of XPath-Logic serves as the base of XPathLog as a logic-programming language, whereas also an equivalent answer-set semantics for evaluating XPathLog queries is given. In contrast to other approaches, the XPath syntax and semantics is also used for a declarative specification how the database should be updated: when used in rule heads, XPath filters are interpreted as specifications of elements and properties which should be added to the database. [PUBLICATION ABSTRACT]

Details

Title
XPath-logic and XPathLog: A logic-programming style XML data manipulation language
Publication title
Volume
4
Issue
3
Pages
239-287
Number of pages
49
Publication year
2004
Publication date
May 2004
Publisher
Cambridge University Press
Place of publication
Cambridge
Country of publication
United Kingdom
ISSN
14710684
e-ISSN
14753081
Source type
Scholarly Journal
Language of publication
English
Document type
Feature
ProQuest document ID
201697832
Document URL
https://www.proquest.com/scholarly-journals/xpath-logic-xpathlog-programming-style-xml-data/docview/201697832/se-2?accountid=208611
Copyright
2004 Cambridge University Press
Last updated
2023-09-01
Database
ProQuest One Academic