Table of Contents
Fetching ...

Towards declarative comparabilities: application to functional dependencies

Lhouari Nourine, Jean Marc Petit, Simon Vilmin

TL;DR

A new lattice-based declarative framework is proposed that allows specification of numerous semantics for equality at a high level of abstraction and study functional dependencies (FDs) in the light of this framework, which defines abstract FDs, generalizing classical FDs.

Abstract

In real life, data are often of poor quality as a result, for instance, of uncertainty, mismeasurements, missing values or bad inputs. This issue hampers an implicit yet crucial operation of every database management system: equality testing. Indeed, equality is, in the end, a context-dependent operation with a plethora of interpretations. In practice, the treatment of different types of equality is left to programmers, who have to struggle with those interpretations in their code. We propose a new lattice-based declarative framework to address this problem. It allows specification of numerous semantics for equality at a high level of abstraction. To go beyond tuple equality, we study functional dependencies (FDs) in the light of our framework. First, we define abstract FDs, generalizing classical FDs. These lead to the consideration of particular interpretations of equality: realities. Building upon realities and possible/certain answers, we introduce possible/certain FDs and give some related complexity results.

Towards declarative comparabilities: application to functional dependencies

TL;DR

A new lattice-based declarative framework is proposed that allows specification of numerous semantics for equality at a high level of abstraction and study functional dependencies (FDs) in the light of this framework, which defines abstract FDs, generalizing classical FDs.

Abstract

In real life, data are often of poor quality as a result, for instance, of uncertainty, mismeasurements, missing values or bad inputs. This issue hampers an implicit yet crucial operation of every database management system: equality testing. Indeed, equality is, in the end, a context-dependent operation with a plethora of interpretations. In practice, the treatment of different types of equality is left to programmers, who have to struggle with those interpretations in their code. We propose a new lattice-based declarative framework to address this problem. It allows specification of numerous semantics for equality at a high level of abstraction. To go beyond tuple equality, we study functional dependencies (FDs) in the light of our framework. First, we define abstract FDs, generalizing classical FDs. These lead to the consideration of particular interpretations of equality: realities. Building upon realities and possible/certain answers, we introduce possible/certain FDs and give some related complexity results.

Paper Structure

This paper contains 29 sections, 38 theorems, 18 equations, 14 figures, 7 tables.

Key Result

Proposition 1

Let $g$ be a scheme interpretation. The following properties hold:

Figures (14)

  • Figure 1: Abstract lattices
  • Figure 2: Three possible interpretations of similarity values: $1$ above the dotted line, $0$ below.
  • Figure 3: Pipeline of the framework on $t_1$, $t_4$.
  • Figure 4: The two lattices of Example \ref{['ex:ex-lattice']}
  • Figure 5: The product $\mathcal{L}_{R}$ of abstract lattices of the context $\mathcal{C}_{R}$
  • ...and 9 more figures

Theorems & Definitions (96)

  • Example 1
  • Example 2
  • Example 3
  • Example 4
  • Example 5
  • Example 6
  • Remark 1
  • Definition 1: attribute context, scheme context
  • Example 7
  • Definition 2: interpretation
  • ...and 86 more