From: Eero T. <ee...@us...> - 2005-12-17 20:26:29
|
Hi, I tried to do a domain model of the Gramps data i.e. list all the separate data entities and their relations. Entities are separate if: - Another entity can relate to multiple items - Multiple entities can relate to exactly same item - The items are not predetermined (e.g. gender) and contain multiple properties (address contains street, city etc) - Different things are done for them (e.g. address and internet address are usually output differently) The attached model tries to contain all entities and their relations in Gramps: - Person - Name (person can have multiple names and they can change, name change is an event) - Relationship (person can have multiple relationship and relationships are at least legally associated to events such as birth, marriage etc.) - Event - Place (events happen in some place) - Address (person can have multiple addresses and multiple persons can live in the same address) - Internet address (both places and persons can have multiple internet addresses, at least over time) - Attribute (persons can have any number of attributes) - Media (except for relationships and attributes, things can have pictures etc.) - Source (every bit of information can have several sources) Does the model look about right? Questions: - Why events have places and persons addresses i.e. separate entities? Both places and addresses have about the same properties. - Gender might actually be a separate entity too as nowadays people can change it... - Eero (Domain diagram is the first step before class and database diagrams. :-)) |