TU/e eindhoven university of technology / faculty of mathematics and informatics Exporting Databases in XML DTD A Conceptual and Generic Approach Philippe.

Slides:



Advertisements
Similar presentations
Chapter 6: Entity-Relationship Model (part I)
Advertisements

TU e technische universiteit eindhoven / department of mathematics and computer science Modeling User Input and Hypermedia Dynamics in Hera Databases and.
XML: Extensible Markup Language
XML DOCUMENTS AND DATABASES
© Krumbein / Kudrass ADBIS | 2003 September 3-6, 2003, Dresden, Germany {kudrass | Thomas Kudrass, Tobias Krumbein Rule-Based.
Modeling the Data: Conceptual and Logical Data Modeling
Systems Analysis Requirements structuring Process Modeling Logic Modeling Data Modeling  Represents the contents and structure of the DFD’s data flows.
File Systems and Databases
Integrated Database Design Mark Graves. This presentation is Copyright 2001, 2002 by Mark Graves and contains material Copyright 2002 by Prentice Hall.
Conceptual XML for Systems Analysis Reema Al-Kamha PhD Dissertation Defense Supported by NSF.
24/1/20081 Architecture of multiple databases integration.
Modeling Data The Entity Relationship Model (ER) For Database Design.
1 COS 425: Database and Information Management Systems XML and information exchange.
1 Lecture 13: Database Heterogeneity Debriefing Project Phase 2.
XML –Query Languages, Extracting from Relational Databases ADVANCED DATABASES Khawaja Mohiuddin Assistant Professor Department of Computer Sciences Bahria.
Sangam: A Transformation Modeling Framework Kajal T. Claypool (U Mass Lowell) and Elke A. Rundensteiner (WPI)
/ faculty of mathematics and informatics TU/e eindhoven university of technology ADBIS'200128/09/20011 An RMM-Based Methodology for Hypermedia Presentation.
Mining Metamodels From Instance Models: The MARS System Faizan Javed Department of Computer & Information Sciences, University of Alabama at Birmingham.
1 Advanced Topics XML and Databases. 2 XML u Overview u Structure of XML Data –XML Document Type Definition DTD –Namespaces –XML Schema u Query and Transformation.
BIS310: Week 7 BIS310: Structured Analysis and Design Data Modeling and Database Design.
4/20/2017.
Semantic Web Technologies Lecture # 2 Faculty of Computer Science, IBA.
LECTURE 2 DATABASE SYSTEM CONCEPTS AND ARCHITECTURE.
XML-to-Relational Schema Mapping Algorithm ODTDMap Speaker: Artem Chebotko* Wayne State University Joint work with Mustafa Atay,
Information storage: Introduction of database 10/7/2004 Xiangming Mu.
Week 1 Lecture MSCD 600 Database Architecture Samuel ConnSamuel Conn, Asst. Professor Suggestions for using the Lecture Slides.
Database System Concepts, 6 th Ed. ©Silberschatz, Korth and Sudarshan Lecture-02,03 Introduction –Data Models Lectured by, Jesmin Akhter.
An Approach to Task Modelling for User Interface Design Costin Pribeanu National Institute for Research and Development in Informatics, Bucureşti, Romania.
Lecture 6 of Advanced Databases XML Schema, Querying & Transformation Instructor: Mr.Ahmed Al Astal.
Chapter 4: Document Type Definitions. Chapter 4 Objectives Learn to create DTDs Validate an XML document against a DTD Use DTDs to create XML documents.
XML CPSC 315 – Programming Studio Fall 2008 Project 3, Lecture 1.
TU/e eindhoven university of technology / faculty of mathematics and informatics Technologie van Informatiesystemen TIS college 3.
Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the.
XML Schema and Stylus Studio. Introduction to XML Schema XML Schema defines building blocks of a XML document XML Schemas are alternative to DTD Why XML.
Database Systems: Design, Implementation, and Management Ninth Edition
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.
XML Structures For Existing Databases Ref: 106.ibm.com/developerworks/xml/library/x-struct/
What is XML?  XML stands for EXtensible Markup Language  XML is a markup language much like HTML  XML was designed to carry data, not to display data.
Chapter # 2 Data Models BIS Database Systems A.Thanop Somprasong
10/17/2012ISC471/HCI571 Isabelle Bichindaritz 1 Technologies Databases.
©Silberschatz, Korth and Sudarshan2.1Database System Concepts Chapter 2: Entity-Relationship Model Entity Sets Relationship Sets Design Issues Mapping.
Chapters 15 &16 Conceptual and Logical Database Design Methodology.
RRXS Redundancy reducing XML storage in relations O. MERT ERKUŞ A. ONUR DOĞUÇ
IFS310: Module 6 3/1/2007 Data Modeling and Entity-Relationship Diagrams.
Jozef Kuper.  Describe a Database  Entities  Atributes  Relationships.
VICTORIA UNIVERSITY OF WELLINGTON Te Whare Wananga o te Upoko o te Ika a Maui SWEN 432 Advanced Database Design and Implementation Mapping RDB Schema to.
Databases Illuminated Chapter 3 The Entity Relationship 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.
Of 33 lecture 1: introduction. of 33 the semantic web vision today’s web (1) web content – for human consumption (no structural information) people search.
1 Resolving Schematic Discrepancy in the Integration of Entity-Relationship Schemas Qi He Tok Wang Ling Dept. of Computer Science School of Computing National.
Wrapper-Based Evolution of Legacy Information System Philippe Thiran et al Fcculties University Notre-Dame de la Paix.
Issues in Ontology-based Information integration By Zhan Cui, Dean Jones and Paul O’Brien.
Foundational Data Modeling and Schema Transformations for XML Data Engineering Stephen W. Liddle Information Systems Department Reema Al-Kamha & David.
Assoc. Prof. Dr. Ahmet Turan ÖZCERİT.  The concept of Data, Information and Knowledge  The fundamental terms:  Database and database system  Database.
An Ontology-based Approach to Context Modeling and Reasoning in Pervasive Computing Dejene Ejigu, Marian Scuturici, Lionel Brunie Laboratoire INSA de Lyon,
Working with XML. Markup Languages Text-based languages based on SGML Text-based languages based on SGML SGML = Standard Generalized Markup Language SGML.
©Silberschatz, Korth and Sudarshan2.1Database System Concepts Chapter 2: Entity-Relationship Model Entity Sets Relationship Sets Mapping Constraints Keys.
©Silberschatz, Korth and Sudarshan7.1Database System Concepts - 6 th Edition Chapter 7: Entity-Relationship Model.
XML Extensible Markup Language
Data Models. 2 The Importance of Data Models Data models –Relatively simple representations, usually graphical, of complex real-world data structures.
Conceptual Modeling for XML Data
ece 627 intelligent web: ontology and beyond
Chapter 7: Entity-Relationship Model
UML to XSD.
Tools for Memory: Database Management Systems
2/18/2019.
Chapter 7: Entity-Relationship Model
Presentation transcript:

TU/e eindhoven university of technology / faculty of mathematics and informatics Exporting Databases in XML DTD A Conceptual and Generic Approach Philippe Thiran Computer Science Department Technische Universiteit Eindhoven The Netherlands

TU/e eindhoven university of technology / faculty of mathematics and informatics Exporting Databases in XML Current Situation – XML as the standard for publishing and exchanging data over the Web – Data recorded and maintained in existing Databases Heterogeneous databases: different data models Limitation of database models – Database schema incompleteness (implicit/hidden structures) – Explicit and implicit interconnections among entities (no primary and foreign keys) Oracle V5 Model

TU/e eindhoven university of technology / faculty of mathematics and informatics Exporting Databases in XML Migrating existing databases to XML – Principle XML description in DTD Bottom-up Approach Exploiting as much as possible the meaning of source data – Method and Tool Method – Not limited to any specific database model – Capturing the explicit and implicit structures and interconnections of the database schema Tool for supporting the method

TU/e eindhoven university of technology / faculty of mathematics and informatics Exporting Databases in XML Schema Representation Database models and DTD Schema Manipulation Database schemas and DTD

TU/e eindhoven university of technology / faculty of mathematics and informatics Exporting Databases in XML Schema Representation – Expressing database schemas and XML in terms of GER Extended object-entity relationship data model One rich and expressive model able to express data schemas whatever their operational data models – Operational database models like IMS, Relational, OO – XML-family models: XML DTD or XML Schema

TU/e eindhoven university of technology / faculty of mathematics and informatics Exporting Databases in XML Schema Representation – Expressing XML in terms of GER DTD expressed in terms of GER – DTD concepts – Hierarchical organization – Sequence organization DTD ConceptsGER Interpretation Element typesEntity types Hierarchy of element types(root) entity types, relationship types, father roles Content type ELEMENTRelationship types Sequence organization (order of elements in the sequence) Seq groups Occurrence operators on sub-elements ?, *, + Role Cardinalities IDREF, GID attributesIDREF, GID groups Attribute modifiersAttribute cardinalities

TU/e eindhoven university of technology / faculty of mathematics and informatics Exporting Databases in XML Schema Representation – Expressing XML in terms of GER <!ATTLIST Product Reference ID #REQUIRED Label CDATA #IMPLIED UnitPrice CDATA #REQUIRED>

TU/e eindhoven university of technology / faculty of mathematics and informatics Exporting Databases in XML Schema Manipulation – Transforming XML DTD within GER Schema transformations defined on GER – Reverse transformations, semantics-preserving transformations – Transformation operators Standard transformations – For manipulating schemas expressed in operational database models – Example: transforming an entity type into an attribute DTD-specific transformations

TU/e eindhoven university of technology / faculty of mathematics and informatics Exporting Databases in XML Schema Manipulation – Transforming XML DTD within GER Standard transformations – For manipulating schemas expressed in classical structured models – Example of a semantics-preserving transformation: transforming an relationship type into a entity type RT-ET: Transforming a relationship type into an entity type. Inverse: ET-RT

TU/e eindhoven university of technology / faculty of mathematics and informatics Exporting Databases in XML Schema Manipulation – Transforming XML DTD within GER DTD-specific transformations (example) – Suited to derive a DTD from a structured data schema DTD-RT-to-HIER: Transforms a one-to-many (or one-to-one) binary relationship type into a hierarchical relation. The 1-1 role becomes the child role. Inverse: DTD-HIER-to-RT Create-SEQ-GROUP: Adds a seq group to an entity type. That group contains the child roles played by its children (in an aleatory order). Inverse: Del-SEQ-GROUP

TU/e eindhoven university of technology / faculty of mathematics and informatics Exporting Databases in XML Converting (legacy) databases into DTD Exploiting as much as possible the meaning of source data Capturing the explicit and implicit structures and interconnections

TU/e eindhoven university of technology / faculty of mathematics and informatics Exporting Databases in XML Exporting Databases – Bottom-up approach (from the source to the target) – Semi-automated 4-step method Extraction of the database schema (automated) – Extraction of the explicit structures and constraints Semantics recovering (semi-automated) – Recovery of the implicit structures and constraints Model translation (semi-automated) – Translation of a schema expressed in the GER into a schema expressed in the GER DTD – Use of the relations among entities DTD exportation (automated) – Generation of the DTD document

TU/e eindhoven university of technology / faculty of mathematics and informatics Exporting Databases in XML Exporting XML – Reverse Engineering Recovering of the conceptual schema of an existing database – Augmentation of the knowledge about the data semantics – Database reverse engineering process (DB-MAIN) – Elicitation of hidden structures and constraints Database Schema Schema transformations Conceptual Schema

TU/e eindhoven university of technology / faculty of mathematics and informatics Exporting Databases in XML Exporting XML – Model Translation DTD-specific transformation Non-deterministic process – It requires some design choices – The user-inputs might have consequences on the properties and the semantics of the resulting schema 5-step transformation process – Schema preparation – Hierarchy structure creation – Constraint relaxation – Attribute representation – Ordering definition

TU/e eindhoven university of technology / faculty of mathematics and informatics Exporting Databases in XML Exporting XML – Model Translation Schema preparation – Removing invalid constructs » Multivalued/compound attributes » Complex relationship types Conceptual Schema 1.Schema preparation 2.Hierarchy structure creation 3.Constraint relaxation 4.Attribute representation 5.Ordering definition

TU/e eindhoven university of technology / faculty of mathematics and informatics Exporting Databases in XML Exporting XML – Model Translation Hierarchical structure creation Entity types, relationship types are transformed into a tree by electing natural roots (significant concepts) by resolving father conflicts by breaking cycles by (eventually) adding a unique root 1.Schema preparation 2.Hierarchy structure creation 3.Constraint relaxation 4.Attribute representation 5.Ordering definition

TU/e eindhoven university of technology / faculty of mathematics and informatics Exporting Databases in XML Exporting XML – Model Translation Constraint relaxation – Role cardinalities extension – Gid and idref groups creation 1.Schema preparation 2.Hierarchy structure creation 3.Constraint relaxation 4.Attribute representation 5.Ordering definition

TU/e eindhoven university of technology / faculty of mathematics and informatics Exporting Databases in XML Exporting XML – Model Translation 1.Schema preparation 2.Hierarchy structure creation 3.Constraint relaxation 4.Attribute representation 5.Ordering definition Attribute representation Ordering definition

TU/e eindhoven university of technology / faculty of mathematics and informatics Exporting Databases in XML CASE Support – DB-MAIN Model Expression Database models and DTD Model Translation DTD-specific transformation

TU/e eindhoven university of technology / faculty of mathematics and informatics Exporting Databases in XML CASE Support – DB-MAIN –Basic Features Dedicated to database application engineering Based on the GER Includes transformation operators, reverse engineering processors and schema analysis tools Extraction facilities (SQL, Codasyl, RPG, IMS, etc.)

TU/e eindhoven university of technology / faculty of mathematics and informatics Exporting Databases in XML CASE Support –*-to-DTD Transformation DTD-Specific transformations Assistant

TU/e eindhoven university of technology / faculty of mathematics and informatics Exporting Databases in XML Conclusions –Rich and expressive data model Translating semantics of both database and XML models –Non-deterministic aspect of the model translation The same database schema can lead to a large set of equivalent XML structures –CASE Support (application) Automatic production of XML documents –that comply with the DTD that has been computed –based on the schema transformations used to convert the database schema in XML DTD