Uniqueness and Identity Rules in ORM

Size: px
Start display at page:

Download "Uniqueness and Identity Rules in ORM"

Transcription

1 Reference: Mustafa Jarrar: Lecture Notes on Uniqueness and Identity Rules in ORM Birzeit University, Palestine, 2015 Uniqueness and Identity Rules in ORM (Chapter 4) Mustafa Jarrar Birzeit University, Palestine 1

2 Slides And Videos - Download, Watch, Interact Watch this lecture and download the slides from Some diagrams in this lecture are based on [1] Keywords: Identity, Uniqueness, Cardinality, Business Rules, ﻩهﻭوﻱيﺓة, ﻑفﺭرﻱيﺩد, 2

3 Reference: Mustafa Jarrar: Lecture Notes on Uniqueness and Identity Rules in ORM University of Birzeit, Palestine, 2015 Uniqueness and Identity Rules in ORM Part 1: What is Uniqueness/Identity? Part 2: Internal Uniqueness (within a Fact Type) Part 3: External Uniqueness (across Fact Types) Part 4: Key Length and Reference Schema 3

4 Conceptual Schema Design Steps 1. From examples to elementary facts 2. Draw fact types and apply population check 3. Combine entity types 4. Add uniqueness constraints 5. Add mandatory constraints 6. Add set, subtype, & frequency constraints 7. Final checks, & schema engineering issues 4

5 Identity Criteria and Uniqueness In Data Modeling: One of more attributes (Name, Name+Birthday, ) that we can use to uniquely refer to an entity, within a contest! If we cannot easily find/use these attributes, we give an ID (ID number, Book number, URI, IRI.) In reality A property that can be used to uniquely refer to an entity in any context, if this property is changed then the entity becomes another (what identifies a person? Book?). Notice that an attribute/property should be mandatory/essential to be used for identification. (we will talk about this later). 5

6 What is Uniqueness? For each state taken individually, each person has at most one weight. è How can we record such information without redundancy? 6

7 Reference: Mustafa Jarrar: Lecture Notes on Uniqueness and Identity Rules in ORM University of Birzeit, Palestine, 2015 Uniqueness and Identity Rules in ORM Part 1: What is Uniqueness/Identity? Part 2: Internal Uniqueness (within a Fact Type) Part 3: External Uniqueness (across Fact Types) Part 4: Key Length and Reference Schema 7

8 Uniqueness on Unary Fact Types Is their any problem with this schema? How can we prevent people adding such redundant information? 8

9 Uniqueness on Unary Fact Types The uniqueness constraint ensures entities are unique (no duplicates) 9

10 Uniqueness on Binary Fact Types Each Politician was born in at most one Country Each Politician heads government of at most one Country Each Country has at most one head Politician 10

11 Uniqueness on Binary Fact Types Means many to many It is possible that the same Politician visited more than one Country and that the same Country was visited by more than one Politician Who can give more examples? 11

12 Uniqueness on Binary Fact Types What is unique here? 12

13 Uniqueness on Binary Fact Types What is unique here? 13

14 Uniqueness on Binary Fact Types The four uniqueness constraint patterns for a binary. No duplicates are allowed in a's column Each a R's at most one b No duplicates are allowed in b's column Each b is R'd by at most one a Both the foregoing constraints apply No duplicate (a,b) rows are allowed Each a may R many b and vice versa 14

15 How to think about Uniqueness Is the population significant? Adding counterexamples to test the constraints ü 15

16 Uniqueness on Binary Fact Types Which is more realistic? 16

17 Uniqueness on Ternary Fact Types What are the uniqueness constraints? Each (Person, Subject) combination is unique. 17

18 Uniqueness on Ternary Fact Types Allowed basic uniqueness constraints for a ternary. 18

19 Uniqueness on Ternary Fact Types What this uniqueness means? 19

20 Uniqueness on Ternary Fact Types Allowed uniqueness constraint combinations for a ternary. 20

21 Uniqueness on Ternary Fact Types Which of this constraint patterns is illegal? Why? û û û 21

22 Example of Uniqueness on n-ary fact types Each (a,c,d) combination occurs on at most one row. 22

23 Uniqueness with Nested Fact Types This constraint is particularly important! Why? è Explain what is unique 23

24 Reference: Mustafa Jarrar: Lecture Notes on Uniqueness and Identity Rules in ORM University of Birzeit, Palestine, 2015 Uniqueness and Identity Rules in ORM Part 1: What is Uniqueness/Identity? Part 2: Internal Uniqueness (within a Fact Type) Part 3: External Uniqueness (across Fact Types) Part 4: Key Length and Reference Schema 24

25 What is the difference between these? è Explain the Joins è Do we need uniqueness? 25

26 External Uniqueness constraints What is missing? u 26

27 External Uniqueness constraints The meaning of the External Uniqueness Each (b,c) combination is paired with at most one a Each population R join S has bc unique (where join denotes conceptual inner join ) 27

28 Example 28

29 An Other Uniqueness How to say that the combination of (Discipline, YearLevel, SerialNr) is unique for each subject? The Subject code might be generated from this combination 29

30 Example with nest fact types 30

31 Reference: Mustafa Jarrar: Lecture Notes on Uniqueness and Identity Rules in ORM University of Birzeit, Palestine, 2015 Uniqueness and Identity Rules in ORM Part 1: What is Uniqueness/Identity? Part 2: Internal Uniqueness (within a Fact Type) Part 3: External Uniqueness (across Fact Types) Part 4: Key Length and Reference Schema 31

32 Key Length Check What is wrong? Splits into Each UC in an elementary n-ary relationship must span at least n-1 roles 32

