Measurable Properties Name Blood pressure Weight Length Age Shoe size Temperature IQ EQ PERSON A person may have a large number of properties that are.

Slides:



Advertisements
Similar presentations
Entity-Relationship (ER) Modeling
Advertisements

Database Systems: Design, Implementation, and Management Tenth Edition
Chapter 3: The Enhanced E-R Model
© 2011 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 3: The Enhanced E-R Model Modern Database Management 10 th Edition Jeffrey A. Hoffer,
Chapter 3  Define terms  Understand use of supertype/subtype relationships  Understand use of specialization and generalization techniques  Specify.
Verksamhets- och affärssystem Att integrera verksamheten genom informationssystemet INFORMATIONSFLÖDE MATERIALFLÖDE Transfer CustomerVendorManufacturingDistributionStore.
1 © Amit Mitra & Amar Gupta FORMATS, SYMBOLS & UNITS OF MEASURE Continuation of our discussion of Pattern and its semantics.
Chapter 3 Data Modeling Copyright © 2014 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent.
Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke1 The Entity-Relationship Model Chapter 2.
Chapter 3 © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 CHAPTER 4: THE ENHANCED E-R MODEL Modern Database Management 11 th Edition Jeffrey.
System Analysis - Data Modeling
Copyright © 2001 by The McGraw-Hill Companies, Inc. All rights reserved. Slide Thinking Like an Economist.
Fundamentals, Design, and Implementation, 9/e COS 346 Day 2.
The Enhanced E-R (EER) Model
Database Design Concepts Lecture 7 Introduction to E:R Modelling Identifying Entities.
EER vs. UML Terminology EER Diagram Entity Type Entity Attribute
Chapter 3: The Enhanced E-R Model
Warehouse Activity Profiling
Data Modeling Using the Entity-Relationship Model
Data Modeling Using the Entity-Relationship Model
Dr. Mohamed Osman Hegaz1 Conceptual data base design: The conceptual models: The Entity Relationship Model.
Entities and Attributes
Data Presentation.
Ontology Development Kenneth Baclawski Northeastern University Harvard Medical School.
What is a domain model? “A domain model captures the most important types of objects in the context of the business. The domain model represents the ‘things’
Introduction to Operation Research
Introduction to Statistics What is Statistics? : Statistics is the sciences of conducting studies to collect, organize, summarize, analyze, and draw conclusions.
Analysis Pattern Dr. Zhen Jiang West Chester University url:
1 ER Modeling BUAD/American University Entity Relationship (ER) Modeling.
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 2/1 Copyright © 2004 Please……. No Food Or Drink in the class.
DatabaseIM ISU1 Fundamentals of Database Systems Chapter 5 The Relational Data Model.
Database Systems Lecture # 7 8 th Feb, Conceptual and Logical Design Person buys Product name pricenamessn Conceptual Model: Relational Model: (plus.
Statistics and Quantitative Analysis U4320 Segment 12: Extension of Multiple Regression Analysis Prof. Sharyn O’Halloran.
Copyright © Cengage Learning. All rights reserved. Getting Started 1.
Association Class Generalization/Specialization Whole-Part Page More Associations 1.
MIS 3053 Database Design & Applications The University of Tulsa Professor: Akhilesh Bajaj ER Model Lecture 1 © Akhilesh Bajaj, 2000, 2002, 2003, 2004.
Chapter 1 Introduction to Statistics. Statistical Methods Were developed to serve a purpose Were developed to serve a purpose The purpose for each statistical.
Research Methods: Final Year Project Toolkit – Level 6 Laura Lake.
Initial Design of Entity Types for the COMPANY Database Schema Based on the requirements, we can identify four initial entity types in the COMPANY database:
1 A Demo of Logical Database Design. 2 Aim of the demo To develop an understanding of the logical view of data and the importance of the relational model.
Chapter-8 Chi-square test. Ⅰ The mathematical properties of chi-square distribution  Types of chi-square tests  Chi-square test  Chi-square distribution.
Object Oriented Software Development
Bell Ringer Using female = 0 and male = 1, calculate the average maleness in this classroom.
Entity Relationship Modeling
Domain Classes – Part 1.  Analyze Requirements as per Use Case Model  Domain Model (Conceptual Class Diagram)  Interaction (Sequence) Diagrams  System.
Teach GCSE Maths Discrete and Continuous Data. © Christine Crisp Discrete and Continuous Data "Certain images and/or photos on this presentation are the.
IDENTIFYING VARIABLES 1.  Something that varies.  Symbol to which numerals or values are attached.  Concept or its empirical measure that can take.
1 The Entity- Relationship Model Instructor: Mohamed Eltabakh
Entity-Relation Model. E-R Model The Entity-Relationship (ER) model was originally proposed by Peter in 1976 ER model is a conceptual data model that.
Variables It is very important in research to see variables, define them, and control or measure them.
Data Modeling Using the Entity-Relationship (ER) Data Model.
Domain Model A representation of real-world conceptual classes in a problem domain. The core of object-oriented analysis They are NOT software objects.
Modeling Your Data Chapter 2 cs5421. Part II Discussion of the Model: Good Design/ Bad Design? cs5422.
Fusion Design Overview Object Interaction Graph Visibility Graph Class Descriptions Inheritance Graphs Fusion: Design The overall goal of Design is to.
Lecture 5 Entity Relationship Modeling
University of Warwick, Department of Sociology, 2014/15 SO 201: SSAASS (Surveys and Statistics) (Richard Lampard) Week 3 Multivariate analysis.
2 NURS/HSCI 597 NURSING RESEARCH & DATA ANALYSIS GEORGE MASON UNIVERSITY.
Elements Of Modeling. 1.Data Modeling  Data modeling answers a set of specific questions that are relevant to any data processing application. e.g. ◦
Data Modeling Using the Entity- Relationship (ER) Model
COP Introduction to Database Structures
LECTURE 4: Chapter 4: The Enhanced E-R Model
Advanced Database Analysis
Entity-Relationship Model
Enhanced Entity-Relationship and UML Modeling
Chapter 2: Entity-Relationship Model
CHAPTER 3: THE ENHANCED E-R MODEL
Entity Relationship Diagrams
SYS466 Domain Classes – Part 1.
Database Modeling using Entity Relationship Model (E-R Model)
Chapter 5 Advanced Data Modeling
Presentation transcript:

