Entity Relationships

In an Entity Relationship, one relationship covers both the forward and reverse relations.

Any entity relationship has the following properties:

  • Define links between entities:
    • Entity-Entity
  • May have attributes
  • Support Taxonomies
  • Are directional
  • May have rules

For example: One relationship (parent):

The above example indicates that:

  • John is the parent of Sandra
  • Sandra is the child of John

In addition, rules may be added to the directional context based on the value of an entity attribute (for example, Gender):

  • John (Male) is father of Sandra
  • Sandra (Female) is daughter of John

Relationships have their own properties including:

  • Name
  • Description
  • Direction-un-directed, directed, bi-directional
  • Start and End entities for the relationship
  • Directional context
  • Base attributes
  • Simple
  • Complex

Relationships can be organized into hierarchies by defining subtypes that are a more specific version of the parent supertype. For example, a "family" relationship can be a supertype of "father", "mother", "sister", "brother" relationships. If a relationship type has a supertype, it will inherit the properties and attributes from the supertype. A relation can also have its own custom attributes. Relationships are directional - they have a start object and an end object, and the relationship has a "labelPattern" which is displayed in any relationship facets that display the relationship:

In the example above, Brenda Lee Sheehan has healthcare role with Continuum Health Partners - "has healthcare role" is the labelPattern.