Frontiers and Exact Learning of ELI Queries under DL-Lite Ontologies

Maurice Funk, Jean Christoph Jung, Carsten Lutz · DOI

Introduction

In the field of knowledge representation and database theory, Ontology-Mediated Querying (OMQ) has emerged as a powerful paradigm. Unlike traditional querying, where a user interacts directly with a database, OMQ allows users to query data through the lens of an ontology—a set of logical constraints and domain knowledge that enriches the underlying data. While this approach provides more complete answers by accounting for implicit information, it significantly complicates the task of query discovery.

Identifying the correct query to retrieve specific information is a non-trivial task for non-experts. A recent study by Maurice Funk, Jean Christoph Jung, and Carsten Lutz, titled "Frontiers and Exact Learning of $\mathcal{ELI}$ Queries under DL-Lite Ontologies," addresses this by exploring how complex, tree-shaped queries can be learned efficiently in the presence of ontologies from the DL-Lite family.

The Problem: Learning in the Presence of Logic

The paper focuses on the framework of Exact Learning, where a "learner" attempts to identify a target query by interacting with an "expert" (or oracle). The learner can ask Membership Queries: "Does this specific data instance satisfy the target query?"

The target queries in question are $\mathcal{ELI}$ queries (ELIQs). These are unary conjunctive queries that possess a tree structure, making them highly expressive for describing hierarchical relationships in description logics. The primary challenge is that an ontology can fundamentally alter the search space. Rules such as "Every Surgeon is a Doctor" or "Every heart has exactly one left ventricle" mean that the relationship between queries is no longer just a matter of syntax, but of logical entailment. Previous research established methods for learning these queries in isolation, but adding an ontology often makes the space of possible queries infinite or exponentially large, rendering standard learning algorithms ineffective.

The Concept of Frontiers

The authors’ theoretical breakthrough centers on the existence and size of frontiers. In the context of a query $q$, a frontier is a set of queries that are "just a little bit" more general than $q$. More formally, the frontier consists of the most specific queries that strictly subsume $q$ under the constraints of the ontology.

If a query has a small (polynomial-sized) frontier that can be computed efficiently, a learner can systematically "climb" the lattice of possible queries. By starting with a specific "seed" query and iteratively moving to more general queries in the frontier based on the expert's feedback, the learner can eventually converge on the target query.

Algorithmic Contributions

The "Generalize and Compensate" Framework

For the ontology dialect DL-Lite$^H$ (which supports role hierarchies), the authors developed a robust two-step construction for computing frontiers:

  1. Generalize: The algorithm creates a set of candidate queries by slightly relaxing the structure of $q$—for instance, by dropping a property or generalizing a concept atom.
  2. Compensate: Because the ontology might imply certain properties, a simple relaxation might result in a query that is too general. The algorithm "compensates" by adding back specific atoms required by the ontology to ensure the resulting query is a "least general generalization."

The research highlights a significant divide between different types of logical constraints. While role hierarchies (DL-Lite$^H$) are well-behaved, the authors discovered that functional roles (e.g., "each person has exactly one biological father") in DL-Lite$^F$ present a major obstacle. They proved that in DL-Lite$^F$, frontiers can actually be infinite, making polynomial-time learning impossible in the general case.

To circumvent this, they identified a syntactic restriction termed DL-Lite$^{F-}$. This fragment retains the ability to model functional constraints but restricts their interaction with the query structure in a way that keeps frontiers finite and small.

Key Results and Insights

  • Polynomial Efficiency: The study proves that for DL-Lite$^H$ and the restricted DL-Lite$^{F-}$, the frontier of an ELIQ is always of polynomial size relative to the query and the ontology. Furthermore, these frontiers can be computed in polynomial time.
  • Exact Learnability: Consequently, ELIQs are learnable in polynomial time using only membership queries, provided the learner starts with a "seed" example (an instance known to be in the target query's result set).
  • The Limits of Complexity: The authors also provided negative results, showing that even minor increases in ontological expressivity—such as allowing simple conjunctions in the antecedents of rules (e.g., $A \sqcap B \sqsubseteq C$)—cause the size of the frontier to explode exponentially. This defines a clear boundary for where efficient query learning is theoretically possible.

Conclusion

This research provides a foundational map for query learning under ontologies. By identifying that role hierarchies are computationally "safe" for learning while functionality requires careful restriction, the authors have paved the way for more intelligent data exploration tools.

Future work remains to bridge the gap between these theoretical fragments. The authors suggest investigating the full DL-Lite$_{core}^{HF}$ fragment (combining both hierarchies and functionality) and exploring whether more general Conjunctive Queries (which may contain cycles) can be learned if the expert is allowed to provide counterexamples through Equivalence Queries.

Summary updated

BibTeX
@inproceedings{funk2022frontiers,
  author = {Maurice Funk and Jean Christoph Jung and Carsten Lutz},
  title = {{Frontiers and Exact Learning of ELI Queries under DL-Lite Ontologies}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.24963/ijcai.2022/364},
}
Figure