Measurable Properties Name Blood pressure Weight Length Age Shoe size Temperature IQ EQ PERSON A person may have a large number of properties that are quantitative. Representing all these properties in a schema can make it exceedingly large.

Measurement Pattern Phenomenon type MeasurementObjectQuantity 1 * * * 11 The Measurement Pattern enables a compact representation of quantitative properties. A measurement measures the quantity of a phenomenon type for a certain object.

Measurement Pattern :Phenomenon type name = temperature :Measurement date = :Object name = ‘Peter’ :Quantity unit = Celsius value = 37.5 This instance diagram states that Peter has the temperature 37.5 degrees Celsius

Category Observation Some properties are not quantitative, but rather classify objects into different groups, for example the gender or nationality of a person. Phenomenon type Category observation ObjectCategory 1 * * * 11

Category Observation :Phenomenon type name = gender :Category observation date = :Object name = ‘Peter’ :Category value = male This instance diagram states that Peter has the gender male

Observation Pattern Phenomenon type ObservationObject 1 * * * 1 1 Category observation Measurement CategoryQuantity 1 * Measurements and category obser- vations can be combined into one pattern.

Employment Name Age Address Employer Date of employment PERSON We can model the fact that a person is employed at some organisation by including a number of attributes in a type PERSON. However, a person may be employed at several different organisations. In order to handle such a situation, the model has to be expanded.

Employment Name Address ORGANISATION Name Age Address PERSON Salary EMPLOYMENT From To TIME PERIOD employee employer * **

