SlideShare a Scribd company logo
Semantic DB Systems DOEACC B-Level OODBMS 2011 Taher S.  5. Object Oriented Database Systems
Topics already covered in class Google books link for CSR Prabhu :  http://books.google.com/books/about/Object_Oriented_Database_Systems_Approac.html?id=Yo6jGojiW4cC Semantic expressiveness of a database model- This also included discussions about the drawbacks of conventional DB models like relational, heirarchial and network and the motivation for including more semantic information in a DB.  Categories of semantic DB Models- A heirarchy shown in the next slide and discussion of each type of semantic DB.  E-R Model Constructs Operations Applications
 
 
Topics already covered in class Relational Model- Tasmania (RM/T) RM/T Constructs Entities… Surrogates E-Domain, E-attributes, E-relations Entity integrity rules P-relations Property integrity rules Entity references RM/T Operations RM/T Operators: DENOTE, COMPRESS, PARTITION(R,A), APPLY(Property,TEMP) RM/T catalog
3: Semantic DB Model - SDM Developed by DB Research group at Univ of S Cali, LA as Ph.D thesis work of Hammer and McLeod in 1981.  A copy of the original paper submitted by them at ACM Transactions on DB Systems in Sep 1981 will be given to you durin the course of the lecture. You are advised to go through it to get an idea of the SDM DDL Schema and an accompanying case study for further strengthening of concepts discussed in this lecture.
SDM Specification & Constructs Specification: (1) A database is to be viewed as a collection of  entities  that correspond to the actual objects in the application environment. (2) The entities in a database are organized into classes that are meaningful collections of entities. (3) The classes of a database are not in general independent, but rather are logically related by means of  interclass connections. (4) Database entities and classes have  attributes  that describe their characteristics  and relate them to other database entities.
SDM Specification & Constructs Classes:  An SDM database is a collection of entities that are organized into classes. The structure and organization of an SDM database is specified by an SDM schema, which identifies the classes in the database. Each class in an SDM schema has the following features: (1) A class name identifies the class. (e.g., OIL - TANKERS), (2) The class has a collection of members: the entities that constitute it. (3) An (optional) textual class description describes the meaning and contents of the class. For example, in Appendix A, class SHIPS has a description indicating that the class contains ships with potentially hazardous cargoes that may enter U.S. coastal waters.  (4) The class has a collection of attributes that describe the members of that class or the class as a whole. (5) The class is either a base class or a nonbase class. Base classes are mutually disjoint in that every entity is a member of exactly one base class. A nonbase class is one that does not have independent existence; rather, it is defined in terms of one or more other classes.
SDM- Subclass Connections A subclass S of a class C (called the parent class) is a class that contains some, but not necessarily all, of the members of C.  The very same entity can thus be a member of many classes. For example, a given entity may simultaneously be a member of the classes SHIPS, OIL-TANKERS, and MERCHANT-SHIPS. (However, only one of these may be a base class.)  This is the concept of “subtype”.
SDM- Interclass Connections There are two main types of interclass connections in SDM: The Grouping Connection:  Allows for the definition of a nonbase class, called a grouping class (G), whose members are of a higher-order entity type than those in the underlying class (U). A grouping class is second order, in the sense that its members can themselves be viewed as classes; in particular, they are classes whose members are taken from U. A grouping expression specifies how the members of U are to be placed into these groups. For example, class SHIP-TYPES in Appendix A is defined as a grouping class of SHIPS with the grouping expression “on common value of Type”. Multiple interclass connection: Each nonbase class in an SDM schema ha’s a single interclass connection associated with it. While it is meaningful and reasonable in some cases to associate more than one interclass connection with a nonbase class, the uncontrolled use of such multiple interclass connections could introduce undesirable complexity into a schema. In consequence, only a single interclass connection (the most natural one) should be used to define a nonbase class.
SDM- Name Classes A name class in SDM is a collection of strings, namely, a subclass of the built-in class STRINGS (which consists of all strings over the basic set of alphanumeric characters).
SDM - Attributes Each class has an associated collection of attributes. Each attribute has features such as name, value, applicability, description, mandatory/optional, changeable/non changeable etc.  Member attribute interrelationships  eg: Inversion- attribute Ships-registered-here of COUNTRIES is the inverse of attribute Country of registry of SHIPS; this establishes the fact that both are ways of expressing in what country a ship is registered. Member attribute matching : A matching specification indicates that the value of the attribute Captain for a member S of class SHIPS is equal to the value of attribute Officer of the member A of class ASSIGNMENTS whose Ship value is S.
SDM - Attributes Member attribute derivations : inversion and matching are mechanisms for establishing the equivalence of different ways of viewing the same essential relationships among entities. SDM also provides the ability to define an attribute whose value is calculated from other information in the database. Such an attribute is called derived, and the specification of its computation is its associated derivation. Mappings : A mapping is a concatenation of attribute names that allows a user to directly reference the value of an attribute of an attribute.
SDM - Attributes Attribute Inheritance  : It may often be the case that an entity in an SDM database belongs to more than one class. SDM classes can and frequently do share members, for example, a member of OIL-TANKERS is also a member of SHIPS; a member of OIL-SPILLS is also in INCIDENTS.
4. Semantic Association Model- SAM * Developed at DB Research and Dev. Centre, Univ of Florida by Prof. W.S. Su in 1983 Serves the modelling purposes of Scientific-Statistical DBs and MIS. Primarily deals with complex data types such as sets, vectors etc.  Essential features:  Integrated Model Relativism Comprehensive coverage System Life cycle applicability
SAM*- Concepts and associations-constructs Models real-world environment by means of several interrelated  concepts. Concepts are atomic or non-atomic. Association- grouping of atomic or non-atomic concepts to describe other non-atomic concepts. Seven types are defined: Membership Assoc. Aggregation assoc. Generalisation assoc.  Interaction assoc.  Cross Product assoc. Composition assoc. Summarization assoc.
 
 
 
 
 
 
5. Daplex It is a DB language rather than a model.  A Daplex User manual appeared in 1984 which provides DDL and DML capabilities based on a functional data model.  The DB definitions define logical types and structures of info in DB and constraints for legal values.  The DB manipulation capabilities allow a user to create, update, delete, modify and retrieve info in DBs. Following snapshots describe basic Daplex constructs for DB definitions and manipulations.
 
 
 
