OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

lexidma message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [lexidma] Relational remodeling: the diagram


Hi all,

I have redrawn my diagram to be more formally an ER diagram (see attachment). The rectangles are entities, the diamonds are relationships (the arrow indicates whoâs who in that relationship) and the ovals are properties. Cardinalities are indicated using crowâs feet notation. The dashed shapes are entities/properties we still need flesh out (from the ELEXIS vocabulary which Carole shared recently). A good way to read the diagram is to follow the numbers and read along:

  1. An entry can have one or more sense.
    A sense belongs to exactly one entry.

  2. A sense can be a subsense of up to one other sense.
    A sense can have zero or more subsenses.
    Business rule: they must be senses of the same entry.

  3. An entry can a subentry of zero or more senses.
    A sense can have zero or more subentries.
    Business rule: the sense must not be a sense of the subentry.

  4. An entry can be a subentry of zero or more other entries.
    An entry can have zero or more subentries.

Hope this makes it clear that (1) the core structural skeleton of each entry is that the entry has an ordered list of senses, and that (2) in addition to this core we have relationships to enable subsensing and subentrying. Thatâs (part of) the data model. At view time, when the entry is being displayed to a human, the relationships can be traversed to construct a view model in which an entry will contain an ordered list of senses and (optionally) subentries, and a sense will (optionally) contain an ordered list of senses and subentries.

M.

â

Attachment: Lexidma ER.png
Description: PNG image



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]