Introduction
In the field of knowledge representation, two paradigms dominate: Datalog, which excels at rule-based reasoning and deductive databases, and Description Logics (DLs), which provide the formal foundation for the Semantic Web and the Web Ontology Language (OWL). While Datalog is proficient at handling complex rules, it often struggles with "existential" information—statements about individuals whose identity is unknown (e.g., "every person has a parent"). Conversely, DLs manage these existentials effectively but frequently lack the flexibility of Datalog’s nonmonotonic negation (negation-as-failure).
This paper introduces Equality-Friendly Well-Founded Semantics (EFWFS), a novel framework designed to bridge these two worlds. By extending Datalog± with a semantics that does not rely on the Unique Name Assumption (UNA), the authors provide a pathway for integrating powerful rule-based negation into ontology languages like OWL.
The Challenge of the Unique Name Assumption
A significant hurdle in merging Datalog and DLs has been the Unique Name Assumption (UNA). In traditional database systems, different constants (e.g., "John" and "Jonathan") are assumed to represent different entities. However, in the open-world environment of the Semantic Web, this assumption is often invalid; two different names may refer to the same object.
Previous attempts to apply Well-Founded Semantics (WFS)—the standard approach for handling negation in logic programming—to Datalog-style rules typically required the UNA. This research addresses this gap by defining a version of WFS that remains robust even when the identity of constants is not unique, making the logic "equality-friendly" and compatible with OWL standards.
Methodology: Guarded Normal Datalog±
The authors focus on a family of languages known as guarded normal Datalog±. Their methodology involves four key components:
- Language Extension: They extend standard Datalog±, which allows for existential variables in rule heads, by incorporating non-stratified negation in rule bodies.
- Defining EFWFS: The semantics considers all possible ways constants can be identified and all possible ways existential variables can be instantiated. It then applies well-founded semantics across these potential interpretations.
- Translation to Guarded Fixed Point Logic (GFP): To establish decidability, the authors map EFWFS into GFP. GFP is a fragment of first-order logic that includes fixed-point operators and is known to be decidable, providing a rigorous mathematical foundation for the new semantics.
- Complexity Analysis: By utilizing the properties of GFP, the researchers derive the computational costs associated with query answering under EFWFS.
Key Insights and Expressivity
The research highlights the Power of Guardedness. By restricting rules such that all variables in a rule must appear together in a single "guard" atom in the body, the authors maintain decidability. This restriction allows the logic to combine existentials, recursion, and negation without becoming computationally intractable.
Furthermore, the paper demonstrates that guarded Datalog± is expressive enough to encompass major Description Logics, including the $\mathcal{EL}$ and $DL-Lite$ families. This implies that EFWFS provides a "free" upgrade to these DLs, enabling them to handle negation-as-failure while maintaining their core ontological capabilities.
Results and Complexity
The paper establishes several landmark results for query answering under EFWFS:
- Decidability: Conjunctive query answering is proven to be decidable for guarded normal Datalog±.
- Combined Complexity: In the general case, the problem is 2-EXPTIME-complete.
- Optimized Complexity: For queries with bounded arity or acyclic structures, the complexity reduces to EXPTIME-complete.
- DL Extensions: The authors provide the first precise definitions for WFS extensions of $\mathcal{EL}$ and $DL-Lite$, along with their respective complexity bounds.
Conclusion and Future Work
While this work provides a robust theoretical foundation for equality-friendly negation, several avenues for future research remain. The current study focuses on combined complexity; further investigation into data complexity—how the system scales as the volume of data grows—is essential for practical database applications. Additionally, the framework does not yet explicitly handle "keys" or functional dependencies (e.g., a Social Security Number uniquely identifying a person). Future efforts may also focus on the implementation of practical query-answering engines to bring EFWFS into real-world Semantic Web applications.
Summary updated