33 Key Length Check What is wrong? Splits into 33

34 Reference Schemes In data modeling, each entity (i.e., Object Type) must have an identity. The identity is achieved if an entity has mandatory and unique role è This is not important (i.e. implicit) in ontology modeling. 34

35 Project (Student Registry) Description: The central management of students profiles by the ministry of education is becoming an urgent need in the last years. Many students in Palestine move from one university to another, and they need to transfer their academic records. Also, the ministry of higher education needs to certify the diplomas and mark sheets of students. Moreover, there is a need to centrally manage/monitor students financial aids. Therefore, the ministry of higher education has decided to build a national student registry, such that, each semester every university has to send the academic record (i.e., mark-sheet) of every student to the ministry of education. The ministry will then update and integrate the academic records according to the data combined from all universities into the national student registry. The ministry wants to specify a data model (in ORM) to be used as a reference data model of, including the business rules. è Develop a conceptual model (in both Arabic and English separately) for this information system, which must be suitable for mark sheets in all Palestinian universities (Tip: you may start with your own mark sheet). è Deliver hard copy to my office, before February xx,

36 References 1. Terry Halpin, Tony Morgan: Information Modeling and Relational Databases, Second Edition. 2 nd Edition. The Morgan Kaufmann Series in Data Management Systems. ISBN: Mustafa Jarrar and Stijn Heymans: Towards Pattern-Based Reasoning For Friendly Ontology Debugging. Journal of Artificial Intelligence Tools. Volume 17. No.4. World Scientific Publishing. Aug Mustafa Jarrar: Mapping ORM Into The SHOIN/OWL Description Logic- Towards A Methodological And Expressive Graphical Notation For Ontology Engineering. In OTM 2007 workshops: Proceedings of the International Workshop on Object-Role Modeling (ORM'07). Pages ( ), LNCS 4805, Springer. ISBN: Portogal. November, Mustafa Jarrar: Towards Automated Reasoning On ORM Schemes. -Mapping ORM Into The DLR_idf Description Logic. In proceedings of the 26th International Conference on Conceptual Modeling (ER 2007). Pages ( ). LNCS 4801, Springer. Auckland, New Zealand. ISBN November Mustafa Jarrar and Stijn Heymans: Unsatisfiability Reasoning In ORM Conceptual Schemes. In Current Trends in Database Technology - EDBT 2006: Proceeding of the IFIP-2.6 International Conference on Semantics of a Networked. Pages ( ). LNCS 4254, Springer. Munich, Germany. ISBN: March Mustafa Jarrar, Maria Keet, and Paolo Dongilli: Multilingual Verbalization Of ORM Conceptual Models And Axiomatized Ontologies. Technical eport. STARLab, Vrije Universiteit Brussel, Feb Mustafa Jarrar: Modularization And Automatic Composition Of Object-Role Modeling (ORM) Schemes. OTM 2005 Workshops: Proceedings of the Object-Role Modeling (ORM'05). Pages ( ). LNCS 3762, Springer. Larnaca, Cyprus. ISBN: November

Uniqueness and Identity Rules in ORM

Uniqueness and Identity Rules in ORM Mustafa Jarrar: Lecture Notes on Uniqueness and Identity Rules in ORM. University of Birzeit, Palestine, 2018 Version 4 Uniqueness and Identity Rules in ORM (Chapter 4) Mustafa Jarrar Birzeit University

More information

Subset, Equality, and Exclusion Rules In ORM

Subset, Equality, and Exclusion Rules In ORM Reference: Mustafa Jarrar: Lecture Notes on Subset, Equality, and Exclusion Rules in ORM Birzeit University, Palestine, 2015 Subset, Equality, and Exclusion Rules In ORM (Chapter 6) Mustafa Jarrar Birzeit

More information

Schema Equivalence and Optimization

Schema Equivalence and Optimization Reference: Mustafa Jarrar: Lecture Notes on Schema Equivalence and Optimization in ORM Birzeit University, Palestine, 2015 Schema Equivalence and Optimization Mustafa Jarrar Birzeit University, Palestine

More information

Dr. Mustafa Jarrar. Knowledge Engineering (SCOM7348) (Chapter 4) University of Birzeit

Dr. Mustafa Jarrar. Knowledge Engineering (SCOM7348) (Chapter 4) University of Birzeit Mustafa Jarrar Lecture Notes, Knowledge Engineering (SCOM7348) University of Birzeit 1 st Semester, 2011 Knowledge Engineering (SCOM7348) Uniqueness (Chapter 4) Dr. Mustafa Jarrar University of Birzeit

More information

Subset, Equality, and Exclusion Rules In ORM

Subset, Equality, and Exclusion Rules In ORM Reference: Mustafa Jarrar: Lecture Notes on Subset, Equality, and Exclusion Rules in ORM University of Birzeit, Palestine, 2015 Subset, Equality, and Exclusion Rules In ORM (Chapter 6) Dr. Mustafa Jarrar

More information

Mandatory Roles. Dr. Mustafa Jarrar. Knowledge Engineering (SCOM7348) (Chapter 5) University of Birzeit

Mandatory Roles. Dr. Mustafa Jarrar. Knowledge Engineering (SCOM7348) (Chapter 5) University of Birzeit Lecture Notes on Mandatory Roles Birzeit University 2011 Knowledge Engineering (SCOM7348) Mandatory Roles (Chapter 5) Dr. Mustafa Jarrar University of Birzeit mjarrar@birzeit.edu www.jarrar.info Jarrar

More information

Schema Equivalence and Optimization

