XPath-Logic and XPathLog: A Logic-Programming Style XML Data Manipulation Language
Wolfgang May

TL;DR
This paper introduces XPathLog, a logic programming language for XML data that extends XPath with variables and rule-based querying, providing formal semantics and a declarative approach to XML data manipulation.
Contribution
It presents XPathLog as a Datalog-style extension of XPath with formal semantics, enabling declarative XML data querying and updates based on logic programming principles.
Findings
Defines a formal, logic-based semantics for XPathLog.
Provides an answer-set semantics for XPathLog queries.
Demonstrates XPathLog's capability for declarative XML data updates.
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Database Systems and Queries · Semantic Web and Ontologies · Data Management and Algorithms