Employment Name Address ORGANISATION Name Age Address PERSON Salary EMPLOYMENT From To TIME PERIOD employee employer * ** This model expresses that there exists a responsibility between two parties, the employer and the employee. Similar responsibilities may exist in many other contexts.

Accountability Pattern PERSON ACCOUNTABILITY ORGANISATION From To TIME PERIOD Name ACCOUNTABILITY TYPE Name Address PARTY responsiblecommissioner * * **

Accountability Pattern ACCOUNTABILITY ACCOUNTABILITY TYPE PARTY The Accountability Pattern can be used to model situations where there exists a relationship of responsibility between two parties: - Employment - Order - Contract - Membership - Offering ACCOUNTABILITY TYPE specifies different kinds of accountability. In an employment context, it could contain: permanent employment, project employment, time limited employment, etc.

Accountability :Accountability type name = permanent :Accountability :Time period from = to = :Person name = ‘Peter’ :Organisation name = ‘IBM’ responsible commissioner This instance diagram states that Peter is employed by IBM

Action Pattern PROPOSED ACTION IMPLEMENTED ACTION TIME POINTACTIONPARTYLOCATION An action is carried out by a party at a certain point in time at a certain location. An action may be only proposed or it may be implemented, i.e. carried out.

Action Pattern :Person name = ‘Peter’ :Proposed action name = surgery :Implemented action name = ‘Peter’ :Location room = C604 :Time point date = time = 1.00 a.m. :Location room = C608 :Time point date = time = 2.00 a.m.

Booking From To BOOKING RESOURCE 1 * for Using this simple booking schema, we can express that different resources are booked for different time intervals. In some situations, we do not want to book a specific resource, but rather a general resource type. For example, we only state that we want to book an anaesthesia nurse, it does not matter who. In other cases, we really want to book a specific nurse, say Ed Wallen.

Assets and other Resources Some resources are consumed in an activity, e.g. in a surgery blood plasma is consumed. Other resources are not consumed in an activity but can be reused. For example, a nurse is not consumed in a surgery.

Resource Allocation Pattern RESOURCE TYPE From To TEMPORAL RESOURCE SPECIFIC RAGENERAL RA Quantity RESOURCE ALLOCATION ASSET TYPEASSET * * * *

Resource Allocation :General RA quantity 3 :Resource Type name = Blood plasma :Asset Type name = Nurse :Asset name = ‘Peter’ :Specific RA :Temporal Resource from = 0101, 04 to = 0101, 06 Three bags of blood plasma are allocated - we do not care which ones. Peter is allocated for two hours.

Exercise The Resource Allocation Pattern has a number of limitations. Identify these and construct an extension of the pattern that overcomes these limitations. Consider whether it would be worthwhile to have several variants of the pattern to cover different situations.

Action and Resource Allocation PROPOSED ACTION IMPLEMENTED ACTION ACTION RESOURCE ALLOCATION books uses A proposed action books resources, while an implemented action uses resources.

Plans PLAN PROPOSED ACTION * * contains The simplest way to model a plan is to say that it consists of a number of proposed actions. Example: Plan for dinner party consists of buying food, cooking, and making the table. One limitation of this model is that we cannot express dependencies between proposed actions, i.e. that certain actions have to be performed before others.

Plan Pattern PLAN ACTION REFERENCE * 1 contains PROPOSED ACTION 1 * precedes By adding a type ACTION REFERENCE, we can express precedence relationships among proposed actions in a plan. We can also add descriptions of the role of an action within a plan, e.g. whether it is optional or not.

Subtypes VEHICLEBIKETRUCKBOATCAR One way to show different categories is to introduce a number of subtypes. However, such a solution may result in a very large schema.

Powertypes VEHICLEVEHICLE TYPE 1 * VEHICLE TYPE would have instances such as: Car, Truck, Boat, Bike, MC, Aeroplane,... VEHICLE would have instances such as: abc123 (which is a Car), vv22 (which is a Boat),...