Augmenting Traditional Conceptual Models to Accommodate XML Structures Stephen W. Liddle Information Systems Department Reema Al-Kamha & David W. Embley.

Slides:



Advertisements
Similar presentations
Three-Step Database Design
Advertisements

Chapter 2 Entity-Relationship Data Modeling: Tools and Techniques
Introduction to Databases
Ch5: ER Diagrams - Part 1 Much of the material presented in these slides was developed by Dr. Ramon Lawrence at the University of Iowa.
CS 340 UML Class Diagrams. A model is an abstraction of a system, specifying the modeled system from a certain viewpoint and at a certain level of abstraction.
Chapter 4 Conceptual Modeling of Databases with Entity-Relationship Diagrams and the Unified Modeling Language.
Transforming XML Schema to Conceptual XML Reema Al-Kamha Spring Research Conference Supported by NSF.
Software Testing and Quality Assurance
Chapter 6 Methodology Logical Database Design for the Relational Model Transparencies © Pearson Education Limited 1995, 2005.
System Analysis - Data Modeling
Systems Analysis Requirements structuring Process Modeling Logic Modeling Data Modeling  Represents the contents and structure of the DFD’s data flows.
Entity Relationship Diagrams Basic Elements and Rules.
CS 425/625 Software Engineering System Models
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 8 The Enhanced Entity- Relationship (EER) Model.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Conceptual Data Modeling Using Entities and Relationships.
Augmenting Traditional Conceptual Models to Accommodate XML Structural Constructs Reema Al-Kamha Spring Research Conference Supported by NSF.
Conceptual XML for Systems Analysis Reema Al-Kamha PhD Dissertation Defense Supported by NSF.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 5 Understanding Entity Relationship Diagrams.
Fundamentals, Design, and Implementation, 9/e COS 346 Day 2.
Slides adapted from A. Silberschatz et al. Database System Concepts, 5th Ed. Entity-Relationship Model Database Management Systems I Alex Coman, Winter.
Chapter 2: Entity-Relationship Model (Continued)
Entity-Relationship (E-R) Model
Class Number – CS 304 Class Name - DBMS Instructor – Sanjay Madria Instructor – Sanjay Madria Lesson Title – ER Model.
Software Design Description (SDD) Diagram Samples
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 8 The Enhanced Entity- Relationship (EER) Model.
Chapter 3 Data Modeling Using the Entity- Relationship (ER) Model Dr. Bernard Chen Ph.D. University of Central Arkansas.
Computer System Analysis Chapter 10 Structuring System Requirements: Conceptual Data Modeling Dr. Sana’a Wafa Al-Sayegh 1 st quadmaster University of Palestine.
CSE314 Database Systems Data Modeling Using the Entity- Relationship (ER) Model Doç. Dr. Mehmet Göktürk src: Elmasri & Navanthe 6E Pearson Ed Slide Set.
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 7.1.
Dr. Mohamed Osman Hegaz1 Conceptual data base design: The conceptual models: The Entity Relationship Model.
Information storage: Introduction of database 10/7/2004 Xiangming Mu.
Experiences with the Design and Development Process of DDI Requirements for Future Work Ideas for Improvement Joachim Wackerow.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model.
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 2/1 Copyright © 2004 Please……. No Food Or Drink in the class.
A Z Approach in Validating ORA-SS Data Models Scott Uk-Jin Lee Jing Sun Gillian Dobbie Yuan Fang Li.
Concepts and Terminology Introduction to Database.
©Silberschatz, Korth and Sudarshan2.1Database System Concepts Chapter 2: Entity-Relationship Model Entity Sets Relationship Sets Design Issues Mapping.
UNIT 2.
1 Relational Databases and SQL. Learning Objectives Understand techniques to model complex accounting phenomena in an E-R diagram Develop E-R diagrams.
University of Toronto Department of Computer Science © Steve Easterbrook. This presentation is available free for non-commercial use with attribution.
Database Systems: Enhanced Entity-Relationship Modeling Dr. Taysir Hassan Abdel Hamid.
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:
Sheet 1XML Technology in E-Commerce 2001Lecture 2 XML Technology in E-Commerce Lecture 2 Logical and Physical Structure, Validity, DTD, XML Schema.
Using Meta-Model-Driven Views to Address Scalability in i* Models Jane You Department of Computer Science University of Toronto.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model.
Processing of structured documents Spring 2003, Part 3 Helena Ahonen-Myka.
Computing & Information Sciences Kansas State University Friday, 26 Sep 2008CIS 560: Database System Concepts Lecture 13 of 42 Friday, 26 September 2008.
Foundational Data Modeling and Schema Transformations for XML Data Engineering Stephen W. Liddle Information Systems Department Reema Al-Kamha & David.
Lecture 03 Entity-Relationship Diagram. Chapter Outline.
Chapter 4 Extended Entity-Relationship (EER)Model Incorporates Set-subset Relationships Incorporates Generalization Hierarchies Constraints: Coverage Constraints:
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model.
DCMI Abstract Model Analysis Resource Model Jorge Morato– Information Ingeneering Universidad Carlos III de Madrid
Class Diagrams. Terms and Concepts A class diagram is a diagram that shows a set of classes, interfaces, and collaborations and their relationships.
©Silberschatz, Korth and Sudarshan2.1Database System Concepts Chapter 2: Entity-Relationship Model Entity Sets Relationship Sets Mapping Constraints Keys.
Methodology - Logical Database Design. 2 Step 2 Build and Validate Local Logical Data Model To build a local logical data model from a local conceptual.
The Relational Model Lecture #2 Monday 21 st October 2001.
Database Design, Application Development, and Administration, 6 th Edition Copyright © 2015 by Michael V. Mannino. All rights reserved. Chapter 5 Understanding.
Data Models. 2 The Importance of Data Models Data models –Relatively simple representations, usually graphical, of complex real-world data structures.
Lecture 5 Data Model Design Jeffery S. Horsburgh Hydroinformatics Fall 2012 This work was funded by National Science Foundation Grant EPS
UML (Unified Modeling Language)
Data Modeling Using the Entity- Relationship (ER) Model
The Enhanced Entity- Relationship (EER) Model
Entity- Relationship (ER) Model
Methodology Logical Database Design for the Relational Model
Chapter 7: Entity-Relationship Model
Advanced Database Models
Entity Relationship Diagrams
Data Model.
Enhanced Entity-Relationship (EER) Modeling
Presentation transcript:

Augmenting Traditional Conceptual Models to Accommodate XML Structures Stephen W. Liddle Information Systems Department Reema Al-Kamha & David W. Embley Computer Science Department Brigham Young University, Provo, Utah

2 of 25 5 November 2007 ER 2007, Auckland, New Zealand Outline Background XML modeling criteria Missing modeling constructs C-XML Augmenting ER and UML Conclusion

3 of 25 5 November 2007 ER 2007, Auckland, New Zealand The Need for Greater Abstraction The history of modeling and programming languages is the history of our attempts to scale the mountain of abstraction XML needs better abstractions

4 of 25 5 November 2007 ER 2007, Auckland, New Zealand XML Schema/Model Mismatch XML features not explicitly supported in traditional conceptual models: Ordered lists of concepts Choice of concept from among several Nested information hierarchies Mixed content Use of content from another model

5 of 25 5 November 2007 ER 2007, Auckland, New Zealand Our Contributions Proposed conceptual representation for XML structures Representation of these concepts in ER and UML

6 of 25 5 November 2007 ER 2007, Auckland, New Zealand XML Modeling Criteria Graphical notation Formal foundation Structure independence Reflection of the mental model N-ary relationship sets Logical level mapping Cardinality for all participants Irregular & heterogeneous structure Document-centric data Views Constraints Ordering

7 of 25 5 November 2007 ER 2007, Auckland, New Zealand Missing Modeling Constructs (1) Sequence structure Parent concept Ordered child concepts Constrained recurrence of children Constrained recurrence of sequence itself <xs:element name="MiddleName" type="xs:string“ minOccurs="0" maxOccurs="2"/>

8 of 25 5 November 2007 ER 2007, Auckland, New Zealand Missing Modeling Constructs (2) Choice structure Parent concept Choose one child concept from several alternatives Constrained recurrence of chosen child Constrained recurrence of choice itself <xs:element name="PhoneNumber" type="xs:string" minOccurs="1" maxOccurs="2" />

