Skip to content

Cycles in the ER (Entity Relationship) model #780

@lgautier

Description

@lgautier

Hi,

There seems to be cycles in the ER (Entity Relationship) model. For example, with VOCAB in v6.0 it understand it to look like below (a possible additional issue is that cardinality of relationships is not documented - I am assuming that the intent is to have one-to-many):

erDiagram

   CONCEPT {} 
   CONCEPT_CLASS {}
   DOMAIN {}
  VOCABULARY {}

  CONCEPT_CLASS ||--o{ CONCEPT: "is a"
  CONCEPT ||--o{ CONCEPT_CLASS: "is a"
  CONCEPT ||--o{ DOMAIN: "belongs to"
  CONCEPT ||--o{ VOCABULARY: "adapted from"
  DOMAIN ||--o{ CONCEPT: "belongs to"
  VOCABULARY ||--o{ CONCEPT: "belong to"
Loading

I believe that the intent here is to capture ontologies, or trees (disjoint or not). A table that solely capture the edges of that graph would be more standard / get closer to a Normal Form.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions