SlideShare uma empresa Scribd logo
1 de 34
Baixar para ler offline
2 December 2005
Introduction to Databases
Extended ER Model and other Modelling Languages
Prof. Beat Signer
Department of Computer Science
Vrije Universiteit Brussel
http://www.beatsigner.com
Beat Signer - Department of Computer Science - bsigner@vub.ac.be 2February 24, 2017
Extended Entity-Relationship (EER) Model
 Over the years the ER model has been extended with
additional concepts to increase its expressiveness
 specialisation and generalisation (ISA relationship)
 ISA constraints
 aggregation
Beat Signer - Department of Computer Science - bsigner@vub.ac.be 3February 24, 2017
Specialisation and Generalisation
 An entitiy set can be further subgrouped
or specialised into distinctive entity sets
 an entity subset may for example have additional attributes
 top-down approach
 Parts of multiple entity sets may be generalised in a
higher level entity set
 bottom-up approach
 Specialisations as well as generalisations are
represented by the same ISA relationship construct
 represented by a triangle in the EER model
 A ISA B implies that every A entity is also a B entity
 generalisation can be seen as the inversion of specialisation
ISA
Beat Signer - Department of Computer Science - bsigner@vub.ac.be 4February 24, 2017
ISA Relationship
Persons
id name
Students
ISA
Teachers
PhD
Students
Professors
ISA
research
topic
teaching
hours
studentID
#projects
LivesAt Locations
address
0..*0..1
ISA
Beat Signer - Department of Computer Science - bsigner@vub.ac.be 5February 24, 2017
ISA Relationship ...
 The attributes of a higher level entity set (superclass) are
inherited by the lower level entity set (subclass) via the
ISA relationship
 e.g. students inherit the id attribute from persons
 A subclass also inherits any relationship participation
from its superclass
 e.g. students, teachers etc. can participate in the LivesAt
relationship
ISA
Beat Signer - Department of Computer Science - bsigner@vub.ac.be 6February 24, 2017
ISA Constraints
 To model an application domain more precisely, specific
constraints can be defined over an ISA relationship
 Membership constraints
 a condition-defined membership constraint assigns an entity to a
specific subclass based on one or more attribute values
 a user-defined membership constraint can be used to manually
assign entities to a specific subclass (manual classification)
 Disjointness constraints
 an overlapping constraint over subclasses specifies that an entity
may belong to multiple subclasses
- e.g. a person may be a teacher as well as a student
- by default, subclasses participate in an overlapping constraint
ISA
Beat Signer - Department of Computer Science - bsigner@vub.ac.be 7February 24, 2017
ISA Constraints ...
 Disjointness constraints ...
 a disjoint constraint specifies that an entity can only belong to
exactly one subclass
- e.g. a teacher can be either a PhD student or a professor (but not both)
- expressed by writing the word disjoint next to the triangle
 Completeness constraints
 a partial specialisation (generalisation) constraint specifies that
some superclass entities may not belong to any subclass
- default completeness constraint
 a total specialisation (generalisation) constraint defines that each
superclass entity must belong to a subclass
- e.g. each teacher must belong to the PhD Students or Professors subclass
(or to both of them)
- represented by a double line connection to the triangle (like total participation)
ISA
Beat Signer - Department of Computer Science - bsigner@vub.ac.be 8February 24, 2017
ISA Constraints ...
disjointness and completeness constraints are independent of each other
ISA
Persons
id name
Students
ISA
Teachers
PhD
Students
Professors
ISA
research
topic
teaching
hours
studentID
#projects
LivesAt Locations
address
birthdate
Adults
ISA
birthdate <
23.02.1996
disjoint
0..*0..1
Beat Signer - Department of Computer Science - bsigner@vub.ac.be 9February 24, 2017
Aggregation
 A limitation of the ER model is that relationships cannot
be modelled over other relationship sets
 What if we would like to introduce a manager for some
(employee, company, duration) combinations?
WorksFor CompaniesEmployees
id name name address
Durations
from to
0..* 0..*
1..1
Beat Signer - Department of Computer Science - bsigner@vub.ac.be 10February 24, 2017
Aggregation ...
 We cannot just create a
4-ary relationship WorksFor
 not all combinations have
a manager
 Introduce a new
4-ary Manages
relationship
 problem: we
introduce some
redundancy!
- (employee, company, duration)
are replicated in (manager,
employee, company, duration)
WorksFor CompaniesEmployees
id name name address
Durations
from to
Manages
Managers
1..1
0..* 0..*
0..*
0..*
0..*
0..*
Beat Signer - Department of Computer Science - bsigner@vub.ac.be 11February 24, 2017
Aggregation ...
 An aggregation treats the
relationship as a higher
level entity
 can be used in another relationship
WorksFor CompaniesEmployees
id name name address
Durations
from to
Manages
Managers
1..1
0..* 0..*
1..*
0..*
Beat Signer - Department of Computer Science - bsigner@vub.ac.be 12February 24, 2017
Part-Of Hierarchies
PartOf
Tires
Cars
CPartOf TPartOf
Chassis
3..4
1..1
1..1
1..1
PartOf
particular product
general Part-Of
PartOf
Products
0..1
superpart subpart
0..*
Beat Signer - Department of Computer Science - bsigner@vub.ac.be 13February 24, 2017
ER Design Issues
 When do we model something as an attribute
and when as an entity set?
 there is no general answer and the choice depends on the
specific application domain to be modelled
 When do we model something as a relationship set and
when as an entity set?
 a relationship set often corresponds to an action between entities
 In general we should try to avoid higher level n-ary
relationship sets
 3-ary relationship sets should be the maximum and even these
should be used carefully
Beat Signer - Department of Computer Science - bsigner@vub.ac.be 14February 24, 2017
Attribute or Entity?
 Should the address in the example be modelled
as an attribute or as a separate entity?
 depends on the intended use of the address
 if we need an address for different entities (e.g. not just for
employees) it is better to model the address as separate entity
LocatedAt OfficesEmployees
id name
birthday
phone age #offices
address
street city
0..1 0..*
Beat Signer - Department of Computer Science - bsigner@vub.ac.be 15February 24, 2017
Attribute or Entity?
 Should the duration be modelled as a from and to
attribute or as a separate entity?
 Depends again on the use
 if we foresee that the same duration period is used by other entity
sets, it should be modelled as a separate entity
WorksFor CompaniesEmployees
id name name address
Durations
from to
0..* 0..*
1..1
Beat Signer - Department of Computer Science - bsigner@vub.ac.be 16February 24, 2017
N-ary or Binary Relationships?
 Basically any n-ary relationship can be replaced
by a number of binary relationship sets
 "real" 3-ary relationships should not be replaced
- e.g. WorksFor presented earlier
 the Parents relationship is a example of a
non-real 3-ary relationship
- have to use null values if there is either no father or mother
- better to model it as two separate binary relationships
ParentsPersons
child
father
mother
PersonsHasFather HasMother
child child
father mother
0..*
0..*
0..1 0..1 0..1
0..* 0..*
Beat Signer - Department of Computer Science - bsigner@vub.ac.be 17February 24, 2017
ER Design Principles
 Make sure that you pay attention to all the entities, their
relationships and any other constraints mentioned in the
description (requirements) of a specific application
domain
 e.g. show cardinality constraints for all relationships
 Avoid redundancy!
 The resulting conceptual model should be as simple as
possible, but not simpler
 introduce only necessary entities and relationships
 Some constraints (e.g. functional dependencies) cannot
be expressed in the ER model
Beat Signer - Department of Computer Science - bsigner@vub.ac.be 18February 24, 2017
ER Design Principles ...
 In two weeks we will see how the conceptual ER model
