📑 Table of Contents

In relational database theory, an equality-generating dependency (EGD) is a certain kind of constraint on data. It is a subclass of the class of embedded dependencies (ED).

An algorithm known as the chase takes as input an instance that may or may not satisfy a set of EGDs (or, more generally, a set of EDs), and, if it terminates (which is a priori undecidable), output an instance that does satisfy the EGDs.

An important subclass of equality-generating dependencies are functional dependencies.

Definition

edit

An equality-generating dependency is a sentence in first-order logic of the form:

where , is a conjunction of relational and equality atoms and is a non-empty conjunction of equality atoms. A relational atom has the form and an equality atom has the form , where each of the terms are variables or constants.

Actually, one can remove all equality atoms from the body of the dependency without loss of generality.[1] For instance, if the body consists in the conjunction , then it can be replaced with (analogously replacing possible occurrences of the variables and in the head).

An equivalent definition is the following:[2]

where . Indeed, generating a conjunction of equalities is equivalent to have multiple dependencies which generate only one equality.

References

edit
  1. ^ (Abiteboul, Hull & Vianu 1995, p. 217)
  2. ^ Calì, Andrea; Pieris, Andreas (2011). On Equality-Generating Dependencies in Ontology Querying - Preliminary Report (PDF). Alberto Mendelzon International Workshop on Foundations of Data Management (AMW 2011).

Further reading

edit


📚 Artikel Terkait di Wikipedia

Functional dependency

classification of dependencies: functional dependencies are equality-generating dependencies whereas inclusion dependencies are tuple-generating dependencies. Enforcing

Embedded dependency

tuple-generating dependencies and equality-generating dependencies. Embedded dependencies can express functional dependencies, join dependencies, multivalued

Dependency theory (database theory)

recognized dependency types are: Functional dependency Join dependency Multivalued dependency Tuple-generating dependency Transitive dependency Equality-generating

EGD

may refer to: Engadine railway station, in Sydney, Australia Equality-generating dependency Esophagogastroduodenoscopy Ethernet Global Data Protocol Engineering

Media system dependency theory

Media system dependency theory (MSD), or simply media dependency, was developed by Sandra Ball-Rokeach and Melvin Defleur in 1976. The theory is grounded

Welfare dependency

Welfare dependency is the state in which a person or household is reliant on government welfare benefits for their income for a prolonged period of time

Context-free grammar

grammar (extrinsic properties). The language equality question (do two given context-free grammars generate the same language?) is undecidable. Context-free

Equivalence relation

common example of an equivalence relation. A simpler example is numerical equality. Any number a {\displaystyle a} is equal to itself (reflexive). If a =