Schema Equivalence and Optimization Reference: Mustafa Jarrar: Lecture Notes on Schema Equivalence and Optimization in ORM Birzeit University, Palestine, 2015 Schema Equivalence and Optimization Dr. Mustafa Jarrar University of Birzeit mjarrar@birzeit.edu

More information

ORM Modeling Tips and Common Mistakes

ORM Modeling Tips and Common Mistakes Reference: Mustafa Jarrar: Lecture Notes on ORM Modeling Tips and Common Mistakes University of Birzeit, Palestine, 2015 ORM Modeling Tips and Common Mistakes Dr. Mustafa Jarrar University of Birzeit mjarrar@birzeit.edu

More information

Quick Mathematical Background for Conceptual Modeling

Quick Mathematical Background for Conceptual Modeling Reference: Mustafa Jarrar: Lecture Notes on Mathematics for Conceptual Modeling University of Birzeit, Palestine, 2015 Quick Mathematical Background for Conceptual Modeling (Chapter 6) Dr. Mustafa Jarrar

More information

Introduction to Conceptual Data Modeling

Introduction to Conceptual Data Modeling Mustafa Jarrar: Lecture Notes on Introduction to Conceptual Data Modeling. University of Birzeit, Palestine, 2018 Version 4 Introduction to Conceptual Data Modeling (Chapter 1 & 2) Mustafa Jarrar Birzeit

More information

Conceptual Data Modeling Concepts & Principles

Conceptual Data Modeling Concepts & Principles Mustafa Jarrar: Lecture Notes on Conceptual Modeling Concepts. Birzeit University, Palestine. 2011 Conceptual Data Modeling Concepts & Principles (Chapter 1&2) Mustafa Jarrar Birzeit University mjarrar@birzeit.edu

More information

Data Integration and Fusion using RDF

Data Integration and Fusion using RDF Lecture Notes on Data Integration and Fusion Using RDF University of Birzeit, Palestine 2013 Data Integration and Fusion using RDF Dr. Mustafa Jarrar University of Birzeit mjarrar@birzeit.edu www.jarrar.info

More information

Mustafa Jarrar: Lecture Notes on RDF Schema Birzeit University, Version 3. RDFS RDF Schema. Mustafa Jarrar. Birzeit University

Mustafa Jarrar: Lecture Notes on RDF Schema Birzeit University, Version 3. RDFS RDF Schema. Mustafa Jarrar. Birzeit University Mustafa Jarrar: Lecture Notes on RDF Schema Birzeit University, 2018 Version 3 RDFS RDF Schema Mustafa Jarrar Birzeit University 1 Watch this lecture and download the slides Course Page: http://www.jarrar.info/courses/ai/

More information

Introduction to modeling. ER modelling

Introduction to modeling. ER modelling Introduction to modeling ER modelling Slides for this part are based on Chapters 8 from Halpin, T. & Morgan, T. 2008, Information Modeling and Relational Databases, Second Edition (ISBN: 978-0-12-373568-3),

More information

Information Modeling and Relational Databases

Information Modeling and Relational Databases Information Modeling and Relational Databases Second Edition Terry Halpin Neumont University Tony Morgan Neumont University AMSTERDAM» BOSTON. HEIDELBERG LONDON NEW YORK OXFORD PARIS SAN DIEGO SAN FRANCISCO

More information

Object-role modelling (ORM)

Object-role modelling (ORM) Introduction to modeling WS 2015/16 Object-role modelling (ORM) Slides for this part are based on Chapters 3-7 from Halpin, T. & Morgan, T. 2008, Information Modeling and Relational Databases, Second Edition

More information

RDF Graph Data Model

RDF Graph Data Model Mustafa Jarrar: Lecture Notes on RDF Data Model Birzeit University, 2018 Version 7 RDF Graph Data Model Mustafa Jarrar Birzeit University 1 Watch this lecture and download the slides Course Page: http://www.jarrar.info/courses/ai/

More information

Data Schema Integration

Data Schema Integration Mustafa Jarrar Lecture Notes, Web Data Management (MCOM7348) University of Birzeit, Palestine 1 st Semester, 2013 Data Schema Integration Dr. Mustafa Jarrar University of Birzeit mjarrar@birzeit.edu www.jarrar.info

More information

Entity Relationship Diagram (ERD): Basics

Entity Relationship Diagram (ERD): Basics Entity Relationship Diagram (ERD): Basics CIS 3730 Designing and Managing Data J.G. Zheng Fall 2010 Overview: 3 Level Database Design Creating an Entity Relationship Diagram (ERD) and associated data dictionary

More information

Introduction to Data Integration

Introduction to Data Integration Lecture Notes, Web Data Management Birzeit University, Palestine 2013 Introduction to Data Integration Dr. Mustafa Jarrar University of Birzeit mjarrar@birzeit.edu www.jarrar.info Jarrar 2013 1 Watch this

More information

Verbalizing Business Rules: Part 10

Verbalizing Business Rules: Part 10 Verbalizing Business Rules: Part 10 Terry Halpin rthface University Business rules should be validated by business domain experts, and hence specified using concepts and languages easily understood by

More information

Introduction to modeling

Introduction to modeling Introduction to modeling Relational modelling Slides for this part are based on Chapters 11 from Halpin, T. & Morgan, T. 2008, Information Modeling and Relational Databases, Second Edition (ISBN: 978-0-12-373568-3),

More information

Entity Relationship modeling from an ORM perspective: Part 2

Entity Relationship modeling from an ORM perspective: Part 2 Entity Relationship modeling from an ORM perspective: Part 2 Terry Halpin Microsoft Corporation Introduction This article is the second in a series of articles dealing with Entity Relationship (ER) modeling

