encyclopegia.org

Entity–relationship model

using Chen's notations An entity–relationship model (or ER model) describes interrelated things of interest in a specific domain of knowledge.[src] A basic ER model is composed of entity types (which classify the things of interest) and specifies relationships that can exist between entities (instances of those entity types).[src] In software engineering, an ER model is commonly formed to represent things a business needs to remember in order to perform business processes.[src] Consequently, the ER model becomes an abstract data model, that defines a data or information structure that can be implemented in a database, typically a relational database.[src] Entity–relationship modeling was developed for database and design by Peter Chen and published in a 1976 paper, with variants of the idea existing previously.[src] Today it is commonly used for teaching students the basics of database structure.[src] Some ER models show super and subtype entities connected by generalization-specialization relationships, and an ER model can also be used to specify domain-specific ontologies.[src]

using Chen's notations]] An entity–relationship model (or ER model) describes interrelated things of interest in a specific domain of knowledge.[src] A basic ER model is composed of entity types (which classify the things of interest) and specifies relationships that can exist between entities (instances of those entity types).[src] In software engineering, an ER model is commonly formed to represent things a business needs to remember in order to perform business processes.[src] Consequently, the ER model becomes an abstract data model, that defines a data or information structure that can be implemented in a database, typically a relational database.[src] Entity–relationship modeling was developed for database and design by Peter Chen and published in a 1976 paper, with variants of the idea existing previously.[src] Today it is commonly used for teaching students the basics of database structure.[src] Some ER models show super and subtype entities connected by generalization-specialization relationships, and an ER model can also be used to specify domain-specific ontologies.[src] ===Relationships, roles, and cardinalities=== Chen's original paper gives an example of a relationship and its roles.[src] He describes a relationship "marriage" and its two roles, "husband" and "wife".[src] A person plays the role of husband in a marriage (relationship) and another person plays the role of wife in the (same) marriage.[src] These words are nouns.[src] Chen's terminology has also been applied to earlier ideas.[src] The lines, arrows, and crow's feet of some diagrams owes more to the earlier Bachman diagrams than to Chen's relationship diagrams.[src] Another common extension to Chen's model is to "name" relationships and roles as verbs or phrases.[src] ===Role naming=== It has also become prevalent to name roles with phrases such as is the owner of and is owned by.[src] Correct nouns in this case are owner and possession.[src] Thus, person plays the role of owner and car plays the role of possession rather than person plays the role of, is the owner of, etc.[src] Using nouns has direct benefit when generating physical implementations from semantic models.[src] When a person has two relationships with car it is possible to generate names such as owner_person and driver_person, which are immediately meaningful.[src] ===Cardinalities=== Modifications to the original specification can be beneficial.[src] Chen described look-across cardinalities.[src] As an aside, the Barker–Ellis notation, used in Oracle Designer, uses same-side for minimum cardinality (analogous to optionality) and role, but look-across for maximum cardinality (the crow's foot).[src] Research by Merise, Elmasri & Navathe and others has shown there is a preference for same-side for roles and both minimum and maximum cardinalities, and researchers (Feinerer, Dullea et al.) have shown that this is more coherent when applied to n-ary relationships of order greater than 2.[src] Dullea et al.[src] states: "A 'look across' notation such as used in the UML does not effectively represent the semantics of participation constraints imposed on relationships where the degree is higher than binary." Feinerer says: "Problems arise if we operate under the look-across semantics as used for UML associations.[src] Hartmann investigates this situation and shows how and why different transformations fail." (Although the "reduction" mentioned is spurious as the two diagrams 3.4 and 3.5 are in fact the same) and also "As we will see on the next few pages, the look-across interpretation introduces several difficulties that prevent the extension of simple mechanisms from binary to n-ary associations." Chen's notation for entity–relationship modeling uses rectangles to represent entity sets, and diamonds to represent relationships appropriate for first-class objects: they can have attributes and relationships of their own.[src] If an entity set participates in a relationship set, they are connected with a line.[src] Attributes are drawn as ovals and connected with a line to exactly one entity or relationship set.[src] Cardinality constraints are expressed as follows: a double line indicates a participation constraint, totality, or surjectivity: all entities in the entity set must participate in at least one relationship in the relationship set; an arrow from an entity set to a relationship set indicates a key constraint, i.e.[src] injectivity: each entity of the entity set can participate in at most one relationship in the relationship set; a thick line indicates both, i.e.[src] bijectivity: each entity in the entity set is involved in exactly one relationship.[src] an underlined name of an attribute indicates that it is a key: two different entities or relationships with this attribute always have different values for this attribute.[src] Attributes are often omitted as they can clutter up a diagram.[src] Other diagram techniques often list entity attributes within the rectangles drawn for entity sets.[src] ===Crow's foot notation=== Crow's foot notation, the beginning of which dates back to an article by Gordon Everest (1976), is used in Barker's notation, Structured Systems Analysis and Design Method (SSADM), and information technology engineering.[src] Crow's foot diagrams represent entities as boxes, and relationships as lines between the boxes.[src] Different shapes at the ends of these lines represent the relative cardinality of the relationship.[src] Crow's foot notation was in use in ICL in 1978, and was used in the consultancy practice CACI.[src] Many of the consultants at CACI (including Richard Barker) came from ICL and subsequently moved to Oracle UK, where they developed the early versions of Oracle's CASE tools, introducing the notation to a wider audience.[src] With this notation, relationships cannot have attributes.[src] Where necessary, relationships are promoted to entities in their own right: for example, if it is necessary to capture where and when an artist performed a song, a new entity "performance" is introduced (with attributes reflecting the time and place), and the relationship of an artist to a song becomes an indirect relationship via the performance (artist-performs-performance, performance-features-song).[src] Three symbols are used to represent cardinality: the ring represents "zero" the dash represents "one" the crow's foot represents "many" or "infinite" These symbols are used in pairs to represent the four types of cardinality that an entity may have in a relationship.[src] The inner component of the notation represents the minimum, and the outer component represents the maximum.[src] ring and dash → minimum zero, maximum one (optional) dash and dash → minimum one, maximum one (mandatory) ring and crow's foot → minimum zero, maximum many (optional) dash and crow's foot → minimum one, maximum many (mandatory) "The Entity Relationship Model: Toward a Unified View of Data" Entity Relationship Modelling Logical Data Structures (LDSs)—Getting started by Tony Drewry.[src] Crow's Foot Notation Kinds of Data Models—and How to Name Them—Presentation by David Hay[src]

52 sentences · 52 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Entity–relationship model." encyclopegia.org, 2026, https://encyclopegia.org/wiki/entity-relationship-model. Accessed 28 November 2026.

Chicago

"Entity–relationship model." encyclopegia.org. Accessed November 28, 2026. https://encyclopegia.org/wiki/entity-relationship-model.

APA

encyclopegia.org. (2026). Entity–relationship model. Retrieved November 28, 2026, from https://encyclopegia.org/wiki/entity-relationship-model

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

Claims

PredicateValueSource
publication date1976Wikipedia
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1370944575 · 0.5 · snapshot enwiki-001370944575

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
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

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