Reasoning on Multi-Relational Contextual Hierarchies via Answer Set Programming with Algebraic Measures (Extended Abstract)

Loris Bozzato, Thomas Eiter, Rafael KieselDescription Logics 2022 · OpenReview

Introduction: The Challenge of Contextual Knowledge

In classical logic, rules are typically absolute. However, real-world knowledge is often context-dependent and defeasible, meaning specific local information can override general global rules. For instance, a corporate policy might dictate that supervisors work in Electronics, but a specific branch might require them in Robotics.

Existing frameworks like Contextualized Knowledge Repositories (CKR) manage this through a single dimension of specificity, often represented as a hierarchy of contexts. While effective for simple overrides, these models struggle when multiple dimensions of exceptions—such as location and time—overlap.

A standard hierarchical context structure showing world, branch, and local levels.

Multi-Relational Contextual Knowledge Repositories (MR-CKR)

To address these complexities, the authors introduce Multi-Relational CKR (MR-CKR). This framework generalizes standard CKR to handle multiple relations simultaneously (e.g., a "coverage" relation for space and a "time" relation for years). This allows developers to specify exactly why a rule is being overridden—whether due to a change in location or a change in time.

A multi-relational context structure illustrating how rules evolve across both organizational hierarchy and time (2019–2021).

Methodology: ASP with Algebraic Measures

To implement MR-CKR, the authors leverage a novel extension of Answer Set Programming (ASP) that utilizes algebraic measures (semirings). This approach moves beyond binary Boolean logic to perform quantitative "weighted" reasoning. Instead of merely determining if a model is true, the system calculates a measure to determine which model is "preferred" based on the hierarchy of contexts.

Key technical contributions include:

  • Syntactic Disconnectedness Condition: A structural requirement identified by the authors that allows complex MR-CKRs to be processed efficiently by the asprin preference-handling solver.
  • Materialization Calculus: A uniform ASP program used to translate Description Logic (DL) axioms into executable logic programs, specifically focusing on Horn-description logics.

Key Results and Prototype

The authors demonstrated that MR-CKR can correctly derive complex logical outcomes where multiple rules conflict. In their illustrative example, the system correctly tracks a supervisor switching from "Electronics" in 2019 to "Robotics" or "Remote Work" in 2020/2021 by resolving the interaction between temporal and local rules.

Furthermore, the authors proved that while the general problem is computationally difficult, MR-CKRs can be expressed efficiently in the asprin solver under their "disconnectedness" condition. A prototype implementation confirms the theoretical framework is practical for real-world application.

Limitations and Future Work

The current implementation relies on specific syntactic constraints for performance and focuses primarily on Horn-Description Logics. Future work will aim to expand the framework to non-Horn DLs, which allow for more complex "either/or" statements, and to test the system against massive, real-world datasets to evaluate its scalability in messy, non-controlled environments.

Summary updated

BibTeX
@inproceedings{bozzato2022reasoning,
  author = {Loris Bozzato and Thomas Eiter and Rafael Kiesel},
  title = {{Reasoning on Multi-Relational Contextual Hierarchies via Answer Set Programming with Algebraic Measures (Extended Abstract)}},
  booktitle = {Description Logics},
  year = {2022},
  url = {https://openreview.net/forum?id=wlUL0UCudA},
}
Figure