encyclopegia.org

embedded dependency

In relational database theory, an embedded dependency (ED) is a certain kind of constraint on a relational database. It is the most general type of constraint used in practice, including both tuple-generating dependencies and equality-generating dependencies. Embedded dependencies can express functional dependencies, join dependencies, multivalued dependencies, inclusion dependencies, foreign key dependencies, and many more besides. An algorithm known as the chase takes as input an instance that may or may not satisfy a set of EDs, and, if it terminates (which is a priori undecidable), output an instance that does satisfy the EDs.

In relational database theory, an embedded dependency (ED) is a certain kind of constraint on a relational database. It is the most general type of constraint used in practice, including both tuple-generating dependencies and equality-generating dependencies. Embedded dependencies can express functional dependencies, join dependencies, multivalued dependencies, inclusion dependencies, foreign key dependencies, and many more besides. An algorithm known as the chase takes as input an instance that may or may not satisfy a set of EDs, and, if it terminates (which is a priori undecidable), output an instance that does satisfy the EDs. where \{z_1,\ldots,z_k\} = \{y_1,\ldots,y_m\} \setminus \{x_1,\ldots,x_n\} and \phi and \psi are conjunctions of relational and equality atoms. A relational atom has the form R(w_1,\ldots,w_h) and an equality atom has the form w_i = w_j , where each of the terms w, ..., w_h, w_i, w_j are variables or constants. Actually, one can remove all equality atoms from the body of the dependency without loss of generality. For instance, if the body consists in the conjunction A(x,y) \land B(y,z,w) \land y=3 \land z=w , then it can be replaced with A(x,3)\land B(3,z,z) (analogously replacing possible occurrences of the variables y and w in the head). Analogously, one can replace existential variables occurring in the head if they appear in some equality atom. \forall x_1,\ldots,x_n . \phi(x_1,\ldots,x_n) \rightarrow \bigvee_{i=1}^\ell \exists z_1^i, \ldots, z_k^i . \psi(y_1^i,\ldots,y_m^i) where \{z_1^i,\ldots,z_k^i\} = \{y_1^i,\ldots,y_m^i\} \setminus \{x_1,\ldots,x_n\} and \phi and \psi are conjunctions of relational and equality atoms. Disjunctive embedded dependencies are more expressive than simple embedded dependencies, because DEDs in general can not be simulated using one or more EDs. A further extension is the disjunctive embedded dependency with inequalities (indicated with DED ^\ne ), in which every \psi may contain also inequality atoms. However, this extension does not enhance expressive power, as DEDs are already expressively complete for recursively enumerable Boolean query answering. All the restriction above can be applied also to disjunctive embedded dependencies. Beside them, DEDs can also be seen as a generalization of disjunctive tuple-generating dependencies (DTGDs). Unlike the relationship between DEDs and EDs, when considering query answering with conjunctive queries (CQs), DTGDs can always be equivalently rewritten as TGDs. However, if unions of conjunctive queries (UCQs) are allowed in query answering, the expressive power of DTGDs still strictly exceeds that of TGDs. In addition, it is also noteworthy that DEDs are strictly more expressive than DTGDs.

References

No reference rows published for this article.

Cite this article

MLA

"embedded dependency." encyclopegia.org, 2026, https://encyclopegia.org/wiki/embedded-dependency. Accessed 24 November 2026.

Chicago

"embedded dependency." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/embedded-dependency.

APA

encyclopegia.org. (2026). embedded dependency. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/embedded-dependency

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · tier1-factual · https://en.wikipedia.org/w/index.php?oldid=1368396580 · 0.55 · snapshot embedded-dependency-1968427-afac77b3634d3bea · QID Q18206789

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.