Abstract
This research explores the integration of XPath, the standard for querying tree and graph data, into the DL-Lite family of description logics. By introducing DLXPath, the authors address the limitations of Conjunctive Queries (CQs) in navigational tasks. The study identifies complexity bounds for various fragments of DLXPath, demonstrating that while full negation leads to undecidability under the Open World Assumption, restricted "path-positive" fragments offer a powerful yet decidable alternative for querying ontologies.
Introduction
In the domain of Ontology-Based Data Access (OBDA), querying knowledge bases typically relies on Conjunctive Queries (CQs). While CQs are effective for relational data retrieval, they are inherently ill-suited for navigational tasks, such as traversing paths of arbitrary length or evaluating complex conditions along a route. While graph databases utilize languages like XPath for these purposes, ontologies present a unique challenge due to the Open World Assumption (OWA). This paper investigates whether the navigational power of XPath can be effectively brought to DL-Lite ontologies without compromising decidability.
The DLXPath Framework
The authors introduce DLXPath, categorized into two main versions:
- DLXPath$_{core}$: Based on the core navigational features of XPath for XML trees.
- DLXPath$_{reg}$: A more expressive version allowing transitive closure (regular expressions) over complex path expressions.
The computational feasibility of these languages depends heavily on the level of negation permitted: Positive (no negation), Path-positive (negation on concepts and roles only), and Full (unrestricted negation).
Formal Semantics and Methodology
The research leverages a deep connection between Description Logics and Propositional Dynamic Logic (PDL)—originally designed for reasoning about computer programs—to establish complexity bounds. The semantics of the logic are defined by the satisfaction of axioms and assertions within an interpretation $\mathcal{I}$.
As a theoretical research paper, the methodology focuses on formal proofs rather than empirical benchmarks. The central problem addressed is determining Certain Answers over DLXPath queries. This involves checking if a pair of individuals $(c_1, c_2)$ satisfies a query $\alpha$ across all possible models of a knowledge base $\mathcal{K}$.
Key Results and Complexity
The study provides a comprehensive map of complexity across different DLXPath fragments. A critical finding is the "Negation Trap": allowing full negation in path queries under the OWA makes the problem undecidable. However, by restricting negation to basic concepts and roles (the "Path-positive" fragment), the authors identify a fragment that is expressive enough for most practical uses while remaining decidable.
| Fragment | Data Complexity | Combined Complexity |
|---|---|---|
| Positive | NLOGSPACE-complete | NP-complete (Core) / EXPTIME-complete (Reg) |
| Path-positive | CONP-complete | EXPTIME-complete |
| Full XPath | Undecidable | Undecidable |
While DL-Lite is designed for simple query answering, this work shows that complex query languages like XPath can "overpower" that simplicity, pushing data complexity from NLOGSPACE to CONP-complete for the path-positive fragment.
Conclusion and Future Work
DLXPath significantly extends the querying capabilities of DL-Lite ontologies, enabling navigational queries that are impossible with standard CQs. While the transition to navigational queries can increase complexity, the identification of the decidable "path-positive" fragment provides a roadmap for implementing powerful query engines. Future work includes developing practical heuristics for the path-positive fragments and testing these queries on real-world graph engines.
Summary updated