Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Concept-Oriented ModelUnifying Domain and Relation          Modeling          Alexandr Savinov      http://conceptoriented...
RELATIONS AND DOMAINS                 Domain:                 Domain:               set of values                         ...
COMPLEX VALUES         Complex domain:         Complex domain:                              INT         {1, 2, …, 32,… 64,...
PROBLEM                                INT         {1, 2, …, 32,… 64, …, 128, …}        Relation as a type        Relation...
CONCEPT CHAR[8]       aaa           INT        {1, 2, …, 32,… 64, …, 128, …}                                             r...
CONCLUSION Concepts unify domain (value) modeling and relation modeling One construct instead of two Concepts provide a ty...
Upcoming SlideShare
Loading in …5
×

Concept-oriented model: unifying domain and relation modeling

The concept-oriented model of data is a general-purpose unified model. Here we describe how this model can unite two branches currently existing in data modeling: value or domain modeling and relation modeling. More information on the concept-oriented model can be found on this site: http://conceptoriented.org. Also see this video: http://www.youtube.com/watch?v=dh_6AeQB6Gc

  • Be the first to comment

Concept-oriented model: unifying domain and relation modeling

  1. 1. Concept-Oriented ModelUnifying Domain and Relation Modeling Alexandr Savinov http://conceptoriented.org
  2. 2. RELATIONS AND DOMAINS Domain: Domain: set of values INT {1, 2, …, 32,… 64, …, 128, …} set of values Relation: Relation: set of tuples set of tuples red green blueCREATE TABLE ColorTableCREATE TABLE ColorTable <32, 64, 128> ColorTable <128, 64, 32>INT red, green, blueINT red, green, blue Relations are defined in terms of domains
  3. 3. COMPLEX VALUES Complex domain: Complex domain: INT {1, 2, …, 32,… 64, …, 128, …} set of complex set of complex values values red green blue CREATE UDT Color <32, 64, 128> CREATE UDT Color INT red, green, blue INT red, green, blue Color <128, 64, 32>CREATE TABLE ColorTable <32, 64, 128>CREATE TABLE ColorTable ColorTable <128, 64, 32>Color colorColor color Complex domains are defined in terms of other domains
  4. 4. PROBLEM INT {1, 2, …, 32,… 64, …, 128, …} Relation as a type Relation as a type red green blueCREATE ColorTableCREATE ColorTable <32, 64, 128>INT red, green, blueINT red, green, blue ColorTable <128, 64, 32> <…, ?, …> MyTable <…, ?, …>Relations (and domains) cannot be defined in terms of relations
  5. 5. CONCEPT CHAR[8] aaa INT {1, 2, …, 32,… 64, …, 128, …} red green blue ColorConcept <aaa> <32, 64, 128> color CONCEPT ColorConcept CONCEPT ColorConceptMyTable <…, aaa, …> IDENTITY IDENTITY CHAR[8] code CHAR[8] code ENTITY ENTITY INT red, green, blue INT red, green, blue Concept is a couple of one identity class and one entity class
  6. 6. CONCLUSION Concepts unify domain (value) modeling and relation modeling One construct instead of two Concepts provide a type-based mechanism for modeling domain-specific references or FK Concepts generalize classesMore info: http://conceptoriented.org

×