IFO Suggested by Abiteboul and Hull in 1987. Investigations of semantic models have given rise to IFO model.  Only structural component of the IFO model has been defined. Hence only constructs are defined and not the operations.  Attempts to mathematically define 4 fundamental principals of Semantic data modeling:
IFO It can serve as an analyt’s tool for not only representing the semantics of the data but also for evaluating the features and facilities of various semantic models. Informal description:  IFO schema is a directed graph with vertices and edges.  A family of IFO instances is assoiated with each schema. IFO consists of types that model the structure of the objects arising in a given DB application.  Fragments are built from types and represent functional relationships in the model.
IFO Objects in IFO: 3 atomic types: - Printable objects like strings. Basis for I/O. - Abstract objects like person. Have attributes but no structure. - Free objects. Obtained via ISA rel. Represented by code.
IFO 2 constructs:   - Star vertex- represents groupings lie in SDM.   - Cartesian product- Equivalent to aggregation type.
 
 
IFO Fragements: Functional rel. among object types are represented as fragments.  Similar to functions in DAPLEX. In the figure: (a) indicates a fragment to rep. a set of students with a function mapping into their grades.  (b) two functions on course- enrolments and course names.
 
IFO ISA relationships. IFO schema.
 

More Related Content

PPT
Object Oriented Dbms
PPTX
Object oriented database model
PPT
08. Object Oriented Database in DBMS
PPTX
Object oriented data model
PDF
Chapt 1 odbms
PPT
Introduction to odbms
PPT
Overview of Object-Oriented Concepts Characteristics by vikas jagtap
PPT
9. Object Relational Databases in DBMS
Object Oriented Dbms
Object oriented database model
08. Object Oriented Database in DBMS
Object oriented data model
Chapt 1 odbms
Introduction to odbms
Overview of Object-Oriented Concepts Characteristics by vikas jagtap
9. Object Relational Databases in DBMS

What's hot (20)