9 of 25 5 November 2007 ER 2007, Auckland, New Zealand Missing Modeling Constructs (3) Mixed attribute Allows character and element data to be intertwined Any and anyAttribute structures Insert structures from other namespaces Constrained recurrence

10 of 25 5 November 2007 ER 2007, Auckland, New Zealand Missing Modeling Constructs (4) Nesting of hierarchical structures Key organizational characteristic of XML Arbitrarily complex nesting possible

11 of 25 5 November 2007 ER 2007, Auckland, New Zealand C-XML Augmentations C-XML foundation proposed at ER 2004 Augmented hypergraph of relationship sets and object sets Sequence Choice Any/anyAttribute Mixed content

12 of 25 5 November 2007 ER 2007, Auckland, New Zealand C-XML Example

13 of 25 5 November 2007 ER 2007, Auckland, New Zealand C-XML Modeling Sufficiency Graphical notation Formal foundation Structure independence Reflection of the mental model N-ary relationship sets Logical level mapping Cardinality for all participants Irregular & heterogeneous structure Document-centric data Views Constraints Ordering

14 of 25 5 November 2007 ER 2007, Auckland, New Zealand C-XML Advantages w.r.t. XML Structure independence Associate multiple sequences/choices with a single concept Intermix ordinary relationship sets with sequences/choices Generalized sequence, choice, mixed content Reflection of mental model Represent hierarchical and non-hierarchical structure No attribute vs. element decision Both ordered and unordered related concepts Choice distinguished from generalization/specialization Full range of cardinality constraints

15 of 25 5 November 2007 ER 2007, Auckland, New Zealand Other Conceptual Models for XML We are not the only ones working on this See surveys by Sengupta & Wilde (2003) and Necasky (2006) XML Schema itself responds in part to the need for better conceptual models of XML But there is more to be done

16 of 25 5 November 2007 ER 2007, Auckland, New Zealand Methodology The market wants standards Consider popular conceptual models ER UML (class diagrams) Find related work that maps those models to XML XER (XML for ER) by Sengupta et al. Conrad et al. work on UML Compare their work with C-XML to identify problems Extend their work to XML Schema XER  ER-XML Conrad  UML-XML

17 of 25 5 November 2007 ER 2007, Auckland, New Zealand XER (Best Attempt)

18 of 25 5 November 2007 ER 2007, Auckland, New Zealand XER Issues Lacks some cardinality constraints Missing any and anyAttribute constructs No representation for composite keys Can only apply key designation to attributes Combines notions of choice and generalization/specialization in one construct This is a conceptual mismatch for various reasons Need to allow for anonymous entities We made many assumptions to present a cleaned up version of XER as ER-XML

19 of 25 5 November 2007 ER 2007, Auckland, New Zealand ER-XML (XER++)

20 of 25 5 November 2007 ER 2007, Auckland, New Zealand Conrad UML/XML (Best Attempt)

21 of 25 5 November 2007 ER 2007, Auckland, New Zealand Conrad UML/XML Issues Key construct: Extended UML aggregation to map choice and sequence structures Lack of anyAttribute construct Lack of mixed content construct Lacks key constraints Unless you count OCL Sequence/choice representation can only be applied to classes, not attributes

22 of 25 5 November 2007 ER 2007, Auckland, New Zealand UML-XML (Conrad++)

23 of 25 5 November 2007 ER 2007, Auckland, New Zealand C-XML Advantages Formal foundation XER not formally defined UML formal description not fully developed Reflection of mental model No attribute/element distinction required Views Hypergraphs are amenable to view translations C-XML has high-level views (object sets and relationship sets) as a first-class construct Logical level mapping We have mapped both XML Schema  C-XML and C-XML  XML Schema Cardinality for all participants C-XML handles cardinality constraints for more participants even than than XML Schema supports

24 of 25 5 November 2007 ER 2007, Auckland, New Zealand Conclusion Problem: some XML Schema concepts are missing in traditional conceptual models Solution: enrich conceptual models with ability to Order a list of concepts Choose alternatives from among several Specify mixed content Use content data from another data model

25 of 25 5 November 2007 ER 2007, Auckland, New Zealand Conclusion C-XML answers the need Our solution can be adapted to ER and UML languages Though these adaptations aren’t quite as good at satisfying modeling requirements as C-XML