More information

UML Data Models From An ORM Perspective: Part 3

UML Data Models From An ORM Perspective: Part 3 UML Data Models From n ORM Perspective: Part 3 by Dr. Terry Halpin, Sc, DipEd,, MLitStud, PhD Director of Database Strategy, Visio Corporation This paper appeared in the June 998 issue of the Journal of

More information

Represent entities and relations with diagrams

Represent entities and relations with diagrams LEARNING OBJECTIVES Define data modeling terms Describe E-R Model Identify entities and relations Represent entities and relations with diagrams WHAT IS DATA MODELING? A data model is a collection of concepts

More information

Verbalizing Business Rules: Part 9

Verbalizing Business Rules: Part 9 Verbalizing Business Rules: Part 9 Terry Halpin Northface University Business rules should be validated by business domain experts, and hence specified using concepts and languages easily understood by

More information

Data Modeling Online Training

Data Modeling Online Training Data Modeling Online Training IQ Online training facility offers Data Modeling online training by trainers who have expert knowledge in the Data Modeling and proven record of training hundreds of students.

More information

ORM and Description Logic. Dr. Mustafa Jarrar. STARLab, Vrije Universiteit Brussel, Introduction (Why this tutorial)

ORM and Description Logic. Dr. Mustafa Jarrar. STARLab, Vrije Universiteit Brussel, Introduction (Why this tutorial) Web Information Systems Course University of Hasselt, Belgium April 19, 2007 ORM and Description Logic Dr. Mustafa Jarrar mjarrar@vub.ac.be STARLab, Vrije Universiteit Brussel, Outline Introduction (Why

More information

Chapter 2 Conceptual Modeling. Objectives

Chapter 2 Conceptual Modeling. Objectives Chapter 2 Conceptual Modeling Basic Entity Relationship Diagrams 1 Objectives Definition of terms Importance of data modeling Write good names and definitions for entities, relationships, and attributes

More information

Objectives of logical design... Transforming the ERD diagram into relations. Relational database components. Mapping a composite attribute

Objectives of logical design... Transforming the ERD diagram into relations. Relational database components. Mapping a composite attribute Logical database design and the relational model Objectives of logical design... Translate the conceptual design into a logical database design that can be implemented on a chosen DBMS Input: conceptual

More information

UML data models from an ORM perspective: Part 4

UML data models from an ORM perspective: Part 4 data models from an ORM perspective: Part 4 by Dr. Terry Halpin Director of Database Strategy, Visio Corporation This article first appeared in the August 1998 issue of the Journal of Conceptual Modeling,

More information

Ontological Modeling: Part 14

Ontological Modeling: Part 14 Ontological Modeling: Part 14 Terry Halpin INTI International University This is the fourteenth in a series of articles on ontology-based approaches to modeling. The main focus is on popular ontology languages

More information

Entity Relationship Modelling

Entity Relationship Modelling Entity Relationship Modelling Overview Database Analysis Life Cycle Components of an Entity Relationship Diagram What is a relationship? Entities, attributes, and relationships in a system The degree of

More information

The Data Web and Linked Data.

The Data Web and Linked Data. Mustafa Jarrar Lecture Notes, Knowledge Engineering (SCOM7348) University of Birzeit 1 st Semester, 2011 Knowledge Engineering (SCOM7348) The Data Web and Linked Data. Dr. Mustafa Jarrar University of

More information

Week. Lecture Topic day (including assignment/test) 1 st 1 st Introduction to Module 1 st. Practical

Week. Lecture Topic day (including assignment/test) 1 st 1 st Introduction to Module 1 st. Practical Name of faculty: Gaurav Gambhir Discipline: Computer Science Semester: 6 th Subject: CSE 304 N - Essentials of Information Technology Lesson Plan Duration: 15 Weeks (from January, 2018 to April, 2018)

More information

Mapping Object Role Modeling 2 Schemes into SROIQ (D) Description Logic

Mapping Object Role Modeling 2 Schemes into SROIQ (D) Description Logic Mapping Object Role Modeling 2 Schemes into SROIQ (D) Description Logic Heba M. Wagih, Doaa S. ElZanfaly, and Mohamed M. Kouta to provide different expressiveness levels which are OWL2DL, OWL2Full, OWL2EL,

More information

System Analysis And Design Methods ENTITY RELATIONSHIP DIAGRAM (ERD) Prof. Ali Khaleghi Eng. Hadi Haedar

System Analysis And Design Methods ENTITY RELATIONSHIP DIAGRAM (ERD) Prof. Ali Khaleghi Eng. Hadi Haedar 1 System Analysis And Design Methods ENTITY RELATIONSHIP DIAGRAM (ERD) Prof. Ali Khaleghi Eng. Hadi Haedar Overview DATABASE ARCHITECTURE 2 External level concerned with the way individual users see the

More information

Course Design Document: IS202 Data Management. Version 4.5

Course Design Document: IS202 Data Management. Version 4.5 Course Design Document: IS202 Data Management Version 4.5 Friday, October 1, 2010 Table of Content 1. Versions History... 4 2. Overview of the Data Management... 5 3. Output and Assessment Summary... 6

More information

Ontological Modeling: Part 15

Ontological Modeling: Part 15 Ontological Modeling: Part 15 Terry Halpin INTI International University This is the fifteenth article in a series on ontology-based approaches to modeling. The main focus is on popular ontology languages

More information

Ontological Modeling: Part 2

Ontological Modeling: Part 2 Ontological Modeling: Part 2 Terry Halpin LogicBlox This is the second in a series of articles on ontology-based approaches to modeling. The main focus is on popular ontology languages proposed for the

More information

IMS1002/CSE1205 Lectures 1

IMS1002/CSE1205 Lectures 1 IMS1002/CSE1205 Systems Analysis and Design Lecture 2 & 3 Introduction to Data Modelling Entity Relationship Modelling Data Modelling Focus on the information aspects of the organisation In a database

More information

Entity-Relationship Model. From Chapter 5, Kroenke book

Entity-Relationship Model. From Chapter 5, Kroenke book Entity-Relationship Model From Chapter 5, Kroenke book Database Design Process Requirements analysis Conceptual design data model Logical design Schema refinement: Normalization Physical tuning Problem:

More information

A Lithuanian Verbalization Template for ORM conceptual models and rules

A Lithuanian Verbalization Template for ORM conceptual models and rules A Lithuanian Verbalization Template for ORM conceptual models and rules Mustafa Jarrar, Vrije Universiteit Brussel, Belgium. (Contact Author) Maria Keet, Free University of Bozen-Bolzano, Italy. Juozas

More information

Towards Automated Reasoning on ORM Schemes

Towards Automated Reasoning on ORM Schemes Towards Automated Reasoning on ORM Schemes Mapping ORM into the DLR idf Description Logic Mustafa Jarrar STARLab, Vrije Universiteit Brussels, Belgium Department of Computer Science, University of Cyprus

More information

Ontological Modeling: Part 11

Ontological Modeling: Part 11 Ontological Modeling: Part 11 Terry Halpin LogicBlox and INTI International University This is the eleventh in a series of articles on ontology-based approaches to modeling. The main focus is on popular

More information

Agenda: Understanding Relationship Types Degree and Cardinality with Examples

Agenda: Understanding Relationship Types Degree and Cardinality with Examples Data Processing AAOC C311 I Semester 2012 2013 CLASS 4 Agenda: Understanding Relationship Types Degree and Cardinality with Examples Prentice Hall, 2002 1 More on Relationships (A set of meaningful associations

More information

A Spanish Verbalization Template for ORM conceptual models and rules

A Spanish Verbalization Template for ORM conceptual models and rules A Spanish Verbalization Template for ORM conceptual models and rules Mustafa Jarrar, Vrije Universiteit Brussel, Belgium. (Contact Author) Maria Keet, Free University of Bozen-Bolzano, Italy. Núria Casellas,

More information

Data Modeling: Beginning and Advanced HDT825 Five Days

Data Modeling: Beginning and Advanced HDT825 Five Days Five Days Prerequisites Students should have experience designing databases. Who Should Attend This course is targeted at database designers, data modelers, database analysts, and anyone else who needs

More information

Introduction to Web 2.0 Data Mashups

Introduction to Web 2.0 Data Mashups Lecture Notes on Web Data Management Birzeit University, Palestine 2013 Introduction to Web 2.0 Data Mashups Dr. Mustafa Jarrar University of Birzeit mjarrar@birzeit.edu www.jarrar.info Jarrar 2013 1 Watch

More information

Data Analysis 1. Chapter 2.1 V3.1. Napier University Dr Gordon Russell

Data Analysis 1. Chapter 2.1 V3.1. Napier University Dr Gordon Russell Data Analysis 1 Chapter 2.1 V3.1 Copyright @ Napier University Dr Gordon Russell Entity Relationship Modelling Overview Database Analysis Life Cycle Components of an Entity Relationship Diagram What is

More information

Ministry of Higher Education and Scientific research

Ministry of Higher Education and Scientific research Department of IT Technical Institute of Amedi Duhok Polytechnic University Subject: Database System Course Book: Year 2 (Second year) Lecturer's name: Dipl.Eng.Shorash A. Sami Academic Year: 2018/2019

More information

Cardinality constraints,n:m notation

Cardinality constraints,n:m notation 2 Conceptual Database Design 2.3 Integrity Constraints 2.3. Constraint types 2.3.2 Cardinality constraints 2.4 Extended ER Modeling 2.4. Inheritance / Generalization 2.4.2 Modeling historical data 2.4.3

More information

Microsoft s new database modeling tool: Part 3

Microsoft s new database modeling tool: Part 3 Microsoft s new database modeling tool: Part 3 Terry Halpin Microsoft Corporation Abstract: This is the third in a series of articles introducing the Visio-based database modeling component of Microsoft

More information

Using High-Level Conceptual Data Models for Database Design A Sample Database Application Entity Types, Entity Sets, Attributes, and Keys

Using High-Level Conceptual Data Models for Database Design A Sample Database Application Entity Types, Entity Sets, Attributes, and Keys Chapter 7: Data Modeling Using the Entity- Relationship (ER) Model Using High-Level Conceptual Data Models for Database Design A Sample Database Application Entity Types, Entity Sets, Attributes, and Keys

More information

Data about data is database Select correct option: True False Partially True None of the Above

Data about data is database Select correct option: True False Partially True None of the Above Within a table, each primary key value. is a minimal super key is always the first field in each table must be numeric must be unique Foreign Key is A field in a table that matches a key field in another

More information

SPARQL (RDF Query Language)

SPARQL (RDF Query Language) Mustafa Jarrar: Lecture Notes on SPARQL RDF Query Language. Birzeit University, 2019 Version 4 SPARQL (RDF Query Language) Mustafa Jarrar Birzeit University 1 Watch this lecture and download the slides

More information

Arabic Ontology. Mustafa Jarrar. Reference: Mustafa Jarrar: Lecture Notes on the Arabic Ontology Birzeit University, Palestine, 2015

Arabic Ontology. Mustafa Jarrar. Reference: Mustafa Jarrar: Lecture Notes on the Arabic Ontology Birzeit University, Palestine, 2015 Reference: Mustafa Jarrar: Lecture Notes on the Arabic Ontology Birzeit University, Palestine, 2015 Arabic Ontology االلا أننططووللووججيياا االلععررببييةة Mustafa Jarrar Birzeit University, Palestine mjarrar@birzeitedu

More information

ENTITY-RELATIONSHIP MODEL. CS 564- Spring 2018

ENTITY-RELATIONSHIP MODEL. CS 564- Spring 2018 ENTITY-RELATIONSHIP MODEL CS 564- Spring 2018 WHAT IS THIS LECTURE ABOUT E/R Model: entity sets, attribute relation: binary, multi-way relationship roles, attributes on relationships subclasses (ISA) weak

More information

UML Data Models From An ORM (Object-Role Modeling) Perspective. Data Modeling at Conceptual Level

UML Data Models From An ORM (Object-Role Modeling) Perspective. Data Modeling at Conceptual Level UML Data Models From An ORM (Object-Role Modeling) Perspective. Data Modeling at Conceptual Level Lecturer Ph. D. Candidate DANIEL IOAN HUNYADI, Lecturer Ph. D. Candidate MIRCEA ADRIAN MUSAN Department

More information

COMP102: Introduction to Databases, 9.1

COMP102: Introduction to Databases, 9.1 COMP102: Introduction to Databases, 9.1 Dr Muhammad Sulaiman Khan Department of Computer Science University of Liverpool U.K. 21/22 February, 2011 Database Analysis and Design Techniques: Entity-Relationship

More information

Non-overlappingoverlapping. Final outcome of the worked example On pages R&C pages R&C page 157 Fig 3.52

Non-overlappingoverlapping. Final outcome of the worked example On pages R&C pages R&C page 157 Fig 3.52 Objectives Computer Science 202 Database Systems: Entity Relation Modelling To learn what a conceptual model is and what its purpose is. To learn the difference between internal models and external models.

More information

Database Systems: Design, Implementation, and Management Tenth Edition. Chapter 4 Entity Relationship (ER) Modeling

Database Systems: Design, Implementation, and Management Tenth Edition. Chapter 4 Entity Relationship (ER) Modeling Database Systems: Design, Implementation, and Management Tenth Edition Chapter 4 Entity Relationship (ER) Modeling Objectives In this chapter, students will learn: The main characteristics of entity relationship

More information

MIS2502: Data Analytics Relational Data Modeling - 1. JaeHwuen Jung

MIS2502: Data Analytics Relational Data Modeling - 1. JaeHwuen Jung MIS2502: Data Analytics Relational Data Modeling - 1 JaeHwuen Jung jaejung@temple.edu http://community.mis.temple.edu/jaejung Where we are Now we re here Data entry Transactional Database Data extraction

More information

QUIZ 1 REVIEW SESSION DATABASE MANAGEMENT SYSTEMS

QUIZ 1 REVIEW SESSION DATABASE MANAGEMENT SYSTEMS QUIZ 1 REVIEW SESSION DATABASE MANAGEMENT SYSTEMS SCHEMA DESIGN & RELATIONAL ALGEBRA A database schema is the skeleton structure that represents the logical view of the entire database Logical design of

More information

The Conference Review System with WSDM

The Conference Review System with WSDM The Conference Review System with WSDM Olga De Troyer, Sven Casteleyn Vrije Universiteit Brussel WISE Research group Pleinlaan 2, B-1050 Brussel, Belgium Olga.DeTroyer@vub.ac.be, svcastel@vub.ac.be 1 Introduction

More information

Database Systems. Overview - important points. Lecture 5. Some introductory information ERD diagrams Normalization Other stuff 08/03/2015

Database Systems. Overview - important points. Lecture 5. Some introductory information ERD diagrams Normalization Other stuff 08/03/2015 Lecture 5 Database Systems Instructor: M.Imran Khalil Imrankhalil3@gmail.com Resource:Imrankhalil3.wordpress.com University of Sargodha Canal Campus Lahore Overview - important points Some introductory

More information

ER modeling. Lecture 4

ER modeling. Lecture 4 ER modeling Lecture 4 1 Copyright 2007 STI - INNSBRUCK Today s lecture ER modeling Slides based on Introduction to Entity-relationship modeling at http://www.inf.unibz.it/~franconi/teaching/2000/ct481/er-modelling/

More information

KDI EER: The Extended ER Model

KDI EER: The Extended ER Model KDI EER: The Extended ER Model Fausto Giunchiglia and Mattia Fumagallli University of Trento 0/61 Extended Entity Relationship Model The Extended Entity-Relationship (EER) model is a conceptual (or semantic)

More information

Semantic Modeling. A query language for the 21 st century. Clifford Heath

Semantic Modeling. A query language for the 21 st century. Clifford Heath Semantic Modeling A query language for the 21 st century Clifford Heath Semantics The shared meanings of a community Expressed in facts Here, a model is: Standard for comparison Simplified representation

More information

Data Modeling Using the Entity-Relationship (ER) Model

Data Modeling Using the Entity-Relationship (ER) Model CHAPTER 3 Data Modeling Using the Entity-Relationship (ER) Model Copyright 2017 Ramez Elmasri and Shamkant B. Navathe Slide 1-1 Chapter Outline Overview of Database Design Process Example Database Application

More information

Modern Systems Analysis and Design Seventh Edition

Modern Systems Analysis and Design Seventh Edition Modern Systems Analysis and Design Seventh Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Structuring System Data Requirements Learning Objectives ü Concisely define each of the following

More information

MIS Database Systems Entity-Relationship Model.

MIS Database Systems Entity-Relationship Model. MIS 335 - Database Systems Entity-Relationship Model http://www.mis.boun.edu.tr/durahim/ Ahmet Onur Durahim Learning Objectives Database Design Main concepts in the ER model? ER Diagrams Database Design

More information

The Entity-Relationship Model. The Entity-Relationship model. The ER model. The Entity-Relationship model. E-R Model Constructs. E-R Model Constructs

The Entity-Relationship Model. The Entity-Relationship model. The ER model. The Entity-Relationship model. E-R Model Constructs. E-R Model Constructs The Entity-Relationship Model Conceptual Data Modeling The Entity-Relationship model The E-R model is a detailed, logical representation of the data for an organisation or business area It should be understandable

More information

High Level Database Models

High Level Database Models ICS 321 Fall 2011 High Level Database Models Asst. Prof. Lipyeow Lim Information & Computer Science Department University of Hawaii at Manoa 9/21/2011 Lipyeow Lim -- University of Hawaii at Manoa 1 Database

More information

Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition. Chapter 7 Data Modeling with Entity Relationship Diagrams

Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition. Chapter 7 Data Modeling with Entity Relationship Diagrams Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition Chapter 7 Data Modeling with Entity Relationship Diagrams Objectives In this chapter, students will learn: The

More information

Conceptual Modeling in ER and UML

Conceptual Modeling in ER and UML Courses B0B36DBS, A7B36DBS: Database Systems Practical Classes 01 and 02: Conceptual Modeling in ER and UML Martin Svoboda 21. and 28. 2. 2017 Faculty of Electrical Engineering, Czech Technical University

More information

Number Theory and Proof Methods

Number Theory and Proof Methods 9/6/17 Lecture Notes on Discrete Mathematics. Birzeit University Palestine 2016 and Proof Methods Mustafa Jarrar 4.1 Introduction 4.3 Divisibility 4.4 Quotient-Remainder Theorem mjarrar 2015 1 Watch this

More information

Distributed Database Systems By Syed Bakhtawar Shah Abid Lecturer in Computer Science

Distributed Database Systems By Syed Bakhtawar Shah Abid Lecturer in Computer Science Distributed Database Systems By Syed Bakhtawar Shah Abid Lecturer in Computer Science 1 Distributed Database Systems Basic concepts and Definitions Data Collection of facts and figures concerning an object

More information

Database Management System Dr. S. Srinath Department of Computer Science & Engineering Indian Institute of Technology, Madras Lecture No.

Database Management System Dr. S. Srinath Department of Computer Science & Engineering Indian Institute of Technology, Madras Lecture No. Database Management System Dr. S. Srinath Department of Computer Science & Engineering Indian Institute of Technology, Madras Lecture No. # 3 Relational Model Hello everyone, we have been looking into

More information

Conceptual Data Modeling and the Entity- Relationship Model. Department of Computer Science Northern Illinois University September 2014

Conceptual Data Modeling and the Entity- Relationship Model. Department of Computer Science Northern Illinois University September 2014 Conceptual Data Modeling and the Entity- Relationship Model Department of Computer Science Northern Illinois University September 2014 Data Models A means of describing the structure of the data A set

More information

Unsatisfiability Reasoning in ORM Conceptual Schemes

Unsatisfiability Reasoning in ORM Conceptual Schemes Unsatisfiability Reasoning in ORM Conceptual Schemes Mustafa Jarrar 1 Stijn Heymans 2 1 STAR Lab, Vrije Universiteit Brussel, Belgium, mjarrar@vub.ac.be 2 TINF, Vrije Universiteit Brussel, Belgium, sheymans@vub.ac.be

More information

Multiple Choice Questions

Multiple Choice Questions Chapter 9 Structuring System Data Requirements 193 Chapter 9 Structuring System Data Requirements Multiple Choice Questions 1. Some systems developers believe that a data model is the most important part

More information

INTRODUCTION TO RELATIONAL DATABASE SYSTEMS

INTRODUCTION TO RELATIONAL DATABASE SYSTEMS INTRODUCTION TO RELATIONAL DATABASE SYSTEMS DATENBANKSYSTEME 1 (INF 3131) Torsten Grust Universität Tübingen Winter 2015/16 1 THE ENTITY-RELATIONSHIP MODEL The Entity-Relationship Model (ER model) has

More information

Only the original curriculum in Danish language has legal validity in matters of discrepancy

Only the original curriculum in Danish language has legal validity in matters of discrepancy CURRICULUM Only the original curriculum in Danish language has legal validity in matters of discrepancy CURRICULUM OF 1 SEPTEMBER 2007 FOR THE BACHELOR OF ARTS IN INTERNATIONAL BUSINESS COMMUNICATION (BA

More information

2004 John Mylopoulos. The Entity-Relationship Model John Mylopoulos. The Entity-Relationship Model John Mylopoulos

2004 John Mylopoulos. The Entity-Relationship Model John Mylopoulos. The Entity-Relationship Model John Mylopoulos XVI. The Entity-Relationship Model The Entity Relationship Model The Entity-Relationship Model Entities, Relationships and Attributes Cardinalities, Identifiers and Generalization Documentation of E-R

More information

Lecture 14 of 42. E-R Diagrams, UML Notes: PS3 Notes, E-R Design. Thursday, 15 Feb 2007

Lecture 14 of 42. E-R Diagrams, UML Notes: PS3 Notes, E-R Design. Thursday, 15 Feb 2007 Lecture 14 of 42 E-R Diagrams, UML Notes: PS3 Notes, E-R Design Thursday, 15 February 2007 William H. Hsu Department of Computing and Information Sciences, KSU KSOL course page: http://snipurl.com/va60

More information

Christophe Debruyne. Semantics Technology and Applications Research Lab Vrije Universiteit Brussel

Christophe Debruyne. Semantics Technology and Applications Research Lab Vrije Universiteit Brussel The Relation between a Framework for Collaborative Ontology Engineering and Nicola Guarino s Terminology and Ideas in Formal Ontology and Information Systems Christophe Debruyne Semantics Technology and

More information

Chapter 2: Entity-Relationship Model

Chapter 2: Entity-Relationship Model Chapter 2: Entity-Relationship Model! Entity Sets! Relationship Sets! Design Issues! Mapping Constraints! Keys! E-R Diagram! Extended E-R Features! Design of an E-R Database Schema! Reduction of an E-R

More information

Unit 2 - Data Modeling. Pratian Technologies (India) Pvt. Ltd.

Unit 2 - Data Modeling. Pratian Technologies (India) Pvt. Ltd. Unit 2 - Data Modeling Pratian Technologies (India) Pvt. Ltd. Topics Information Engineering Approaches to IS Developments SDLC Prototyping ER Modeling Why Data Modeling? Definition Information Engineering

More information

Contents. Database. Information Policy. C03. Entity Relationship Model WKU-IP-C03 Database / Entity Relationship Model

Contents. Database. Information Policy. C03. Entity Relationship Model WKU-IP-C03 Database / Entity Relationship Model Information Policy Database C03. Entity Relationship Model Code: 164323-03 Course: Information Policy Period: Spring 2013 Professor: Sync Sangwon Lee, Ph. D 1 Contents 01. Overview of Database Design 02.

More information

Data Modelling and Databases. Exercise Session 2: Relational Model

Data Modelling and Databases. Exercise Session 2: Relational Model Data Modelling and Databases Exercise Session 2: Relational Model 1 Interactive Session Format You can watch others swim as often as you want. In the end, you can only learn it by doing it yourself. Alfons

More information

Annotation for the Semantic Web During Website Development

Annotation for the Semantic Web During Website Development Annotation for the Semantic Web During Website Development Peter Plessers and Olga De Troyer Vrije Universiteit Brussel, Department of Computer Science, WISE, Pleinlaan 2, 1050 Brussel, Belgium {Peter.Plessers,

More information

Formal Semantics of Dynamic Rules in ORM

Formal Semantics of Dynamic Rules in ORM Formal Semantics of Dynamic Rules in ORM Herman Balsters 1, Terry Halpin 2 1 University of Groningen, The Netherlands e-mail: H.Balsters@rug.nl 2 Neumont University, Utah, USA. e-mail: terry@neumont.edu

More information

Objectives Definition iti of terms List five properties of relations State two properties of candidate keys Define first, second, and third normal for

Objectives Definition iti of terms List five properties of relations State two properties of candidate keys Define first, second, and third normal for Chapter 5: Logical Database Design and the Relational Model Modern Database Management 9 th Edition Jeffrey A. Hoffer, Mary B. Prescott, Heikki Topi 2009 Pearson Education, Inc. Publishing as Prentice

More information

Chapter 6: Entity-Relationship Model

Chapter 6: Entity-Relationship Model Chapter 6: Entity-Relationship Model Database System Concepts, 5th Ed. See www.db-book.com for conditions on re-use Chapter 6: Entity-Relationship Model Design Process Modeling Constraints E-R Diagram

More information

CSCC43H: Introduction to Databases

CSCC43H: Introduction to Databases CSCC43H: Introduction to Databases Lecture 2 Wael Aboulsaadat Acknowledgment: these slides are partially based on Prof. Garcia-Molina & Prof. Ullman slides accompanying the course s textbook. CSCC43: Introduction

More information

Contact Hours / week: 4 Total hours: 64. Table of Contents Architecture 3 Data Modeling Using the Entity-

Contact Hours / week: 4 Total hours: 64. Table of Contents Architecture 3 Data Modeling Using the Entity- Govt. of Karnataka, Department of Technical Education Diploma in Information Science & Engineering Fourth Semester Subject: DATABASE MANAGEMENT SYSTEMS Contact Hours / week: 4 Total hours: 64 Table of

More information

Chapter 2: Entity-Relationship Model. Entity Sets. Entity Sets customer and loan. Attributes. Relationship Sets. A database can be modeled as:

Chapter 2: Entity-Relationship Model. Entity Sets. Entity Sets customer and loan. Attributes. Relationship Sets. A database can be modeled as: Chapter 2: Entity-Relationship Model Entity Sets Entity Sets Relationship Sets Design Issues Mapping Constraints Keys E-R Diagram Extended E-R Features Design of an E-R Database Schema Reduction of an

More information

Chapter 2 Entity-Relationship Data Modeling: Tools and Techniques. Fundamentals, Design, and Implementation, 9/e

Chapter 2 Entity-Relationship Data Modeling: Tools and Techniques. Fundamentals, Design, and Implementation, 9/e Chapter 2 Entity-Relationship Data Modeling: Tools and Techniques Fundamentals, Design, and Implementation, 9/e Three Schema Model ANSI/SPARC introduced the three schema model in 1975 It provides a framework

More information

Unit 2. Unit 3. Unit 4

Unit 2. Unit 3. Unit 4 Course Objectives At the end of the course the student will be able to: 1. Differentiate database systems from traditional file systems by enumerating the features provided by database systems.. 2. Design

More information