Skip to content

Imieliński–Lipski Algebra

A query-relative system for extending relational operations to representations of incomplete information.

Core Idea

Imieliński–Lipski algebras extend relational operations to representations of incomplete information. A table with unknown values stands for a family of possible complete relations; an extended query operates on the table while preserving the conclusions observable through a specified class of relational expressions. The choice of representation and the permitted query operators jointly determine what can be preserved.[1]

The 1984 framework formalizes this as a representation system ⟨T, Rep, Ω⟩. Here T is a class of incomplete multitables, Rep maps each one to the complete multirelations it can represent, and Ω is a chosen set of relational operators. For a query f and table T, the paper requires the represented result to be Ω-equivalent to the family obtained by applying f to each possibility in Rep(T). Equivalence means agreement on certain conclusions expressible by subsequent Ω-queries; it need not mean the two families of possible worlds are identical.[1]

How would you explain it like I'm…

The Chart With Blanks

Imagine a chart with a few blank spots where nobody knows the answer. That chart could stand for lots of different finished charts, one for each way to fill the blanks. Imieliński–Lipski Algebra is a set of rules for asking questions of the chart with blanks, so the answers agree with what all the finished charts would tell you, for the kinds of questions you're allowed to ask.

Asking Questions About Blanks

Computers store facts in tables. Sometimes a value is unknown, so a table with blanks really stands for many possible complete tables, one for each way the blanks could be filled in. Imieliński–Lipski algebra gives rules for running questions (queries) directly on the table with blanks. The rule is that the answer should agree with what you'd learn by asking the same question of every possible complete table, at least for the kinds of follow-up questions you are allowed to ask. Which questions are allowed and how the blanks are written together decide what can be kept true.

Query Rules for Incomplete Tables

Databases organize data in relations (tables), but real data is often incomplete, with unknown values. Imieliński–Lipski algebras extend the usual relational operations — like selecting rows or joining tables — so they can work on tables containing unknowns. Such a table represents a whole family of possible complete tables, sometimes called possible worlds. An extended query runs on the incomplete table itself, and the result must preserve the conclusions you could draw by running the query on every possible world — at least the conclusions visible through a chosen class of follow-up queries. This doesn't mean the result represents exactly the same set of possible worlds; it only has to agree on those observable conclusions. How you represent unknowns and which operators you allow together decide what can be preserved.

 

Imieliński–Lipski algebras, from a 1984 framework, extend relational algebra to representations of incomplete information. The central object is a representation system ⟨T, Rep, Ω⟩: T is a class of incomplete multitables (tables containing unknown values), Rep maps each table to the set of complete multirelations it can represent (its possible worlds), and Ω is a chosen set of relational operators. A query f evaluated on a table T must produce a table whose represented set is Ω-equivalent to the set obtained by applying f to every possible world in Rep(T). Ω-equivalence means agreement on the conclusions that subsequent Ω-queries can express; it does not require the two sets of possible worlds to coincide. The power of the system therefore depends jointly on the table representation chosen and on the class of operators permitted.

Safe and Complete Conclusions

For a query, a certain answer is present in the query result for every represented complete relation. Safety means an asserted conclusion is correct across the relevant possibilities; completeness means no valid conclusion expressible in the specified language is lost. Both depend on the representation, query class and semantics. Preserving current certain tuples alone is not enough if later operations can distinguish information lost by an intermediate result.[1]

In the paper’s usual open-world interpretation, a represented complete relation may include additional tuples beyond those explicitly described. Under its modified closed-world interpretation, valuations yield the complete relation without arbitrary extra tuples. The two interpretations are different assumptions about possible worlds, not simply two notations for the same answer.[1]

Three Table Representations

Codd tables use a single null symbol for unknown entries. The authors construct a representation system supporting projection and selection, including arbitrary Boolean selection conditions. They also prove that Codd tables cannot supply such a system for projection and join together. The result does not say that every naive null-evaluation rule correctly implements arbitrary selection.[1]

V-tables permit marked nulls, or variables: repeated occurrences of one variable denote the same unknown value under a valuation, while distinct variables may receive equal or different values. Under the paper’s infinite-attribute-domain assumption, the V-table system supports projection, positive selection, union, join and renaming. In this setting naive evaluation of the supported expressions gives the required query-relative correctness. Arbitrary negated selections are outside that stated V-table guarantee; the paper shows projection together with arbitrary selection cannot in general be supported by a V-table representation system.[1]

Conditional tables, or C-tables, attach a Boolean condition to each tuple as well as allowing variables. A valuation includes a tuple when its condition is true. The paper gives a system supporting projection, selection, union, join and renaming; under its modified closed-world interpretation it also supports difference, obtaining the full relational-algebra operations discussed there. This extra difference result must not be silently transferred to the open-world interpretation.[1]

A Null-Logic Contrast

Suppose a known row has a known id and an unknown, but definite non-null, value for semester. A query selects id from that row with WHERE semester = 'Spring' OR semester <> 'Spring'. Every ordinary completion of that value makes the condition true. In PostgreSQL, however, if the stored value is SQL NULL, each ordinary comparison yields unknown; unknown OR unknown remains unknown, and WHERE discards the row. Under the stated possible-completions interpretation that known id is a certain answer, although this SQL evaluation does not return it.[2][3][4]

This example fixes a particular meaning for the missing value and a particular query; SQL NULL may be used for other meanings, and the example is not a claim about all possible SQL queries or extensions. It illustrates why a three-valued evaluation rule and a possible-worlds certain-answer criterion must be compared under explicit assumptions.

Boundaries

A single null marker does not by itself specify which occurrences must share a value, what worlds are possible, or what a query result means. Marked nulls preserve equality constraints; conditions can encode alternatives. More expressive representation and a larger query language have costs and different guarantees. The formal paper’s query-relative equivalence is weaker than demanding exact equality of possible-world sets, and it does not assert universal efficient certain-answer evaluation for arbitrary queries.[1]

Relationships to Other Abstractions

Local relationship map for Imieliński–Lipski AlgebraParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Imieliński–LipskiAlgebraDOMAINPrime abstraction: Representation — presupposesRepresentationPRIME

Current abstraction Imieliński–Lipski Algebra Domain-specific

Parents (1) — outgoing typed relations

  • Imieliński–Lipski Algebra presupposes Representation Prime

    Incomplete multitables represent families of possible complete multirelations.

Hierarchy path (1) — routes to 1 parentless root

Neighborhood in Abstraction Space

Imieliński–Lipski Algebra sits in a sparse region of the domain-specific corpus (86th percentile for distinctiveness): few abstractions share its structure, so a faithful description tends to retrieve it precisely.

Family — Unclustered & Miscellaneous (3155 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14

References

[1] Imieliński, Tomasz, and Witold Lipski Jr. (1984), “Incomplete Information in Relational Databases,” Journal of the ACM 31(4):761–791, university-hosted paper, doi:10.1145/1634.1886. registry ↩a ↩b ↩c ↩d ↩e ↩f ↩g ↩h

[2] PostgreSQL Global Development Group, “Comparison Functions and Operators,” PostgreSQL 18 documentation. registry ↩

[3] PostgreSQL Global Development Group, “Logical Operators,” PostgreSQL 18 documentation. registry ↩

[4] PostgreSQL Global Development Group, “Table Expressions,” PostgreSQL 18 documentation. registry ↩