Structural characterizations of the navigational expressiveness of relation algebras on a tree
George H. L. Fletcher, Marc Gyssens, Jan Paredaens, Dirk Van Gucht,, Yuqing Wu

TL;DR
This paper analyzes the expressiveness of XPath fragments on XML document trees by characterizing definability of relations and paths using relation algebra, providing both global and local perspectives.
Contribution
It introduces a novel characterization framework for XPath fragment expressiveness on trees using relation algebra, with a two-step methodology for definability analysis.
Findings
Characterizes when binary relations on nodes are definable in XPath fragments.
Provides conditions for node set definability from a given node.
Establishes a two-step approach for global and local definability analysis.
Abstract
Given a document D in the form of an unordered node-labeled tree, we study the expressiveness on D of various basic fragments of XPath, the core navigational language on XML documents. Working from the perspective of these languages as fragments of Tarski's relation algebra, we give characterizations, in terms of the structure of D, for when a binary relation on its nodes is definable by an expression in these algebras. Since each pair of nodes in such a relation represents a unique path in D, our results therefore capture the sets of paths in D definable in each of the fragments. We refer to this perspective on language semantics as the "global view." In contrast with this global view, there is also a "local view" where one is interested in the nodes to which one can navigate starting from a particular node in the document. In this view, we characterize when a set of nodes in D can be…
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
TopicsLogic, Reasoning, and Knowledge · Constraint Satisfaction and Optimization · Advanced Algebra and Logic