can be mapped to a logical database schema
(e.g. relational database schema)
 The resulting relational schema can be further analysed
by using functional dependencies and normalisation
Beat Signer - Department of Computer Science - bsigner@vub.ac.be 19February 24, 2017
ER Summary
 Entities and attributes
 Relationships
 cardinality constraints
 participation constraints
 Keys
 Weak entities
 ISA hierarchies
 Aggregation
Beat Signer - Department of Computer Science - bsigner@vub.ac.be 20February 24, 2017
Classification and Typing
 Aristotle (384 BC-322 BC) introduced
a biological classification (ontology)
 artificial classification system
 organisms with the two subclasses plants
and animals
 animals further subclassified into animals
with blood and animals without blood
 animals also classified into walking animals,
flying animals and swimming animals (habitat)
 Characteristics (problems) of Aristotle's classification
 based on behaviour and not on similarities (non-evolutionary)
 animals can belong to multiple classes
- e.g. a duck belongs to the walking animals as well as swimming animals class
Aristotle
Beat Signer - Department of Computer Science - bsigner@vub.ac.be 21February 24, 2017
Classification and Typing ...
 Bertrand Russell defined the
type of a given predicate P as
the entity set spanned by P
 intensional notion of type
 The notion of type for classi-
fying entities based on a set
of conditions was questionned
by Wittgenstein
 there exists no precise definition (type) for some general concepts
- e.g. no definition for the general concept of a game
 We can have a definitional (e.g. intensional) or
prototypical definition of a type
Bertrand Russell Ludwig Wittgenstein
Beat Signer - Department of Computer Science - bsigner@vub.ac.be 22February 24, 2017
OM Model
 Data model that integrates concepts from
the entity-relationship and object-oriented
data models
 based on objects, collections and associations
(binary collections)
- supports associations over associations
 different types of collections
- sets, bags, rankings and sequences
 Separates typing and classification (role modelling)
 Operational part (algebra) over objects and collections
 A family of object database platforms have been realised
based on the OM model (e.g. OMS Java)
Moira C. Norrie
Beat Signer - Department of Computer Science - bsigner@vub.ac.be 23February 24, 2017
OM Typing and Classification
{ p1,p2 } p1,p2,p3,p4 }
p1
p2
Classification
Entities
Objects
Roles
Collections
represented by
Semantic
Grouping
employee
designer
Typing
Employees
Designers
Females
subtype
subcollection
Beat Signer - Department of Computer Science - bsigner@vub.ac.be 24February 24, 2017
OM Example (RSL Link Metamodel)
Beat Signer - Department of Computer Science - bsigner@vub.ac.be 25February 24, 2017
The Unified Modelling Language (UML)
 UML is a standard
developed by the
Object Manage-
ment Group (OMG)
 used to specify the
components of a
software system
 based on earlier
work including the object-modelling technique (OMT) by
Rumbaugh et al., the Booch method by Booch and object-
oriented software engineering (OOSE) by Jacobson
 UML supports different types of diagrams
 class diagrams, use case diagrams, package diagrams,...
Ivar JacobsonGrady BoochJames Rumbaugh
Beat Signer - Department of Computer Science - bsigner@vub.ac.be 26February 24, 2017
UML Class Diagrams
 A UML class diagram is similar to an ER model
 A UML class is "like" an ER entity set
 contains attributes as well as methods
Employees
id name
birthday
phone age
address
employee
id
name
birthday
phone
address
age()
ER entity set UML class
Beat Signer - Department of Computer Science - bsigner@vub.ac.be 27February 24, 2017
UML Class Diagrams ...
 UML relationship class with attributes can be used like
an ER aggregation in other UML relationships
 e.g. locatedAt in the example
 Note that the position of the cardinality constraints are
switched in UML
ER relationships UML relationships
LocatedAt OfficesEmployees
employee office
employee office
officeemployee locatedAt
LocatedAt OfficesEmployees
employee office
years
0..*0..1 0..* 0..1
employee office
officeemployee
locatedAt
years
Beat Signer - Department of Computer Science - bsigner@vub.ac.be 28February 24, 2017
UML Class Diagrams ...
Teachers
PhD
Students
Professors
ISA
disjoint
teacher
phdStudent professor
Teachers
PhD
Students
Professors
ISA
teacher
phdStudent professor
overlapping
disjoint
ER specialisation UML specialisation
Beat Signer - Department of Computer Science - bsigner@vub.ac.be 29February 24, 2017
Modelling Exercises
 Model the RSL link model in ER
 Define an ER model for the following application
 You are going to develop a database for the Chamber of Com-
merce and Industry of Brussels (CVO) to manage information
about language courses in Dutch, Spanish, French and Italian.
The database should store information about the teachers and
students as well as the individual language courses. A semester
lasts for 13 weeks. Regular courses are scheduled for two
sessions (each 3 hours) per week; advanced courses for three
sessions (each 4 hours) per week. Each course has a difficulty
level (module) of 1, 2 or 3 and costs a certain amount of money.
A teacher may not give more than 4 courses and not teach in
more than 2 languages. Each student has to do a final exam and
will get a grade for the exam.
Beat Signer - Department of Computer Science - bsigner@vub.ac.be 30February 24, 2017
Homework
 Study the following chapter of the
Database System Concepts book
 chapter 7
- sections 7.8-7.10
- Extended ER Model (EER)
- Unified Modelling Language (UML)
Beat Signer - Department of Computer Science - bsigner@vub.ac.be 31February 24, 2017
Exercise 2
 Entity-Relationship (ER) model
 Extended Entity-Relationship (EER) model
Beat Signer - Department of Computer Science - bsigner@vub.ac.be 32February 24, 2017
References
 A. Silberschatz, H. Korth and S. Sudarshan,
Database System Concepts (Sixth Edition),
McGraw-Hill, 2010
 M.C. Norrie, An Extended Entity-Relationship Approach
to Data Management in Object-Oriented Systems,
Proceedings of ER 1993, 12th International Conference
on Conceptual Modeling, Arlington, USA, December
1993
 https://globis.ethz.ch/files/2015/05/1993b-n-er.pdf
Beat Signer - Department of Computer Science - bsigner@vub.ac.be 33February 24, 2017
References ...
 B. Signer and M.C. Norrie, As We May Link:
A General Metamodel for Hypermedia Systems,
Proceedings of ER 2007, 26th International Conference
on Conceptual Modeling, Auckland, New Zealand,
November 2007
 http://beatsigner.com/publications/signer_ER2007.pdf
2 December 2005
Next Lecture
Relational Model and Relational Algebra

Mais conteúdo relacionado

Mais procurados

Lecture 3,4
Lecture 3,4Lecture 3,4
Lecture 3,4shah zeb
 
Data Integration and Transformation in Data mining
Data Integration and Transformation in Data miningData Integration and Transformation in Data mining
Data Integration and Transformation in Data miningkavitha muneeshwaran
 
Database Design Slide 1
Database Design Slide 1Database Design Slide 1
Database Design Slide 1ahfiki
 
Multivalued dependency
Multivalued dependencyMultivalued dependency
Multivalued dependencyavniS
 
SQL, Embedded SQL, Dynamic SQL and SQLJ
SQL, Embedded SQL, Dynamic SQL and SQLJSQL, Embedded SQL, Dynamic SQL and SQLJ
SQL, Embedded SQL, Dynamic SQL and SQLJDharita Chokshi
 
Inductive bias
Inductive biasInductive bias
Inductive biasswapnac12
 
Intermediate code- generation
Intermediate code- generationIntermediate code- generation
Intermediate code- generationrawan_z
 
