(Extended) Entity Relationship Modelling and Mappings to The

Total Page:16

File Type:pdf, Size:1020Kb

(Extended) Entity Relationship Modelling and Mappings to The Simplified phases of Database Design Mini World (Extended) Entity Relationship Modelling Requirements collection & analysis and Database requirements Mappings to the Relational Data Model Conceptual design DBMS Independent Conceptual schema (in a high level data model) Data model design Conceptual schema (in the data model of a specific DBMS DBMS specific Physical design Internal schema (for the same DBMS) Data Definition Language Statements Conceptual Data Model Concepts Conceptual Data Model Concepts “There exist things which have certain properties and which may be related in some Attribute way(s) to other things. Data represents fact about an Entity Type or Relationship Type specific facts about the things” an entity is often expressed as a set of attributes Entity thing or object that exists in its own right and is Entity Set or Extent distinguishable, represented by an Entity Type of which there will be many Entity Instances…... Set of all Entity Instances of the same Entity Type physical objects, events, activities, associations Relationship Relationship Set or Extent an association between several entities Set of all Relationship Instances of the same represented by a Relationship Type of which there Relationship Type will be many Relationship Instances Entity Types and Relationship Types Optional Relationship Types Staff Works_for Department Staff Manages Department ST1 r1 ST1 r1 D1 D1 ST2 ST2 r2 ST3 D2 ST3 D2 r3 D3 r2 D3 ST4 ST4 r4 r3 ST5 ST5 …. …. ST6 r5 ST6 …. r6 …. …. …. Many:many Relationship Types Recursive Relationship Types Course Staff Teaches Staff r1 Manages ST1 r1 ST1 1 C1 ST2 unmanaged ST2 1 r2 2 ST3 C2 ST3 r2 r3 C3 2 ST4 ST4 2 r3 C4 r4 1 ST5 2 …. r4 …. r5 2 ST6 r5 1 …. r6 …. …. 1 1. Manager 2. Employee Entity Relationship Model Attributes in Conceptual Modelling given family 1 For each and every attribute must define domain, SCHOOL REG studno name data type, format and whether it can be null m hons STUDENT faculty m Every entity type must have a key attribute or set n m YEARREG year of attributes 1 labmark YEAR Composite or Atomic ENROL TUTOR 1 exammark Single-valued or Multi-valued slot YEARTUTOR Derived given courseno 1 family courseno m 1 Null valued no. of m n labmark equip TEACH name students COURSE name STAFF m m n subject roomno 1 STUDENT ENROL COURSE equip appraisee appraiser exammark studno subject APPRAISAL Properties of Relationship Types Semantic Data Models Degree Extended-Entity-Relationship Modelling The number of participating entity types Cardinality ratios Entity Attribute Relationship Modelling The number of instances of each of the Entity Relationship Attribute Modelling participating entity types which can partake in a Entity Modelling single instance of the relationship type 1:1, 1:many, many:1, many:many Object Modelling Participation (optionality) IFO, The relationship instance doesn’t have to exist NIAM etc.… Whether an entity instance has to participate in a Extensions for temporal, constraints, rules etc relationship instance Role Chen 1976 The function that a particular entity type plays in a relationship type Entity Relationship Modelling Roles & Recursive Relationships Composite Keys The function of an entity type in a name relationship type PERSON STAFF dateofbirth name m roomno 1 appraisee appraiser APPRAISAL Roles & Association Relationships Non-binary Relationship The function of an entity type in a roomno STAFF relationship type name STAFF p given family courseno given family equip name TUTORS m n name name COURSE STUDENT SUPERVISE slot 1 m subject studno STAFF STUDENT 1 m EXAMINER roomno studno Entity Relationship Model Mapping Entity Types to Relations For every entity type create a relation given family 1 SCHOOL name REG { primary_key (E) U {a1…am} } studno STUDENT m hons Every attribute in entity becomes a relation attribute STUDENT faculty (studno, givenname, m familyname, hons, n m The relation is a subset of the X of the domains of the YEARREG year tutor, slot, year) attributes 1 ENROL(studno, courseno, Composite attributes—just include all the atomic attributes labmark YEAR labmark,exammark) ENROL TUTOR Derived attributes are not included but their derivation 1 exammark slot COURSE(courseno, subject, equip) rules are YEARTUTOR STAFF(lecturer, roomno, appraiser) given family courseno m 1 1 courseno m n TEACH(courseno, lecturer) no. of TEACH labmark equip COURSE name STAFF name students YEAR(year, yeartutor) subject 1 m m ENROL n roomno STUDENT COURSE equip appraisee appraiser SCHOOL(hons, faculty) exammark studno subject APPRAISAL Mapping many:many Relationship Types to Mapping one:many Relationship Types to Relations Relations Mostly: ‘Posting the primary key’ Create a relation: Given E1 at ‘many’ end of relationship and E2 at ‘one’ end of relationship, add to the relation for E1 n (degree of relationship) Make the primary key of the entity at the ‘one’ end (the determined U primary_key(E ) U {a …a } entity) a foreign key in the entity at the ‘many’ end (the determining i 1 m entity). Include any relationship attributes with the foreign key entity i=1 primary keys of each attributes on the { E1 U primary_key(E2) U {a1…an} } participating entity relationship type (if any) type in the relationship attributes on relation for primary key for E2, is given family courseno entity E1 the relationship no. of now a foreign key to E2 labmark equip type (if any) name students m given family ENROL n name STUDENT COURSE slot roomno name exammark m studno subject TUTOR 1 studno STUDENT STAFF Mapping one:many Relationship Types to Mapping one:many Relationship Types to Relations Relations Sometimes... If relationship type is optional to both entity types and an instance of the relationship is rare, and there are lots of STUDENT STAFF attributes on the relationship then… studno given family tutor slot name roomno Create a relation for the relationship type: s1 fred jones bush 12B kahn IT206 s2 mary brown kahn 12B bush 2.26 {primary_key(E1) U primary_key(E2) U {a1…am} s3 sue smith goble 10A goble 2.82 s4 fred bloggs goble 11A zobel 2.34 s5 peter jones zobel 13B watson IT212 primary key for E1, is now a primary key for attributes on the s6 jill peters kahn 12A woods IT204 foreign key to E1; E2, is now a relationship type capon A14 also the PK for this relation foreign key to E2 (if any) lindsey 2.10 barringer 2.125 given family name slot roomno name m TUTOR 1 studno STUDENT STAFF Mapping one:many Relationship Types to Relations Optional Participation of Determined Entity (‘one end’) STUDENT studno given family A school entity instance s1 fred jones A student entity instance STAFF does not have to s2 mary brown must participate in a name roomno participate in a relationship s3 sue smith relationship instance of REG kahn IT206 instance of REG s4 fred bloggs bush 2.26 s5 peter jones goble 2.82 given family s6 jill peters 1 zobel 2.34 SCHOOL name REG watson IT212 studno TUTOR m hons studno tutor slot woods IT204 STUDENT faculty s1 bush 12B capon A14 s2 kahn 12B lindsey 2.10 barringer 2.125 s3 goble 10A SCHOOL(hons,faculty) s4 goble 11A s5 zobel 13B STUDENT(studno,givenname,familyname, ??? ) s6 kahn 12A Optional Participation of Determined Entity Optional Participation of the Determinant STUDENT Entity (‘many end’) studno given family hons s1 fred jones ca hons can’t be null s2 mary brown cis because it is mandatory s3 sue smith cs given s4 fred bloggs ca for a student to be family name slot roomno s5 peter jones cs registered for a school. name m s6 jill peters ca TUTOR 1 studno STUDENT STAFF SCHOOL hons faculty ca accountancy no-one registered for mi A student entity instance A staff entity instance cis information systems so doesn’t occur as a does not have to must participate in a cs computer science participate in a relationship relationship instance of ce computer science foreign key value instance of TUTOR TUTOR mi medicine cm mathematics Optional Participation of the Determinant Entity (‘many end’) Optional Participation of the Determinant Entity 1. STUDENT (studno,givenname,familyname,tutor,slot) STAFF(name, roomno) STUDENT STAFF Integrity constraints: studno given family tutor slot name roomno π STAFF – π STUDENT = ∅ s1 fred jones bush 12B kahn IT206 (name) (tutor) s2 mary brown kahn 12B bush 2.26 s3 sue smith goble 10A goble 2.82 s4 fred bloggs null null zobel 2.34 s5 peter jones zobel 13B 2. STUDENT(studno,givenname,familyname) watson IT212 s6 jill peters null null STAFF(name,roomno) woods IT204 capon A14 TUTOR(studno,tutor,slot) lindsey 2.10 barringer 2.125 3. same as 2 if lots of attributes on TUTOR Mapping one:one Relationship Types to Relations Multi-Valued Attributes 1. Post the primary key of one of the entity types Create a relation for each multi-valued attribute into the other entity type as a foreign key, { primary_key(Ei) U multi-valued attribute } including any relationship attributes with it or The primary key is (primary_key(Ei) U multi-valued attribute) 2.Merge the entity types together STUDENT studno given family dateofbirth contact STAFF year s1 fred jones 10/4/78 Mr. Jones name roomno 1 Mrs Jones kahn IT206 YEAR s2 mary brown 12/1/72 Bill Brown given family bush 2.26 Mrs Jones 1 dateofbirth goble 2.82 YEAR name Billy-Jo Woods YEARTUTOR zobel 2.34 year yeartutor studno STUDENT STUDENT_CONTACTS watson IT212 1 zobel studno contact name roomno woods IT204 2 bush 1 s1 Mr. Jones contact s1 Mrs Jones capon A14 3 capon STAFF s2 Bill Brown lindsey 2.10 s2 Mrs Jones barringer 2.125 s2 Billy-Jo Woods Mapping Roles & Recursive Relationships Multiple Roles between Entity Types 1.
Recommended publications
  • Data Warehouse: an Integrated Decision Support Database Whose Content Is Derived from the Various Operational Databases
    1 www.onlineeducation.bharatsevaksamaj.net www.bssskillmission.in DATABASE MANAGEMENT Topic Objective: At the end of this topic student will be able to: Understand the Contrasting basic concepts Understand the Database Server and Database Specified Understand the USER Clause Definition/Overview: Data: Stored representations of objects and events that have meaning and importance in the users environment. Information: Data that have been processed in such a way that they can increase the knowledge of the person who uses it. Metadata: Data that describes the properties or characteristics of end-user data and the context of that data. Database application: An application program (or set of related programs) that is used to perform a series of database activities (create, read, update, and delete) on behalf of database users. WWW.BSSVE.IN Data warehouse: An integrated decision support database whose content is derived from the various operational databases. Constraint: A rule that cannot be violated by database users. Database: An organized collection of logically related data. Entity: A person, place, object, event, or concept in the user environment about which the organization wishes to maintain data. Database management system: A software system that is used to create, maintain, and provide controlled access to user databases. www.bsscommunitycollege.in www.bssnewgeneration.in www.bsslifeskillscollege.in 2 www.onlineeducation.bharatsevaksamaj.net www.bssskillmission.in Data dependence; data independence: With data dependence, data descriptions are included with the application programs that use the data, while with data independence the data descriptions are separated from the application programs. Data warehouse; data mining: A data warehouse is an integrated decision support database, while data mining (described in the topic introduction) is the process of extracting useful information from databases.
    [Show full text]
  • Chapter 2: Database System Concepts and Architecture Define
    Chapter 2: Database System Concepts and Architecture define: data model - set of concepts that can be used to describe the structure of a database data types, relationships and constraints set of basic operations - retrievals and updates specify behavior - set of valid user-defined operations categories: high-level (conceptual data model) - provides concepts the way a user perceives data - entity - real world object or concept to be represented in db - attribute - some property of the entity - relationship - represents and interaction among entities representational (implementation data model) - hide some details of how data is stored, but can be implemented directly - record-based models like relational are representational low-level (physical data model) - provides details of how data is stored - record formats - record orderings - access path (for efficient search) schemas and instances: database schema - description of the data (meta-data) defined at design time each object in schema is a schema construct EX: look at TOY example - top notation represents schema schema constructs: cust ID; order #; etc. database state - the data in the database at any particular time - also called set of instances an instance of data is filled when database is populated/updated EX: cust name is a schema construct; George Grant is an instance of cust name difference between schema and state - at design time, schema is defined and state is the empty state - state changes each time data is inserted or updated, schema remains the same Three-schema architecture
    [Show full text]
  • Data Models for Home Services
    __________________________________________PROCEEDING OF THE 13TH CONFERENCE OF FRUCT ASSOCIATION Data Models for Home Services Vadym Kramar, Markku Korhonen, Yury Sergeev Oulu University of Applied Sciences, School of Engineering Raahe, Finland {vadym.kramar, markku.korhonen, yury.sergeev}@oamk.fi Abstract An ultimate penetration of communication technologies allowing web access has enriched a conception of smart homes with new paradigms of home services. Modern home services range far beyond such notions as Home Automation or Use of Internet. The services expose their ubiquitous nature by being integrated into smart environments, and provisioned through a variety of end-user devices. Computational intelligence require a use of knowledge technologies, and within a given domain, such requirement as a compliance with modern web architecture is essential. This is where Semantic Web technologies excel. A given work presents an overview of important terms, vocabularies, and data models that may be utilised in data and knowledge engineering with respect to home services. Index Terms: Context, Data engineering, Data models, Knowledge engineering, Semantic Web, Smart homes, Ubiquitous computing. I. INTRODUCTION In recent years, a use of Semantic Web technologies to build a giant information space has shown certain benefits. Rapid development of Web 3.0 and a use of its principle in web applications is the best evidence of such benefits. A traditional database design in still and will be widely used in web applications. One of the most important reason for that is a vast number of databases developed over years and used in a variety of applications varying from simple web services to enterprise portals. In accordance to Forrester Research though a growing number of document, or knowledge bases, such as NoSQL is not a hype anymore [1].
    [Show full text]
  • Ontology Transformation: from Requirements to Conceptual Model*
    Justas Trinkunas, Olegas Vasilecas Ontology Transformation: from Requirements to .. SCIeNTIfIC PAPeRS, UNIVeRSITy of Latvia, 2009. Vol. 751 COMPUTER SCIENCE AND Information TECHNOLOGIES 52–64 P. Ontology Transformation: from Requirements to Conceptual Model* Justas Trinkunas1 and Olegas Vasilecas2, 3 1 Information Systems Research Laboratory, Faculty of Fundamental Sciences, Vilnius Gediminas Technical University, Sauletekio al. 11, LT-10223 Vilnius-40, Lithuania, [email protected] 2 Information Systems Research Laboratory, Faculty of Fundamental Sciences, Vilnius Gediminas Technical University, Sauletekio al. 11, LT-10223 Vilnius-40, Lithuania, [email protected] 3 Department of Computer Science, Faculty of Natural Sciences, Klaipeda University, Herkaus Manto 84, LT-92294 Klaipeda, [email protected] Information systems are increasingly complex, especially in the enormous growth of the volume of data, different structures, different technologies, and the evolving requirements of the users. Consequently, current applications require an enormous effort of design and development. The fast-changing requirements are the main problem in creating and/or modifying conceptual data models. To improve this process, we proposed to reuse already existing knowledge for conceptual modelling. In the paper, we have analysed reusable knowledge models. We present our method for creating conceptual models from various knowledge models. Keywords: transformation, ontology, data modelling. 1 Introduction Most of information systems analysts have at least once considered how many times they have to analyse the same problems, create and design the same things. Most of them ask, is it possible to reuse already existing knowledge? Our answer is yes. We believe that knowledge can and should be reused for information systems development.
    [Show full text]
  • Enterprise Data Modeling Using the Entity-Relationship Model
    Database Systems Session 3 – Main Theme Enterprise Data Modeling Using The Entity/Relationship Model Dr. Jean-Claude Franchitti New York University Computer Science Department Courant Institute of Mathematical Sciences Presentation material partially based on textbook slides Fundamentals of Database Systems (6th Edition) by Ramez Elmasri and Shamkant Navathe Slides copyright © 2011 1 Agenda 11 SessionSession OverviewOverview 22 EnterpriseEnterprise DataData ModelingModeling UsingUsing thethe ERER ModelModel 33 UsingUsing thethe EnhancedEnhanced Entity-RelationshipEntity-Relationship ModelModel 44 CaseCase StudyStudy 55 SummarySummary andand ConclusionConclusion 2 Session Agenda Session Overview Enterprise Data Modeling Using the ER Model Using the Extended ER Model Case Study Summary & Conclusion 3 What is the class about? Course description and syllabus: » http://www.nyu.edu/classes/jcf/CSCI-GA.2433-001 » http://cs.nyu.edu/courses/fall11/CSCI-GA.2433-001/ Textbooks: » Fundamentals of Database Systems (6th Edition) Ramez Elmasri and Shamkant Navathe Addition Wesley ISBN-10: 0-1360-8620-9, ISBN-13: 978-0136086208 6th Edition (04/10) 4 Icons / Metaphors Information Common Realization Knowledge/Competency Pattern Governance Alignment Solution Approach 55 Agenda 11 SessionSession OverviewOverview 22 EnterpriseEnterprise DataData ModelingModeling UsingUsing thethe ERER ModelModel 33 UsingUsing thethe EnhancedEnhanced Entity-RelationshipEntity-Relationship ModelModel 44 CaseCase StudyStudy 55 SummarySummary andand ConclusionConclusion
    [Show full text]
  • Mapping Conceptual Models to Database Schemas
    Chapter 4 Mapping Conceptual Models to Database Schemas David W. Embley and Wai Yin Mok 4.1 Introduction The mapping of a conceptual-model instance to a database schema is fun- damentally the same for all conceptual models. A conceptual-model instance describes the relationships and constraints among the various data items. Given the relationships and constraints, the mappings group data items to- gether into flat relational schemas for relational databases and into nested relational schemas for object-based and XML storage structures. Although we are particularly interested in the basic principles behind the mappings, we take the approach of first presenting them in Sections 4.2 and 4.3 in terms of mapping an ER model to a relational database. In these sections, for the ER constructs involved, we (1) provide examples of the constructs and say what they mean, (2) give rules for mapping the constructs to a relational schema and illustrate the rules with examples, and (3) state the underlying principles. We then take these principles and show in Section 4.4 how to apply them to UML. This section on UML also serves as a guide to applying the principles to other conceptual models. In Section 4.5 we ask and answer the question about the circumstances under which the mappings yield normalized relational database schemas. In Section 4.6 we extend the mappings beyond flat relations for relational databases and show how to map conceptual-model instances to object-based and XML storage structures. We provide pointers to additional readings in Section 4.7. Throughout, we use an application in which we assume that we are designing a database for a bed and breakfast service.
    [Show full text]
  • Define Conceptual Schema in Dbms
    Define Conceptual Schema In Dbms Earthshaking Garv hydroplane early while Esteban always tub his liquidations oversimplified sorrily, he theologised so industrially. Devolution or tyrannical, Rinaldo never bottle-feed any stereochromy! Visitorial Barney sometimes politicises his cannibal dreadfully and landscapes so ago! In knowing the same data projects, while control module or schema conceptual. Implementation data model is used at local level. One badge to calculate cardinality constraints. Its functionality is its limit the number and entity occurrences associated in a relationship. Parallel database systems are used in the applications that chapter to query extremely large databases or a have people process an extremely large orchard of transactions per second. SALARY stretch a number. Data compression and data encryption techniques. Dynamic properties, for example, operations or rules defining new database states based on applied state changes. The scheduler is illicit for ensuring that concurrent operations on the database software without conflicting with me another. It also allows any differences in entity names, attributes names, attributes order, data types, and manual on, to pay determined. Thus, by inspecting the articulation set therefore a decomposition hypergraph, one immediately infers that certain MDs hold in on original relation. This is off very strong within which floor have developed our decomposition algorithm. Elementary FDs and multiple elementary MDs have and simple structure appealing to intuition and certain formal properties ACM Transactions on Database Systems. DOB is then date. Guarino is arguing for. We use cookies to hum the best possible experience equip our website. The information about the mapping requests among various schema levels are included in quality system catalog of DBMS.
    [Show full text]
  • Managing Data Models Is Based on a “Where-Used” Model Versus the Traditional “Transformation-Mapping” Model
    Data Model Management Whitemarsh Information Systems Corporation 2008 Althea Lane Bowie, Maryland 20716 Tele: 301-249-1142 Email: [email protected] Web: www.wiscorp.com Data Model Management Table of Contents 1. Objective ..............................................................1 2. Topics Covered .........................................................1 3. Architectures of Data Models ..............................................1 4. Specified Data Model Architecture..........................................3 5. Implemented Data Model Architecture.......................................7 6. Operational Data Model Architecture.......................................10 7. Conclusions...........................................................10 8. References............................................................11 Copyright 2006, Whitemarsh Information Systems Corporation Proprietary Data, All Rights Reserved ii Data Model Management 1. Objective The objective of this Whitemarsh Short Paper is to present an approach to the creation and management of data models that are founded on policy-based concepts that exist across the enterprise. Whitemarsh Short Papers are available from the Whitemarsh website at: http://www.wiscorp.com/short_paper_series.html Whitemarsh’s approach to managing data models is based on a “where-used” model versus the traditional “transformation-mapping” model. This difference brings a very great benefit to data model management. 2. Topics Covered The topics is this paper include: ! Architectures of Data
    [Show full text]
  • Entity Chapter 7: Entity-Relationship Model
    Chapter 7: Entity --Relationship Model These slides are a modified version of the slides provided with the book: Database System Concepts, 6th Ed . ©Silberschatz, Korth and Sudarshan See www.db-book.com for conditions on re-use The original version of the slides is available at: https://www.db-book.com/ Chapter 7: EntityEntity--RelationshipRelationship Model Design Process Modeling Constraints E-R Diagram Design Issues Weak Entity Sets Extended E-R Features Design of the Bank Database Reduction to Relation Schemas Database Design UML Database System Concepts 7.2 ©Silberschatz, Korth and Sudarshan Design Phases Requirements specification and analysis: to characterize and organize fully the data needs of the prospective database users Conceptual design: the designer translates the requirements into a conceptual schema of the database ( Entity-Relationship model, ER schema – these slides topic) A fully developed conceptual schema also indicates the functional requirements of the enterprise. In a “specification of functional requirements”, users describe the kinds of operations (or transactions) that will be performed on the data Logical Design: deciding on the DBMS schema and thus on the data model (relational data model ). Conceptual schema is “mechanically ” translated into a logical schema ( relational schema ) Database design requires finding a “good” collection of relation schemas Physical Design: some decisions on the physical layout of the database Database System Concepts 7.3 ©Silberschatz, Korth and Sudarshan Outline
    [Show full text]
  • Conceptual Analyses and Design Steps
    Mustafa Jarrar: Lecture Notes on Conceptual Analyses and Design Steps. University of Birzeit, Palestine, 2018 Version 4 Conceptual Analyses Conceptual Schema Design Steps (Chapter 3) Mustafa Jarrar Birzeit University [email protected] www.jarrar.info Jarrar © 2018 1 Watch this lecture and download the slides Course Page: http://www.jarrar.info/courses/ORM/Jarrar.LectureNotes.ConceptualAnalyses.pdf Online Courses : http://www.jarrar.info/courses/ Some diagrams in this lecture are based on [1] Jarrar © 2018 2 Mustafa Jarrar: Lecture Notes on Conceptual Analyses and design Steps. University of Birzeit, Palestine, 2018 Conceptual Analyses Conceptual Schema Design Steps § Part 1: Conceptual Analyses Steps § Part 2: Basic ORM Constructs and Syntax § Part 3: Use case (ID Card) § Part 4: Use case (University Programs) Jarrar © 2018 3 Conceptual Analyses Given an application domain, e.g. hospital, and three information modelers, what steps do you suggest them to start with, to build the hospital’s conceptual model? There is no strict or perfect modeling process or procedure! You may start with any step you think suitable, taking into account the complexity of the domain, available resources, modelers’ prior knowledge about the domain, etc. It is recommended that you modularize the domain into sub-domains, build a conceptual schema for each sub-domain , then integrate all sub- schemes into one conceptual schema. The following procedure (7 steps) is to help you model a sub-domain, but you don’t have to strictly follow these steps. Jarrar © 2018 4 Conceptual Schema Design Steps 1. From examples to elementary facts 2. Draw fact types and apply population check 3.
    [Show full text]
  • 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) data model, capable of describing the data requirements for a new information system in a direct and easy to understand graphical notation. Data requirements for a database are described in terms of a conceptual schema, using the EER model. EER schemata are comparable to UML class diagrams. Actually, what we will be discussing is an extension of Peter Chen’s proposal (hence “extended” ER). 1/61 The Constructs of the EER Model 2/61 Entities These represent classes of objects (facts, things, people,...) that have properties in common and an autonomous existence. City, Department, Employee, Purchase and Sale are examples of entities for a commercial organization. An instance of an entity represents an object in the class represented by the entity. Stockholm, Helsinki, are examples of instances of the entity City, and the employees Peterson and Johanson are examples of instances of the Employee entity. The EER model is very different from the relational model in a number of ways; for example, in EER it is not possible to represent an object without knowing its properties, but in the relational model you need to know its key attributes. 3/61 Example of Entities 4/61 Relationship They represent logical links between two or more entities. Residence is an example of a relationship that can exist between the entities City and Employee; Exam is an example of a relationship that can exist between the entities Student and Course.
    [Show full text]
  • The Case of the COVID-19 Pandemic
    information Article A Conceptual Model for Geo-Online Exploratory Data Visualization: The Case of the COVID-19 Pandemic Anna Bernasconi 1,* and Silvia Grandi 2 1 Dipartimento di Elettronica, Informazione e Bioingegneria, Politecnico di Milano, 20133 Milan, Italy 2 Dipartimento di Scienze Statistiche “P. Fortunati”, Alma Mater Studiorum Università di Bologna, 40126 Bologna, Italy; [email protected] * Correspondence: [email protected] Abstract: Responding to the recent COVID-19 outbreak, several organizations and private citizens considered the opportunity to design and publish online explanatory data visualization tools for the communication of disease data supported by a spatial dimension. They responded to the need of receiving instant information arising from the broad research community, the public health authorities, and the general public. In addition, the growing maturity of information and mapping technologies, as well as of social networks, has greatly supported the diffusion of web-based dashboards and infographics, blending geographical, graphical, and statistical representation approaches. We propose a broad conceptualization of Web visualization tools for geo-spatial information, exceptionally employed to communicate the current pandemic; to this end, we study a significant number of publicly available platforms that track, visualize, and communicate indicators related to COVID-19. Our methodology is based on (i) a preliminary systematization of actors, data types, providers, and visualization tools, and on (ii) the creation of a rich collection of relevant sites clustered according to significant parameters. Ultimately, the contribution of this work includes a critical analysis of collected evidence and an extensive modeling effort of Geo-Online Exploratory Data Visualization (Geo-OEDV) tools, synthesized in terms of an Entity-Relationship schema.
    [Show full text]