Combining Entity Resolution and Query Answering in Ontologies: A Formal Conceptual Framework

Ronald Fagin, Phokion G. Kolaitis, Domenico Lembo, Lucian Popa, Federico ScafoglieriSEBD 2024

Abstract

This research introduces a formal conceptual framework that bridges the gap between Entity Resolution (ER) and Ontology-Based Query Answering (OBQA). Traditional logic-based systems often fail when faced with conflicting real-world data. By redefining data satisfaction through the use of equivalence classes (E-sets) and value sets (V-sets), the framework allows ontologies to remain logically consistent even when faced with conflicting or redundant records. The authors propose a modified "chase" algorithm to derive certain answers, providing a robust solution for data integration tasks where traditional First-Order Logic would otherwise fail.

Introduction

In the realm of Description Logics and database theory, data is often idealized as "clean." However, real-world datasets frequently contain duplicates and conflicting attributes—for instance, a single individual appearing under multiple identifiers or having multiple recorded phone numbers when only one is expected. Standard logic is brittle in these cases; an Equality-Generating Dependency (egd) that mandates uniqueness will cause the entire system to become inconsistent if violated, rendering query answering impossible. This paper addresses the need for a logic that performs Entity Resolution and Query Answering simultaneously without discarding conflicting data.

Methodology: E-sets and V-sets

To handle messy data, the authors move away from rigid single-value assignments. Instead, they utilize two novel concepts:

  1. E-sets: Equivalence classes that group all identifiers referring to the same real-world entity.
  2. V-sets: Collections of alternative attribute values, preserving all available data rather than forcing a premature choice.

This "relaxed" satisfaction means that when a rule suggests two records represent the same entity, the system merges them into a set rather than flagging a logical error.

Mapping logical atoms to entity and value sets (E-sets and V-sets).

The Tailored Chase Procedure

The core of the framework is a modified "chase" algorithm. The chase is a standard tool for inferring missing information and enforcing constraints. The authors' variant includes three specific operations:

  • Entity-egd chase: Merges entity identifiers into a single E-set.
  • Value-egd chase: Merges conflicting attribute values into a single V-set.
  • Tgd chase: Adds new facts based on the ontology's rules (tuple-generating dependencies).
Application of a rule (tgd) to derive new facts from merged entity sets.

Key Results and Insights

The framework's primary strength is its robustness. It guarantees that a "universal solution" always exists, from which "certain answers" (results true in every valid interpretation) can be extracted.

  • Theorem 1 (Certain Answers): The authors demonstrate that certain answers to conjunctive queries can be computed directly from the universal solution by filtering out nulls and redundant results.
  • Theorem 2 (Chase Correctness): The modified chase procedure is proven to correctly produce this universal solution upon termination.

By treating inconsistency as a set of alternatives rather than a logical failure, the framework maintains the structural integrity of the ontology while accommodating the nuances of real-world data.

Conclusion and Future Directions

While the framework provides a solid theoretical foundation, challenges remain regarding the termination of the chase procedure and the computational complexity of query answering in highly expressive ontologies. Future work will focus on identifying tractable fragments of logic and handling scenarios where the universal solution might be infinite but still requires meaningful query extraction.

Summary updated

BibTeX
@inproceedings{fagin2024combining,
  author = {Ronald Fagin and Phokion G. Kolaitis and Domenico Lembo and Lucian Popa and Federico Scafoglieri},
  title = {{Combining Entity Resolution and Query Answering in Ontologies: A Formal Conceptual Framework}},
  booktitle = {SEBD},
  year = {2024},
}
Figure