Informativeness of Query Answers for Knowledge Bases (Extended Abstract)

Luca Andolfi, Gianluca Cima, Marco Console, Maurizio LenzeriniDescription Logics 2024

Authors: Luca Andolfi, Gianluca Cima, Marco Console, and Maurizio Lenzerini

Introduction

In the field of Knowledge Representation, querying a Knowledge Base (KB) is more complex than querying a standard relational database. A KB consists of both specific facts (the ABox) and logical constraints or schemas (the TBox). Because a KB can have multiple "models"—different ways the world could look while still satisfying all constraints—querying must account for all these possibilities.

Traditionally, systems rely on Certain Answers, which return only the information that is true in every possible model. While logically sound, this approach often results in "lossy" answers that fail to capture the full depth of information contained within the KB. This research introduces a formal framework to quantify the "informativeness" of query answers and proposes a new class of answers that significantly increases the utility of the information returned to users.

The Problem: The Lossy Nature of Standard Answers

Standard query-answering definitions are often too restrictive. For instance, consider a KB stating that "Every employee has a supervisor" and that "Ava is an employee." If a user asks, "Who is Ava's supervisor?", a standard system will return an empty set because the specific name of the supervisor is not known.

However, the information that a supervisor exists is certain. Current systems lack a rigorous way to measure how much of this "hidden" information an answer conveys. By only returning constants (names), traditional Certain Answers ignore the logical implications of the TBox that involve unknown individuals.

A Formal Framework for Informativeness

To address this, the authors developed a framework to characterize and compare the "informative power" of different Query Answering Systems (QAS).

  1. The Ideal Construction: They define $q(\mathcal{K})$ as the set of all answers across all possible models of the KB, representing the "ideal" information content.
  2. Preservation of Knowledge: A QAS is deemed informative if the answer it returns satisfies the same logical properties as the ideal set. This is measured by identifying the largest fragment of First-Order Logic (FO) that the answer "preserves."
  3. Quantifiable Comparison: This framework moves beyond subjective assessments, allowing researchers to prove that one answer definition is more informative than another if it preserves a larger fragment of logic (e.g., existential positive logic).

The $n$-Connected Answer ($n$-CA) Approach

The core innovation of this paper is the introduction of $n$-Connected Answers. The authors suggest that variables should not just be internal query tools; they can be part of the answer itself.

Instead of returning only tuples of constants, an $n$-CA returns sets of atoms that include variables representing unknown individuals. For example, the system could return a variable $x$ and the statement $hasSupervisor(Ava, x)$. This provides more information than an empty result. An "$n$-CA" is defined as a set of connected atoms using at most $n$ distinct variables, creating a tunable scale of informativeness: as $n$ increases, the answer captures more certain knowledge.

Key Results and Complexity

The research establishes several critical theoretical results:

  • Inadequacy of Ground Atoms: The authors prove that standard certain answers only preserve ground atoms (facts with no variables), confirming their limited informativeness.
  • Power of Variables: They demonstrate that certain $n$-answers preserve all certain knowledge expressible in existential positive formulae using up to $n$ variables.
  • Computational Feasibility: For common KB languages used in the Semantic Web (such as DL-Lite), the authors show that constructing these $n$-answers is decidable. The data complexity remains the same as standard query answering, making the approach theoretically viable for real-world applications.

Conclusion and Future Work

This work provides a foundational shift in how we view query results in Knowledge Bases. By treating variables as information carriers, systems can provide much richer responses to user queries.

Future research directions include the development of efficient enumeration algorithms to generate these $n$-answers in practice. Additionally, the authors suggest applying this informativeness framework to other domains, such as queries involving mathematical aggregations (SUM, AVG) or Consistent Query Answering in KBs containing conflicting data.

Summary updated

BibTeX
@inproceedings{andolfi2024informativeness,
  author = {Luca Andolfi and Gianluca Cima and Marco Console and Maurizio Lenzerini},
  title = {{Informativeness of Query Answers for Knowledge Bases (Extended Abstract)}},
  booktitle = {Description Logics},
  year = {2024},
  url = {https://openreview.net/forum?id=pHzgfE1ct6},
}
Figure