PPT
Oodbms ch 20
PPTX
Encapsulation of operations, methods & persistence
PPTX
Object oriented database concepts
PPTX
PPTX
Relational Model
PPTX
Object database standards, languages and design
PPT
Ch 12 O O D B Dvlpt
PPTX
Introduction of Database Design and Development
PPT
Dbms ii mca-ch3-er-model-2013
DOCX
COMPUTERS Database
PPSX
EER Model
PPTX
physical and logical data independence
PPT
Dbms relational model
PPT
Lecture 07 relational database management system
PPTX
Relational Data Model Introduction
DOC
introduction of database in DBMS
PPT
Ch 5 O O Data Modeling Class
PPT
Ch 5 O O Data Modeling
PPT
Ch 3 E R Model
DOCX
The Relational Data Model and Relational Database Constraints Ch5 (Navathe 4t...
Oodbms ch 20
Encapsulation of operations, methods & persistence
Object oriented database concepts
Relational Model
Object database standards, languages and design
Ch 12 O O D B Dvlpt
Introduction of Database Design and Development
Dbms ii mca-ch3-er-model-2013
COMPUTERS Database
EER Model
physical and logical data independence
Dbms relational model
Lecture 07 relational database management system
Relational Data Model Introduction
introduction of database in DBMS
Ch 5 O O Data Modeling Class
Ch 5 O O Data Modeling
Ch 3 E R Model
The Relational Data Model and Relational Database Constraints Ch5 (Navathe 4t...
Ad

Similar to Module 5 oodb systems semantic db systems (20)

DOC
Data modeling
PDF
Big Challenges in Data Modeling: Supertyping and Subtyping
PDF
Advance database system(part 4)
PPT
Database system concepts
PPT
introduction-to-dbms-unit-1.ppt
PPTX
unit-1 &2 important questions to be noted
PPTX
Design approach
PPT
Database
PPTX
Database Management System(UNIT 1)
PPTX
Database Management System(UNIT 1)
PDF
SQL Tutorial - Basics of Structured Query Language Day 1.pdf
PPTX
Database Management System
PPT
27f157al5enhanceder diagram-111005002740-phpapp02
PPTX
DBMS unit 1.pptx
PPTX
Presentation1
PPTX
OOP_Module 2.pptx
PDF
Chapter – 2 Data Models.pdf
PPT
Enhanced E-R diagram
PPTX
Day 1 SQL.pptx
PPTX
SQL.pptx
Data modeling
Big Challenges in Data Modeling: Supertyping and Subtyping
Advance database system(part 4)
Database system concepts
introduction-to-dbms-unit-1.ppt
unit-1 &2 important questions to be noted
Design approach
Database
Database Management System(UNIT 1)
Database Management System(UNIT 1)
SQL Tutorial - Basics of Structured Query Language Day 1.pdf
Database Management System
27f157al5enhanceder diagram-111005002740-phpapp02
DBMS unit 1.pptx
Presentation1
OOP_Module 2.pptx
Chapter – 2 Data Models.pdf
Enhanced E-R diagram
Day 1 SQL.pptx
SQL.pptx
Ad

More from Taher Barodawala (6)

PPT
Module 3 Object Oriented Data Models Object Oriented notations
PPT
Object Oriented Relationships
PPT
Object representations
PPT
Polygon clipping
PPTX
Bresenham circle
PPT
Hearn and Baker 2 D transformations
Module 3 Object Oriented Data Models Object Oriented notations
Object Oriented Relationships
Object representations
Polygon clipping
Bresenham circle
Hearn and Baker 2 D transformations

Recently uploaded (20)

PDF
Classroom Observation Tools for Teachers
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
RMMM.pdf make it easy to upload and study
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
01-Introduction-to-Information-Management.pdf
PDF
Basic Mud Logging Guide for educational purpose
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Computing-Curriculum for Schools in Ghana
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
Pre independence Education in Inndia.pdf
PPTX
master seminar digital applications in india
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Complications of Minimal Access Surgery at WLH
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Classroom Observation Tools for Teachers
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
RMMM.pdf make it easy to upload and study
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Abdominal Access Techniques with Prof. Dr. R K Mishra
Microbial disease of the cardiovascular and lymphatic systems
TR - Agricultural Crops Production NC III.pdf
01-Introduction-to-Information-Management.pdf
Basic Mud Logging Guide for educational purpose
STATICS OF THE RIGID BODIES Hibbelers.pdf
Computing-Curriculum for Schools in Ghana
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Pre independence Education in Inndia.pdf
master seminar digital applications in india
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Microbial diseases, their pathogenesis and prophylaxis
Complications of Minimal Access Surgery at WLH
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf

Module 5 oodb systems semantic db systems

  • 1. Semantic DB Systems DOEACC B-Level OODBMS 2011 Taher S. 5. Object Oriented Database Systems
  • 2. Topics already covered in class Google books link for CSR Prabhu : http://books.google.com/books/about/Object_Oriented_Database_Systems_Approac.html?id=Yo6jGojiW4cC Semantic expressiveness of a database model- This also included discussions about the drawbacks of conventional DB models like relational, heirarchial and network and the motivation for including more semantic information in a DB. Categories of semantic DB Models- A heirarchy shown in the next slide and discussion of each type of semantic DB. E-R Model Constructs Operations Applications
  • 3.  
  • 4.  
  • 5. Topics already covered in class Relational Model- Tasmania (RM/T) RM/T Constructs Entities… Surrogates E-Domain, E-attributes, E-relations Entity integrity rules P-relations Property integrity rules Entity references RM/T Operations RM/T Operators: DENOTE, COMPRESS, PARTITION(R,A), APPLY(Property,TEMP) RM/T catalog
  • 6. 3: Semantic DB Model - SDM Developed by DB Research group at Univ of S Cali, LA as Ph.D thesis work of Hammer and McLeod in 1981. A copy of the original paper submitted by them at ACM Transactions on DB Systems in Sep 1981 will be given to you durin the course of the lecture. You are advised to go through it to get an idea of the SDM DDL Schema and an accompanying case study for further strengthening of concepts discussed in this lecture.
  • 7. SDM Specification & Constructs Specification: (1) A database is to be viewed as a collection of entities that correspond to the actual objects in the application environment. (2) The entities in a database are organized into classes that are meaningful collections of entities. (3) The classes of a database are not in general independent, but rather are logically related by means of interclass connections. (4) Database entities and classes have attributes that describe their characteristics and relate them to other database entities.
  • 8. SDM Specification & Constructs Classes: An SDM database is a collection of entities that are organized into classes. The structure and organization of an SDM database is specified by an SDM schema, which identifies the classes in the database. Each class in an SDM schema has the following features: (1) A class name identifies the class. (e.g., OIL - TANKERS), (2) The class has a collection of members: the entities that constitute it. (3) An (optional) textual class description describes the meaning and contents of the class. For example, in Appendix A, class SHIPS has a description indicating that the class contains ships with potentially hazardous cargoes that may enter U.S. coastal waters. (4) The class has a collection of attributes that describe the members of that class or the class as a whole. (5) The class is either a base class or a nonbase class. Base classes are mutually disjoint in that every entity is a member of exactly one base class. A nonbase class is one that does not have independent existence; rather, it is defined in terms of one or more other classes.
  • 9. SDM- Subclass Connections A subclass S of a class C (called the parent class) is a class that contains some, but not necessarily all, of the members of C. The very same entity can thus be a member of many classes. For example, a given entity may simultaneously be a member of the classes SHIPS, OIL-TANKERS, and MERCHANT-SHIPS. (However, only one of these may be a base class.) This is the concept of “subtype”.
  • 10. SDM- Interclass Connections There are two main types of interclass connections in SDM: The Grouping Connection: Allows for the definition of a nonbase class, called a grouping class (G), whose members are of a higher-order entity type than those in the underlying class (U). A grouping class is second order, in the sense that its members can themselves be viewed as classes; in particular, they are classes whose members are taken from U. A grouping expression specifies how the members of U are to be placed into these groups. For example, class SHIP-TYPES in Appendix A is defined as a grouping class of SHIPS with the grouping expression “on common value of Type”. Multiple interclass connection: Each nonbase class in an SDM schema ha’s a single interclass connection associated with it. While it is meaningful and reasonable in some cases to associate more than one interclass connection with a nonbase class, the uncontrolled use of such multiple interclass connections could introduce undesirable complexity into a schema. In consequence, only a single interclass connection (the most natural one) should be used to define a nonbase class.
  • 11. SDM- Name Classes A name class in SDM is a collection of strings, namely, a subclass of the built-in class STRINGS (which consists of all strings over the basic set of alphanumeric characters).
  • 12. SDM - Attributes Each class has an associated collection of attributes. Each attribute has features such as name, value, applicability, description, mandatory/optional, changeable/non changeable etc. Member attribute interrelationships eg: Inversion- attribute Ships-registered-here of COUNTRIES is the inverse of attribute Country of registry of SHIPS; this establishes the fact that both are ways of expressing in what country a ship is registered. Member attribute matching : A matching specification indicates that the value of the attribute Captain for a member S of class SHIPS is equal to the value of attribute Officer of the member A of class ASSIGNMENTS whose Ship value is S.
  • 13. SDM - Attributes Member attribute derivations : inversion and matching are mechanisms for establishing the equivalence of different ways of viewing the same essential relationships among entities. SDM also provides the ability to define an attribute whose value is calculated from other information in the database. Such an attribute is called derived, and the specification of its computation is its associated derivation. Mappings : A mapping is a concatenation of attribute names that allows a user to directly reference the value of an attribute of an attribute.
  • 14. SDM - Attributes Attribute Inheritance : It may often be the case that an entity in an SDM database belongs to more than one class. SDM classes can and frequently do share members, for example, a member of OIL-TANKERS is also a member of SHIPS; a member of OIL-SPILLS is also in INCIDENTS.
  • 15. 4. Semantic Association Model- SAM * Developed at DB Research and Dev. Centre, Univ of Florida by Prof. W.S. Su in 1983 Serves the modelling purposes of Scientific-Statistical DBs and MIS. Primarily deals with complex data types such as sets, vectors etc. Essential features: Integrated Model Relativism Comprehensive coverage System Life cycle applicability
  • 16. SAM*- Concepts and associations-constructs Models real-world environment by means of several interrelated concepts. Concepts are atomic or non-atomic. Association- grouping of atomic or non-atomic concepts to describe other non-atomic concepts. Seven types are defined: Membership Assoc. Aggregation assoc. Generalisation assoc. Interaction assoc. Cross Product assoc. Composition assoc. Summarization assoc.
  • 17.  
  • 18.  
  • 19.  
  • 20.  
  • 21.  
  • 22.  
  • 23. 5. Daplex It is a DB language rather than a model. A Daplex User manual appeared in 1984 which provides DDL and DML capabilities based on a functional data model. The DB definitions define logical types and structures of info in DB and constraints for legal values. The DB manipulation capabilities allow a user to create, update, delete, modify and retrieve info in DBs. Following snapshots describe basic Daplex constructs for DB definitions and manipulations.
  • 24.  
  • 25.  
  • 26.  
  • 27. IFO Suggested by Abiteboul and Hull in 1987. Investigations of semantic models have given rise to IFO model. Only structural component of the IFO model has been defined. Hence only constructs are defined and not the operations. Attempts to mathematically define 4 fundamental principals of Semantic data modeling:
  • 28. IFO It can serve as an analyt’s tool for not only representing the semantics of the data but also for evaluating the features and facilities of various semantic models. Informal description: IFO schema is a directed graph with vertices and edges. A family of IFO instances is assoiated with each schema. IFO consists of types that model the structure of the objects arising in a given DB application. Fragments are built from types and represent functional relationships in the model.
  • 29. IFO Objects in IFO: 3 atomic types: - Printable objects like strings. Basis for I/O. - Abstract objects like person. Have attributes but no structure. - Free objects. Obtained via ISA rel. Represented by code.
  • 30. IFO 2 constructs: - Star vertex- represents groupings lie in SDM. - Cartesian product- Equivalent to aggregation type.
  • 31.  
  • 32.  
  • 33. IFO Fragements: Functional rel. among object types are represented as fragments. Similar to functions in DAPLEX. In the figure: (a) indicates a fragment to rep. a set of students with a function mapping into their grades. (b) two functions on course- enrolments and course names.
  • 34.  
  • 35. IFO ISA relationships. IFO schema.
  • 36.