Dbms 7: ER Diagram Design Issue
Dbms 7: ER Diagram Design IssueDbms 7: ER Diagram Design Issue
Dbms 7: ER Diagram Design IssueAmiya9439793168
 
Object persistence
Object persistenceObject persistence
Object persistenceVlad Vega
 
Functional dependencies and normalization
Functional dependencies and normalizationFunctional dependencies and normalization
Functional dependencies and normalizationdaxesh chauhan
 
Extended relational algebra
Extended relational algebraExtended relational algebra
Extended relational algebra1Arun_Pandey
 
Association rule mining
Association rule miningAssociation rule mining
Association rule miningAcad
 
Object Oriented Analysis (Coad-Yourdon)
Object Oriented Analysis (Coad-Yourdon)Object Oriented Analysis (Coad-Yourdon)
Object Oriented Analysis (Coad-Yourdon)Subash Khatiwada
 
Regular expression to NFA (Nondeterministic Finite Automata)
Regular expression to NFA (Nondeterministic Finite Automata)Regular expression to NFA (Nondeterministic Finite Automata)
Regular expression to NFA (Nondeterministic Finite Automata)Niloy Biswas
 
Introduction to database-Normalisation
Introduction to database-NormalisationIntroduction to database-Normalisation
Introduction to database-NormalisationAjit Nayak
 

Mais procurados (20)

Lecture 3,4
Lecture 3,4Lecture 3,4
Lecture 3,4
 
Er diagrams presentation
Er diagrams presentationEr diagrams presentation
Er diagrams presentation
 
Er model
Er modelEr model
Er model
 
Data Integration and Transformation in Data mining
Data Integration and Transformation in Data miningData Integration and Transformation in Data mining
Data Integration and Transformation in Data mining
 
Database Design Slide 1
Database Design Slide 1Database Design Slide 1
Database Design Slide 1
 
Multivalued dependency
Multivalued dependencyMultivalued dependency
Multivalued dependency
 
SQL, Embedded SQL, Dynamic SQL and SQLJ
SQL, Embedded SQL, Dynamic SQL and SQLJSQL, Embedded SQL, Dynamic SQL and SQLJ
SQL, Embedded SQL, Dynamic SQL and SQLJ
 
Inductive bias
Inductive biasInductive bias
Inductive bias
 
Intermediate code- generation
Intermediate code- generationIntermediate code- generation
Intermediate code- generation
 
Dbms 7: ER Diagram Design Issue
Dbms 7: ER Diagram Design IssueDbms 7: ER Diagram Design Issue
Dbms 7: ER Diagram Design Issue
 
Object persistence
Object persistenceObject persistence
Object persistence
 
Functional dependencies and normalization
Functional dependencies and normalizationFunctional dependencies and normalization
Functional dependencies and normalization
 
Extended relational algebra
Extended relational algebraExtended relational algebra
Extended relational algebra
 
Association rule mining
Association rule miningAssociation rule mining
Association rule mining
 
Association agggregation and composition
Association agggregation and compositionAssociation agggregation and composition
Association agggregation and composition
 
BNF & EBNF
BNF & EBNFBNF & EBNF
BNF & EBNF
 
03 Single layer Perception Classifier
03 Single layer Perception Classifier03 Single layer Perception Classifier
03 Single layer Perception Classifier
 
Object Oriented Analysis (Coad-Yourdon)
Object Oriented Analysis (Coad-Yourdon)Object Oriented Analysis (Coad-Yourdon)
Object Oriented Analysis (Coad-Yourdon)
 
Regular expression to NFA (Nondeterministic Finite Automata)
Regular expression to NFA (Nondeterministic Finite Automata)Regular expression to NFA (Nondeterministic Finite Automata)
Regular expression to NFA (Nondeterministic Finite Automata)
 
Introduction to database-Normalisation
Introduction to database-NormalisationIntroduction to database-Normalisation
Introduction to database-Normalisation
 

Destaque

Presentation @ #cesicon 2017 on the Provision of Computer Science in Upper Se...
Presentation @ #cesicon 2017 on the Provision of Computer Science in Upper Se...Presentation @ #cesicon 2017 on the Provision of Computer Science in Upper Se...
Presentation @ #cesicon 2017 on the Provision of Computer Science in Upper Se...Neil Keane
 
Building a Computer Science Pathway in Your High School - Feb 2017
Building a Computer Science Pathway in Your High School - Feb 2017Building a Computer Science Pathway in Your High School - Feb 2017
Building a Computer Science Pathway in Your High School - Feb 2017Hal Speed
 
Computer science & IT Engineering.
Computer science & IT Engineering.Computer science & IT Engineering.
Computer science & IT Engineering.Samson2323
 
Relational Model and Relational Algebra - Lecture 3 - Introduction to Databas...
Relational Model and Relational Algebra - Lecture 3 - Introduction to Databas...Relational Model and Relational Algebra - Lecture 3 - Introduction to Databas...
Relational Model and Relational Algebra - Lecture 3 - Introduction to Databas...Beat Signer
 
Computer science curriculum based on Program learning outcomes and objectives
Computer science curriculum based on Program learning outcomes and objectivesComputer science curriculum based on Program learning outcomes and objectives
Computer science curriculum based on Program learning outcomes and objectivesJawad Khan
 
Relational Database Design - Lecture 4 - Introduction to Databases (1007156ANR)
Relational Database Design - Lecture 4 - Introduction to Databases (1007156ANR)Relational Database Design - Lecture 4 - Introduction to Databases (1007156ANR)
Relational Database Design - Lecture 4 - Introduction to Databases (1007156ANR)Beat Signer
 
Ocr GCSE computer science introduction
Ocr GCSE computer science introductionOcr GCSE computer science introduction
Ocr GCSE computer science introductionbsharland
 
Computer Science Education
Computer Science EducationComputer Science Education
Computer Science EducationAndrew Chuang
 
Incremental Garbage Collection | Computer Science
Incremental Garbage Collection | Computer ScienceIncremental Garbage Collection | Computer Science
Incremental Garbage Collection | Computer ScienceTransweb Global Inc
 
Modeling objects interaction via UML sequence diagrams [Software Modeling] [...
Modeling objects interaction via UML sequence diagrams  [Software Modeling] [...Modeling objects interaction via UML sequence diagrams  [Software Modeling] [...
Modeling objects interaction via UML sequence diagrams [Software Modeling] [...Ivano Malavolta
 
Structured Query Language (SQL) - Lecture 5 - Introduction to Databases (1007...
Structured Query Language (SQL) - Lecture 5 - Introduction to Databases (1007...Structured Query Language (SQL) - Lecture 5 - Introduction to Databases (1007...
Structured Query Language (SQL) - Lecture 5 - Introduction to Databases (1007...Beat Signer
 
Presentation to NCCA Computer Science Seminar. Dublin Castle, Ireland. 21st F...
Presentation to NCCA Computer Science Seminar. Dublin Castle, Ireland. 21st F...Presentation to NCCA Computer Science Seminar. Dublin Castle, Ireland. 21st F...
Presentation to NCCA Computer Science Seminar. Dublin Castle, Ireland. 21st F...Neil Keane
 
The Soul of Computer Science - Prof. Salvador Lucas Alba
The Soul of Computer Science - Prof. Salvador Lucas AlbaThe Soul of Computer Science - Prof. Salvador Lucas Alba
The Soul of Computer Science - Prof. Salvador Lucas AlbaFacultad de Informática UCM
 
Creating It from Bit - Designing Materials by Integrating Quantum Mechanics, ...
Creating It from Bit - Designing Materials by Integrating Quantum Mechanics, ...Creating It from Bit - Designing Materials by Integrating Quantum Mechanics, ...
Creating It from Bit - Designing Materials by Integrating Quantum Mechanics, ...University of California, San Diego
 
Advanced SQL - Lecture 6 - Introduction to Databases (1007156ANR)
Advanced SQL - Lecture 6 - Introduction to Databases (1007156ANR)Advanced SQL - Lecture 6 - Introduction to Databases (1007156ANR)
Advanced SQL - Lecture 6 - Introduction to Databases (1007156ANR)Beat Signer
 
A (short) introduction to Databases
A (short) introduction to DatabasesA (short) introduction to Databases
A (short) introduction to DatabasesNicola Bernardini
 
Modeling and abstraction, software development process [Software Modeling] [C...
Modeling and abstraction, software development process [Software Modeling] [C...Modeling and abstraction, software development process [Software Modeling] [C...
Modeling and abstraction, software development process [Software Modeling] [C...Ivano Malavolta
 
Modern database management jeffrey a. hoffer, mary b. prescott,
Modern database management   jeffrey a. hoffer, mary b. prescott,  Modern database management   jeffrey a. hoffer, mary b. prescott,
Modern database management jeffrey a. hoffer, mary b. prescott, BlackIce86
 
SQL Tutorial - Basic Commands
SQL Tutorial - Basic CommandsSQL Tutorial - Basic Commands
SQL Tutorial - Basic Commands1keydata
 

Destaque (20)

Presentation @ #cesicon 2017 on the Provision of Computer Science in Upper Se...
Presentation @ #cesicon 2017 on the Provision of Computer Science in Upper Se...Presentation @ #cesicon 2017 on the Provision of Computer Science in Upper Se...
Presentation @ #cesicon 2017 on the Provision of Computer Science in Upper Se...
 
Building a Computer Science Pathway in Your High School - Feb 2017
Building a Computer Science Pathway in Your High School - Feb 2017Building a Computer Science Pathway in Your High School - Feb 2017
Building a Computer Science Pathway in Your High School - Feb 2017
 
Computer science & IT Engineering.
Computer science & IT Engineering.Computer science & IT Engineering.
Computer science & IT Engineering.
 
Relational Model and Relational Algebra - Lecture 3 - Introduction to Databas...
Relational Model and Relational Algebra - Lecture 3 - Introduction to Databas...Relational Model and Relational Algebra - Lecture 3 - Introduction to Databas...
Relational Model and Relational Algebra - Lecture 3 - Introduction to Databas...
 
Computer science curriculum based on Program learning outcomes and objectives
Computer science curriculum based on Program learning outcomes and objectivesComputer science curriculum based on Program learning outcomes and objectives
Computer science curriculum based on Program learning outcomes and objectives
 
Relational Database Design - Lecture 4 - Introduction to Databases (1007156ANR)
Relational Database Design - Lecture 4 - Introduction to Databases (1007156ANR)Relational Database Design - Lecture 4 - Introduction to Databases (1007156ANR)
Relational Database Design - Lecture 4 - Introduction to Databases (1007156ANR)
 
Ocr GCSE computer science introduction
Ocr GCSE computer science introductionOcr GCSE computer science introduction
Ocr GCSE computer science introduction
 
Computer Science Education
Computer Science EducationComputer Science Education
Computer Science Education
 
Incremental Garbage Collection | Computer Science
Incremental Garbage Collection | Computer ScienceIncremental Garbage Collection | Computer Science
Incremental Garbage Collection | Computer Science
 
Modeling objects interaction via UML sequence diagrams [Software Modeling] [...
Modeling objects interaction via UML sequence diagrams  [Software Modeling] [...Modeling objects interaction via UML sequence diagrams  [Software Modeling] [...
Modeling objects interaction via UML sequence diagrams [Software Modeling] [...
 
Structured Query Language (SQL) - Lecture 5 - Introduction to Databases (1007...
Structured Query Language (SQL) - Lecture 5 - Introduction to Databases (1007...Structured Query Language (SQL) - Lecture 5 - Introduction to Databases (1007...
Structured Query Language (SQL) - Lecture 5 - Introduction to Databases (1007...
 
Presentation to NCCA Computer Science Seminar. Dublin Castle, Ireland. 21st F...
Presentation to NCCA Computer Science Seminar. Dublin Castle, Ireland. 21st F...Presentation to NCCA Computer Science Seminar. Dublin Castle, Ireland. 21st F...
Presentation to NCCA Computer Science Seminar. Dublin Castle, Ireland. 21st F...
 
The Soul of Computer Science - Prof. Salvador Lucas Alba
The Soul of Computer Science - Prof. Salvador Lucas AlbaThe Soul of Computer Science - Prof. Salvador Lucas Alba
The Soul of Computer Science - Prof. Salvador Lucas Alba
 
Creating It from Bit - Designing Materials by Integrating Quantum Mechanics, ...
Creating It from Bit - Designing Materials by Integrating Quantum Mechanics, ...Creating It from Bit - Designing Materials by Integrating Quantum Mechanics, ...
Creating It from Bit - Designing Materials by Integrating Quantum Mechanics, ...
 
Advanced SQL - Lecture 6 - Introduction to Databases (1007156ANR)
Advanced SQL - Lecture 6 - Introduction to Databases (1007156ANR)Advanced SQL - Lecture 6 - Introduction to Databases (1007156ANR)
Advanced SQL - Lecture 6 - Introduction to Databases (1007156ANR)
 
A (short) introduction to Databases
A (short) introduction to DatabasesA (short) introduction to Databases
A (short) introduction to Databases
 
Modeling and abstraction, software development process [Software Modeling] [C...
Modeling and abstraction, software development process [Software Modeling] [C...Modeling and abstraction, software development process [Software Modeling] [C...
Modeling and abstraction, software development process [Software Modeling] [C...
 
Modern database management jeffrey a. hoffer, mary b. prescott,
Modern database management   jeffrey a. hoffer, mary b. prescott,  Modern database management   jeffrey a. hoffer, mary b. prescott,
Modern database management jeffrey a. hoffer, mary b. prescott,
 
SQL Basics
SQL BasicsSQL Basics
SQL Basics
 
SQL Tutorial - Basic Commands
SQL Tutorial - Basic CommandsSQL Tutorial - Basic Commands
SQL Tutorial - Basic Commands
 

Semelhante a Extended ER Model and other Modelling Languages - Lecture 2 - Introduction to Databases (1007156ANR)

Unit2-ER-Diagram-28-jfjkfkjddghjdghjg11-2022-11am.pptx
Unit2-ER-Diagram-28-jfjkfkjddghjdghjg11-2022-11am.pptxUnit2-ER-Diagram-28-jfjkfkjddghjdghjg11-2022-11am.pptx
Unit2-ER-Diagram-28-jfjkfkjddghjdghjg11-2022-11am.pptxkalyankcs21
 
ch7.ppt ER Model lecture 102 slides set in ppt
ch7.ppt ER Model lecture 102 slides set in pptch7.ppt ER Model lecture 102 slides set in ppt
ch7.ppt ER Model lecture 102 slides set in pptFerdazdemir
 
DBMS-UNIT 3-part1.ppt
DBMS-UNIT 3-part1.pptDBMS-UNIT 3-part1.ppt
DBMS-UNIT 3-part1.pptIshuIswarya3
 
Database Design and the ER Model, Indexing and Hashing
Database Design and the ER Model, Indexing and HashingDatabase Design and the ER Model, Indexing and Hashing
Database Design and the ER Model, Indexing and HashingPrabu U
 
U2_ER_modeling.pptx
U2_ER_modeling.pptxU2_ER_modeling.pptx
U2_ER_modeling.pptxssusera7b660
 
08. Object Oriented Database in DBMS
08. Object Oriented Database in DBMS08. Object Oriented Database in DBMS
08. Object Oriented Database in DBMSkoolkampus
 
Communication and Social Media Guidelines and Rubric.htmlOve
Communication and Social Media Guidelines and Rubric.htmlOveCommunication and Social Media Guidelines and Rubric.htmlOve
Communication and Social Media Guidelines and Rubric.htmlOveLynellBull52
 
U2_ER_upto_map_relations.pdf
U2_ER_upto_map_relations.pdfU2_ER_upto_map_relations.pdf
U2_ER_upto_map_relations.pdfssusera7b660
 
Introduction to ER Diagrams
Introduction to ER DiagramsIntroduction to ER Diagrams
Introduction to ER DiagramsAdri Jovin
 
Database adminstrator L-4 Design a Database - Lo1.pptx
Database adminstrator L-4  Design a Database - Lo1.pptxDatabase adminstrator L-4  Design a Database - Lo1.pptx
Database adminstrator L-4 Design a Database - Lo1.pptxbirhanugirmay559
 

Semelhante a Extended ER Model and other Modelling Languages - Lecture 2 - Introduction to Databases (1007156ANR) (20)

Unit2-ER-Diagram-28-jfjkfkjddghjdghjg11-2022-11am.pptx
Unit2-ER-Diagram-28-jfjkfkjddghjdghjg11-2022-11am.pptxUnit2-ER-Diagram-28-jfjkfkjddghjdghjg11-2022-11am.pptx
Unit2-ER-Diagram-28-jfjkfkjddghjdghjg11-2022-11am.pptx
 
Er diagrams
Er diagramsEr diagrams
Er diagrams
 
ch7.ppt ER Model lecture 102 slides set in ppt
ch7.ppt ER Model lecture 102 slides set in pptch7.ppt ER Model lecture 102 slides set in ppt
ch7.ppt ER Model lecture 102 slides set in ppt
 
DBMS-UNIT 3-part1.ppt
DBMS-UNIT 3-part1.pptDBMS-UNIT 3-part1.ppt
DBMS-UNIT 3-part1.ppt
 
Database Design and the ER Model, Indexing and Hashing
Database Design and the ER Model, Indexing and HashingDatabase Design and the ER Model, Indexing and Hashing
Database Design and the ER Model, Indexing and Hashing
 
U2_ER_modeling.pptx
U2_ER_modeling.pptxU2_ER_modeling.pptx
U2_ER_modeling.pptx
 
Er model
Er modelEr model
Er model
 
ER Model Ppt.ppt
ER Model Ppt.pptER Model Ppt.ppt
ER Model Ppt.ppt
 
ch6.pptx
ch6.pptxch6.pptx
ch6.pptx
 
Datamodels.pptx
Datamodels.pptxDatamodels.pptx
Datamodels.pptx
 
Unit02 dbms
Unit02 dbmsUnit02 dbms
Unit02 dbms
 
08. Object Oriented Database in DBMS
08. Object Oriented Database in DBMS08. Object Oriented Database in DBMS
08. Object Oriented Database in DBMS
 
Ch8
Ch8Ch8
Ch8
 
RDBMS_Unit 01
RDBMS_Unit 01RDBMS_Unit 01
RDBMS_Unit 01
 
Communication and Social Media Guidelines and Rubric.htmlOve
Communication and Social Media Guidelines and Rubric.htmlOveCommunication and Social Media Guidelines and Rubric.htmlOve
Communication and Social Media Guidelines and Rubric.htmlOve
 
U2_ER_upto_map_relations.pdf
U2_ER_upto_map_relations.pdfU2_ER_upto_map_relations.pdf
U2_ER_upto_map_relations.pdf
 
Introduction to ER Diagrams
Introduction to ER DiagramsIntroduction to ER Diagrams
Introduction to ER Diagrams
 
Database model
Database modelDatabase model
Database model
 
ER MODEL
ER MODELER MODEL
ER MODEL
 
Database adminstrator L-4 Design a Database - Lo1.pptx
Database adminstrator L-4  Design a Database - Lo1.pptxDatabase adminstrator L-4  Design a Database - Lo1.pptx
Database adminstrator L-4 Design a Database - Lo1.pptx
 

Mais de Beat Signer

Introduction - Lecture 1 - Human-Computer Interaction (1023841ANR)
Introduction - Lecture 1 - Human-Computer Interaction (1023841ANR)Introduction - Lecture 1 - Human-Computer Interaction (1023841ANR)
Introduction - Lecture 1 - Human-Computer Interaction (1023841ANR)Beat Signer
 
Indoor Positioning Using the OpenHPS Framework
Indoor Positioning Using the OpenHPS FrameworkIndoor Positioning Using the OpenHPS Framework
Indoor Positioning Using the OpenHPS FrameworkBeat Signer
 
Personalised Learning Environments Based on Knowledge Graphs and the Zone of ...
Personalised Learning Environments Based on Knowledge Graphs and the Zone of ...Personalised Learning Environments Based on Knowledge Graphs and the Zone of ...
Personalised Learning Environments Based on Knowledge Graphs and the Zone of ...Beat Signer
 
Cross-Media Technologies and Applications - Future Directions for Personal In...
Cross-Media Technologies and Applications - Future Directions for Personal In...Cross-Media Technologies and Applications - Future Directions for Personal In...
Cross-Media Technologies and Applications - Future Directions for Personal In...Beat Signer
 
Bridging the Gap: Managing and Interacting with Information Across Media Boun...
Bridging the Gap: Managing and Interacting with Information Across Media Boun...Bridging the Gap: Managing and Interacting with Information Across Media Boun...
Bridging the Gap: Managing and Interacting with Information Across Media Boun...Beat Signer
 
Codeschool in a Box: A Low-Barrier Approach to Packaging Programming Curricula
Codeschool in a Box: A Low-Barrier Approach to Packaging Programming CurriculaCodeschool in a Box: A Low-Barrier Approach to Packaging Programming Curricula
Codeschool in a Box: A Low-Barrier Approach to Packaging Programming CurriculaBeat Signer
 
The RSL Hypermedia Metamodel and Its Application in Cross-Media Solutions
The RSL Hypermedia Metamodel and Its Application in Cross-Media Solutions The RSL Hypermedia Metamodel and Its Application in Cross-Media Solutions
The RSL Hypermedia Metamodel and Its Application in Cross-Media Solutions Beat Signer
 
Case Studies and Course Review - Lecture 12 - Information Visualisation (4019...
Case Studies and Course Review - Lecture 12 - Information Visualisation (4019...Case Studies and Course Review - Lecture 12 - Information Visualisation (4019...
Case Studies and Course Review - Lecture 12 - Information Visualisation (4019...Beat Signer
 
Dashboards - Lecture 11 - Information Visualisation (4019538FNR)
Dashboards - Lecture 11 - Information Visualisation (4019538FNR)Dashboards - Lecture 11 - Information Visualisation (4019538FNR)
Dashboards - Lecture 11 - Information Visualisation (4019538FNR)Beat Signer
 
Interaction - Lecture 10 - Information Visualisation (4019538FNR)
Interaction - Lecture 10 - Information Visualisation (4019538FNR)Interaction - Lecture 10 - Information Visualisation (4019538FNR)
Interaction - Lecture 10 - Information Visualisation (4019538FNR)Beat Signer
 
View Manipulation and Reduction - Lecture 9 - Information Visualisation (4019...
View Manipulation and Reduction - Lecture 9 - Information Visualisation (4019...View Manipulation and Reduction - Lecture 9 - Information Visualisation (4019...
View Manipulation and Reduction - Lecture 9 - Information Visualisation (4019...Beat Signer
 
Visualisation Techniques - Lecture 8 - Information Visualisation (4019538FNR)
Visualisation Techniques - Lecture 8 - Information Visualisation (4019538FNR)Visualisation Techniques - Lecture 8 - Information Visualisation (4019538FNR)
Visualisation Techniques - Lecture 8 - Information Visualisation (4019538FNR)Beat Signer
 
Design Guidelines and Principles - Lecture 7 - Information Visualisation (401...
Design Guidelines and Principles - Lecture 7 - Information Visualisation (401...Design Guidelines and Principles - Lecture 7 - Information Visualisation (401...
Design Guidelines and Principles - Lecture 7 - Information Visualisation (401...Beat Signer
 
Data Processing and Visualisation Frameworks - Lecture 6 - Information Visual...
Data Processing and Visualisation Frameworks - Lecture 6 - Information Visual...Data Processing and Visualisation Frameworks - Lecture 6 - Information Visual...
Data Processing and Visualisation Frameworks - Lecture 6 - Information Visual...Beat Signer
 
Data Presentation - Lecture 5 - Information Visualisation (4019538FNR)
Data Presentation - Lecture 5 - Information Visualisation (4019538FNR)Data Presentation - Lecture 5 - Information Visualisation (4019538FNR)
Data Presentation - Lecture 5 - Information Visualisation (4019538FNR)Beat Signer
 
Analysis and Validation - Lecture 4 - Information Visualisation (4019538FNR)
Analysis and Validation - Lecture 4 - Information Visualisation (4019538FNR)Analysis and Validation - Lecture 4 - Information Visualisation (4019538FNR)
Analysis and Validation - Lecture 4 - Information Visualisation (4019538FNR)Beat Signer
 
Data Representation - Lecture 3 - Information Visualisation (4019538FNR)
Data Representation - Lecture 3 - Information Visualisation (4019538FNR)Data Representation - Lecture 3 - Information Visualisation (4019538FNR)
Data Representation - Lecture 3 - Information Visualisation (4019538FNR)Beat Signer
 
Human Perception and Colour Theory - Lecture 2 - Information Visualisation (4...
Human Perception and Colour Theory - Lecture 2 - Information Visualisation (4...Human Perception and Colour Theory - Lecture 2 - Information Visualisation (4...
Human Perception and Colour Theory - Lecture 2 - Information Visualisation (4...Beat Signer
 
Introduction - Lecture 1 - Information Visualisation (4019538FNR)
Introduction - Lecture 1 - Information Visualisation (4019538FNR)Introduction - Lecture 1 - Information Visualisation (4019538FNR)
Introduction - Lecture 1 - Information Visualisation (4019538FNR)Beat Signer
 
Towards a Framework for Dynamic Data Physicalisation
Towards a Framework for Dynamic Data PhysicalisationTowards a Framework for Dynamic Data Physicalisation
Towards a Framework for Dynamic Data PhysicalisationBeat Signer
 

Mais de Beat Signer (20)

Introduction - Lecture 1 - Human-Computer Interaction (1023841ANR)
Introduction - Lecture 1 - Human-Computer Interaction (1023841ANR)Introduction - Lecture 1 - Human-Computer Interaction (1023841ANR)
Introduction - Lecture 1 - Human-Computer Interaction (1023841ANR)
 
Indoor Positioning Using the OpenHPS Framework
Indoor Positioning Using the OpenHPS FrameworkIndoor Positioning Using the OpenHPS Framework
Indoor Positioning Using the OpenHPS Framework
 
Personalised Learning Environments Based on Knowledge Graphs and the Zone of ...
Personalised Learning Environments Based on Knowledge Graphs and the Zone of ...Personalised Learning Environments Based on Knowledge Graphs and the Zone of ...
Personalised Learning Environments Based on Knowledge Graphs and the Zone of ...
 
Cross-Media Technologies and Applications - Future Directions for Personal In...
Cross-Media Technologies and Applications - Future Directions for Personal In...Cross-Media Technologies and Applications - Future Directions for Personal In...
Cross-Media Technologies and Applications - Future Directions for Personal In...
 
Bridging the Gap: Managing and Interacting with Information Across Media Boun...
Bridging the Gap: Managing and Interacting with Information Across Media Boun...Bridging the Gap: Managing and Interacting with Information Across Media Boun...
Bridging the Gap: Managing and Interacting with Information Across Media Boun...
 
Codeschool in a Box: A Low-Barrier Approach to Packaging Programming Curricula
Codeschool in a Box: A Low-Barrier Approach to Packaging Programming CurriculaCodeschool in a Box: A Low-Barrier Approach to Packaging Programming Curricula
Codeschool in a Box: A Low-Barrier Approach to Packaging Programming Curricula
 
The RSL Hypermedia Metamodel and Its Application in Cross-Media Solutions
The RSL Hypermedia Metamodel and Its Application in Cross-Media Solutions The RSL Hypermedia Metamodel and Its Application in Cross-Media Solutions
The RSL Hypermedia Metamodel and Its Application in Cross-Media Solutions
 
Case Studies and Course Review - Lecture 12 - Information Visualisation (4019...
Case Studies and Course Review - Lecture 12 - Information Visualisation (4019...Case Studies and Course Review - Lecture 12 - Information Visualisation (4019...
Case Studies and Course Review - Lecture 12 - Information Visualisation (4019...
 
Dashboards - Lecture 11 - Information Visualisation (4019538FNR)
Dashboards - Lecture 11 - Information Visualisation (4019538FNR)Dashboards - Lecture 11 - Information Visualisation (4019538FNR)
Dashboards - Lecture 11 - Information Visualisation (4019538FNR)
 
Interaction - Lecture 10 - Information Visualisation (4019538FNR)
Interaction - Lecture 10 - Information Visualisation (4019538FNR)Interaction - Lecture 10 - Information Visualisation (4019538FNR)
Interaction - Lecture 10 - Information Visualisation (4019538FNR)
 
View Manipulation and Reduction - Lecture 9 - Information Visualisation (4019...
View Manipulation and Reduction - Lecture 9 - Information Visualisation (4019...View Manipulation and Reduction - Lecture 9 - Information Visualisation (4019...
View Manipulation and Reduction - Lecture 9 - Information Visualisation (4019...
 
Visualisation Techniques - Lecture 8 - Information Visualisation (4019538FNR)
Visualisation Techniques - Lecture 8 - Information Visualisation (4019538FNR)Visualisation Techniques - Lecture 8 - Information Visualisation (4019538FNR)
Visualisation Techniques - Lecture 8 - Information Visualisation (4019538FNR)
 
Design Guidelines and Principles - Lecture 7 - Information Visualisation (401...
Design Guidelines and Principles - Lecture 7 - Information Visualisation (401...Design Guidelines and Principles - Lecture 7 - Information Visualisation (401...
Design Guidelines and Principles - Lecture 7 - Information Visualisation (401...
 
Data Processing and Visualisation Frameworks - Lecture 6 - Information Visual...
Data Processing and Visualisation Frameworks - Lecture 6 - Information Visual...Data Processing and Visualisation Frameworks - Lecture 6 - Information Visual...
Data Processing and Visualisation Frameworks - Lecture 6 - Information Visual...
 
Data Presentation - Lecture 5 - Information Visualisation (4019538FNR)
Data Presentation - Lecture 5 - Information Visualisation (4019538FNR)Data Presentation - Lecture 5 - Information Visualisation (4019538FNR)
Data Presentation - Lecture 5 - Information Visualisation (4019538FNR)
 
Analysis and Validation - Lecture 4 - Information Visualisation (4019538FNR)
Analysis and Validation - Lecture 4 - Information Visualisation (4019538FNR)Analysis and Validation - Lecture 4 - Information Visualisation (4019538FNR)
Analysis and Validation - Lecture 4 - Information Visualisation (4019538FNR)
 
Data Representation - Lecture 3 - Information Visualisation (4019538FNR)
Data Representation - Lecture 3 - Information Visualisation (4019538FNR)Data Representation - Lecture 3 - Information Visualisation (4019538FNR)
Data Representation - Lecture 3 - Information Visualisation (4019538FNR)
 
Human Perception and Colour Theory - Lecture 2 - Information Visualisation (4...
Human Perception and Colour Theory - Lecture 2 - Information Visualisation (4...Human Perception and Colour Theory - Lecture 2 - Information Visualisation (4...
Human Perception and Colour Theory - Lecture 2 - Information Visualisation (4...
 
Introduction - Lecture 1 - Information Visualisation (4019538FNR)
Introduction - Lecture 1 - Information Visualisation (4019538FNR)Introduction - Lecture 1 - Information Visualisation (4019538FNR)
Introduction - Lecture 1 - Information Visualisation (4019538FNR)
 
Towards a Framework for Dynamic Data Physicalisation
Towards a Framework for Dynamic Data PhysicalisationTowards a Framework for Dynamic Data Physicalisation
Towards a Framework for Dynamic Data Physicalisation
 

Último

A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...Pooja Nehwal
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 

Último (20)

Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 

Extended ER Model and other Modelling Languages - Lecture 2 - Introduction to Databases (1007156ANR)

  • 1. 2 December 2005 Introduction to Databases Extended ER Model and other Modelling Languages Prof. Beat Signer Department of Computer Science Vrije Universiteit Brussel http://www.beatsigner.com
  • 2. Beat Signer - Department of Computer Science - bsigner@vub.ac.be 2February 24, 2017 Extended Entity-Relationship (EER) Model  Over the years the ER model has been extended with additional concepts to increase its expressiveness  specialisation and generalisation (ISA relationship)  ISA constraints  aggregation
  • 3. Beat Signer - Department of Computer Science - bsigner@vub.ac.be 3February 24, 2017 Specialisation and Generalisation  An entitiy set can be further subgrouped or specialised into distinctive entity sets  an entity subset may for example have additional attributes  top-down approach  Parts of multiple entity sets may be generalised in a higher level entity set  bottom-up approach  Specialisations as well as generalisations are represented by the same ISA relationship construct  represented by a triangle in the EER model  A ISA B implies that every A entity is also a B entity  generalisation can be seen as the inversion of specialisation ISA
  • 4. Beat Signer - Department of Computer Science - bsigner@vub.ac.be 4February 24, 2017 ISA Relationship Persons id name Students ISA Teachers PhD Students Professors ISA research topic teaching hours studentID #projects LivesAt Locations address 0..*0..1 ISA
  • 5. Beat Signer - Department of Computer Science - bsigner@vub.ac.be 5February 24, 2017 ISA Relationship ...  The attributes of a higher level entity set (superclass) are inherited by the lower level entity set (subclass) via the ISA relationship  e.g. students inherit the id attribute from persons  A subclass also inherits any relationship participation from its superclass  e.g. students, teachers etc. can participate in the LivesAt relationship ISA
  • 6. Beat Signer - Department of Computer Science - bsigner@vub.ac.be 6February 24, 2017 ISA Constraints  To model an application domain more precisely, specific constraints can be defined over an ISA relationship  Membership constraints  a condition-defined membership constraint assigns an entity to a specific subclass based on one or more attribute values  a user-defined membership constraint can be used to manually assign entities to a specific subclass (manual classification)  Disjointness constraints  an overlapping constraint over subclasses specifies that an entity may belong to multiple subclasses - e.g. a person may be a teacher as well as a student - by default, subclasses participate in an overlapping constraint ISA
  • 7. Beat Signer - Department of Computer Science - bsigner@vub.ac.be 7February 24, 2017 ISA Constraints ...  Disjointness constraints ...  a disjoint constraint specifies that an entity can only belong to exactly one subclass - e.g. a teacher can be either a PhD student or a professor (but not both) - expressed by writing the word disjoint next to the triangle  Completeness constraints  a partial specialisation (generalisation) constraint specifies that some superclass entities may not belong to any subclass - default completeness constraint  a total specialisation (generalisation) constraint defines that each superclass entity must belong to a subclass - e.g. each teacher must belong to the PhD Students or Professors subclass (or to both of them) - represented by a double line connection to the triangle (like total participation) ISA
  • 8. Beat Signer - Department of Computer Science - bsigner@vub.ac.be 8February 24, 2017 ISA Constraints ... disjointness and completeness constraints are independent of each other ISA Persons id name Students ISA Teachers PhD Students Professors ISA research topic teaching hours studentID #projects LivesAt Locations address birthdate Adults ISA birthdate < 23.02.1996 disjoint 0..*0..1
  • 9. Beat Signer - Department of Computer Science - bsigner@vub.ac.be 9February 24, 2017 Aggregation  A limitation of the ER model is that relationships cannot be modelled over other relationship sets  What if we would like to introduce a manager for some (employee, company, duration) combinations? WorksFor CompaniesEmployees id name name address Durations from to 0..* 0..* 1..1
  • 10. Beat Signer - Department of Computer Science - bsigner@vub.ac.be 10February 24, 2017 Aggregation ...  We cannot just create a 4-ary relationship WorksFor  not all combinations have a manager  Introduce a new 4-ary Manages relationship  problem: we introduce some redundancy! - (employee, company, duration) are replicated in (manager, employee, company, duration) WorksFor CompaniesEmployees id name name address Durations from to Manages Managers 1..1 0..* 0..* 0..* 0..* 0..* 0..*
  • 11. Beat Signer - Department of Computer Science - bsigner@vub.ac.be 11February 24, 2017 Aggregation ...  An aggregation treats the relationship as a higher level entity  can be used in another relationship WorksFor CompaniesEmployees id name name address Durations from to Manages Managers 1..1 0..* 0..* 1..* 0..*
  • 12. Beat Signer - Department of Computer Science - bsigner@vub.ac.be 12February 24, 2017 Part-Of Hierarchies PartOf Tires Cars CPartOf TPartOf Chassis 3..4 1..1 1..1 1..1 PartOf particular product general Part-Of PartOf Products 0..1 superpart subpart 0..*
  • 13. Beat Signer - Department of Computer Science - bsigner@vub.ac.be 13February 24, 2017 ER Design Issues  When do we model something as an attribute and when as an entity set?  there is no general answer and the choice depends on the specific application domain to be modelled  When do we model something as a relationship set and when as an entity set?  a relationship set often corresponds to an action between entities  In general we should try to avoid higher level n-ary relationship sets  3-ary relationship sets should be the maximum and even these should be used carefully
  • 14. Beat Signer - Department of Computer Science - bsigner@vub.ac.be 14February 24, 2017 Attribute or Entity?  Should the address in the example be modelled as an attribute or as a separate entity?  depends on the intended use of the address  if we need an address for different entities (e.g. not just for employees) it is better to model the address as separate entity LocatedAt OfficesEmployees id name birthday phone age #offices address street city 0..1 0..*
  • 15. Beat Signer - Department of Computer Science - bsigner@vub.ac.be 15February 24, 2017 Attribute or Entity?  Should the duration be modelled as a from and to attribute or as a separate entity?  Depends again on the use  if we foresee that the same duration period is used by other entity sets, it should be modelled as a separate entity WorksFor CompaniesEmployees id name name address Durations from to 0..* 0..* 1..1
  • 16. Beat Signer - Department of Computer Science - bsigner@vub.ac.be 16February 24, 2017 N-ary or Binary Relationships?  Basically any n-ary relationship can be replaced by a number of binary relationship sets  "real" 3-ary relationships should not be replaced - e.g. WorksFor presented earlier  the Parents relationship is a example of a non-real 3-ary relationship - have to use null values if there is either no father or mother - better to model it as two separate binary relationships ParentsPersons child father mother PersonsHasFather HasMother child child father mother 0..* 0..* 0..1 0..1 0..1 0..* 0..*
  • 17. Beat Signer - Department of Computer Science - bsigner@vub.ac.be 17February 24, 2017 ER Design Principles  Make sure that you pay attention to all the entities, their relationships and any other constraints mentioned in the description (requirements) of a specific application domain  e.g. show cardinality constraints for all relationships  Avoid redundancy!  The resulting conceptual model should be as simple as possible, but not simpler  introduce only necessary entities and relationships  Some constraints (e.g. functional dependencies) cannot be expressed in the ER model
  • 18. Beat Signer - Department of Computer Science - bsigner@vub.ac.be 18February 24, 2017 ER Design Principles ...  In two weeks we will see how the conceptual ER model can be mapped to a logical database schema (e.g. relational database schema)  The resulting relational schema can be further analysed by using functional dependencies and normalisation
  • 19. Beat Signer - Department of Computer Science - bsigner@vub.ac.be 19February 24, 2017 ER Summary  Entities and attributes  Relationships  cardinality constraints  participation constraints  Keys  Weak entities  ISA hierarchies  Aggregation
  • 20. Beat Signer - Department of Computer Science - bsigner@vub.ac.be 20February 24, 2017 Classification and Typing  Aristotle (384 BC-322 BC) introduced a biological classification (ontology)  artificial classification system  organisms with the two subclasses plants and animals  animals further subclassified into animals with blood and animals without blood  animals also classified into walking animals, flying animals and swimming animals (habitat)  Characteristics (problems) of Aristotle's classification  based on behaviour and not on similarities (non-evolutionary)  animals can belong to multiple classes - e.g. a duck belongs to the walking animals as well as swimming animals class Aristotle
  • 21. Beat Signer - Department of Computer Science - bsigner@vub.ac.be 21February 24, 2017 Classification and Typing ...  Bertrand Russell defined the type of a given predicate P as the entity set spanned by P  intensional notion of type  The notion of type for classi- fying entities based on a set of conditions was questionned by Wittgenstein  there exists no precise definition (type) for some general concepts - e.g. no definition for the general concept of a game  We can have a definitional (e.g. intensional) or prototypical definition of a type Bertrand Russell Ludwig Wittgenstein
  • 22. Beat Signer - Department of Computer Science - bsigner@vub.ac.be 22February 24, 2017 OM Model  Data model that integrates concepts from the entity-relationship and object-oriented data models  based on objects, collections and associations (binary collections) - supports associations over associations  different types of collections - sets, bags, rankings and sequences  Separates typing and classification (role modelling)  Operational part (algebra) over objects and collections  A family of object database platforms have been realised based on the OM model (e.g. OMS Java) Moira C. Norrie
  • 23. Beat Signer - Department of Computer Science - bsigner@vub.ac.be 23February 24, 2017 OM Typing and Classification { p1,p2 } p1,p2,p3,p4 } p1 p2 Classification Entities Objects Roles Collections represented by Semantic Grouping employee designer Typing Employees Designers Females subtype subcollection
  • 24. Beat Signer - Department of Computer Science - bsigner@vub.ac.be 24February 24, 2017 OM Example (RSL Link Metamodel)
  • 25. Beat Signer - Department of Computer Science - bsigner@vub.ac.be 25February 24, 2017 The Unified Modelling Language (UML)  UML is a standard developed by the Object Manage- ment Group (OMG)  used to specify the components of a software system  based on earlier work including the object-modelling technique (OMT) by Rumbaugh et al., the Booch method by Booch and object- oriented software engineering (OOSE) by Jacobson  UML supports different types of diagrams  class diagrams, use case diagrams, package diagrams,... Ivar JacobsonGrady BoochJames Rumbaugh
  • 26. Beat Signer - Department of Computer Science - bsigner@vub.ac.be 26February 24, 2017 UML Class Diagrams  A UML class diagram is similar to an ER model  A UML class is "like" an ER entity set  contains attributes as well as methods Employees id name birthday phone age address employee id name birthday phone address age() ER entity set UML class
  • 27. Beat Signer - Department of Computer Science - bsigner@vub.ac.be 27February 24, 2017 UML Class Diagrams ...  UML relationship class with attributes can be used like an ER aggregation in other UML relationships  e.g. locatedAt in the example  Note that the position of the cardinality constraints are switched in UML ER relationships UML relationships LocatedAt OfficesEmployees employee office employee office officeemployee locatedAt LocatedAt OfficesEmployees employee office years 0..*0..1 0..* 0..1 employee office officeemployee locatedAt years
  • 28. Beat Signer - Department of Computer Science - bsigner@vub.ac.be 28February 24, 2017 UML Class Diagrams ... Teachers PhD Students Professors ISA disjoint teacher phdStudent professor Teachers PhD Students Professors ISA teacher phdStudent professor overlapping disjoint ER specialisation UML specialisation
  • 29. Beat Signer - Department of Computer Science - bsigner@vub.ac.be 29February 24, 2017 Modelling Exercises  Model the RSL link model in ER  Define an ER model for the following application  You are going to develop a database for the Chamber of Com- merce and Industry of Brussels (CVO) to manage information about language courses in Dutch, Spanish, French and Italian. The database should store information about the teachers and students as well as the individual language courses. A semester lasts for 13 weeks. Regular courses are scheduled for two sessions (each 3 hours) per week; advanced courses for three sessions (each 4 hours) per week. Each course has a difficulty level (module) of 1, 2 or 3 and costs a certain amount of money. A teacher may not give more than 4 courses and not teach in more than 2 languages. Each student has to do a final exam and will get a grade for the exam.
  • 30. Beat Signer - Department of Computer Science - bsigner@vub.ac.be 30February 24, 2017 Homework  Study the following chapter of the Database System Concepts book  chapter 7 - sections 7.8-7.10 - Extended ER Model (EER) - Unified Modelling Language (UML)
  • 31. Beat Signer - Department of Computer Science - bsigner@vub.ac.be 31February 24, 2017 Exercise 2  Entity-Relationship (ER) model  Extended Entity-Relationship (EER) model
  • 32. Beat Signer - Department of Computer Science - bsigner@vub.ac.be 32February 24, 2017 References  A. Silberschatz, H. Korth and S. Sudarshan, Database System Concepts (Sixth Edition), McGraw-Hill, 2010  M.C. Norrie, An Extended Entity-Relationship Approach to Data Management in Object-Oriented Systems, Proceedings of ER 1993, 12th International Conference on Conceptual Modeling, Arlington, USA, December 1993  https://globis.ethz.ch/files/2015/05/1993b-n-er.pdf
  • 33. Beat Signer - Department of Computer Science - bsigner@vub.ac.be 33February 24, 2017 References ...  B. Signer and M.C. Norrie, As We May Link: A General Metamodel for Hypermedia Systems, Proceedings of ER 2007, 26th International Conference on Conceptual Modeling, Auckland, New Zealand, November 2007  http://beatsigner.com/publications/signer_ER2007.pdf
  • 34. 2 December 2005 Next Lecture Relational Model and Relational Algebra