Chapter 5 Mapping XML to Databases

Size: px
Start display at page:

Download "Chapter 5 Mapping XML to Databases"

Transcription

1 Chapter 5 Mapping XML to Databases Three Layer Architecture Text-based Storage Model-based Storage Structure-based Storage Hybrid Storage

2 Three Layer Architecture for Database Processing Conceptual Layer Logical Layer Physical Layer Abstract database schema e.g. ER schema Abstract Instances e.g. entities Concrete database schema e.g. table schema Concrete Instances e.g. tables and tuples Storage structures and access paths e.g. B-tree index Data sets in database pages Conceptual Layer: ERM, UML,... Logical Layer: relational model, NF2 model, OR model,... Physical Layer: internal storage, indexing, updates, transaction processing, query optimization 5-2

3 Three Layer Architecture for Document Processing Conceptual Layer Logical Layer Physical Layer Style sheet Document structure File Document Access structure e.g. full-text index Conceptual Layer: editors basic agreement on the document structure (intro before conclusions etc.) Logical Layer: document model, document instances Physical Layer: internal storage, document indexing, query processing 5-3

4 Three Layer Architecture for XML Processing Conceptual Layer Logical Layer Physical Layer <..> </..> <..>? </..> <..> </..> Document structure e.g. XML schema XML documents, XML elements Storage structure Access structure Conceptual Layer: XML schema, DTD Logical Layer: XML documents, XML elements, etc. Physical Layer - Storage: Single file inappropriate for large document collections Hot to store large XML documents? How to support queries efficiently? 5-4

5 Types of XML Documents Structured regular example: product catalogue, orders, invoices data-centric applications Unstructured irregular example: articles, books, s, Web pages document-centric applications <order> <customer>meyer</customer> <position> <isbn> </isbn> <number>2</number> <price currency="euro">30.00</price> </position> </order> <content> XML builds on the principles of two existing languages, <em>html</em> and <em>sgml</em> to create a simple mechanism... The generalized markup concept... </content> Semi-structured structured and unstructured parts example: publications, Amazon, MS Press (example chapters) <book> <author>neil Bradley</author> <title>xml companion</title> <isbn> </isbn> <content> XML builds on the principles of two existing languages, <em>html</em> and... </content> </book> 5-5

6 Three Layer Architecture and XML Document Types document-centric semi-structured data-centric Conceptual Layer Modeling structure and content Tree-based editors Modeling structure and content XML Modeling structure ER, UML Document model Data and document model Data model Logical Layer Queries/Updates on structure and content XML, SGML Queries/Updates on structure and content XML, OEM Queries/Updates on content XML, RDM, OODM XPath/XQuery, DOM, IR queries XPath/XQuery, XIRQL XQuery, SQL, OQL Physical Layer Structure on instance level Files and full-text indexes, structure indexes Structure on schema and instance level Semi-structured databases and full-text indexes, path indexes Structure on schema level (Object-)Relational databases and B-tree / hash indexes 5-6

7 Requirements on the Physical Layer Order preserving and lossless storage of XML documents Efficient access to XML documents and selected document parts Short response times for Queries Updates Physical design of the storage layer Indexing Transaction processing Support for XPath/XQuery Support for XML processors such as DOM and SAX 5-7

8 Storage Strategies for XML Documents 1. Text-based Store XML document as string 2. Model-based Store XML graph structure and DOM informations 3. Structure-based Derive database schema from XML structure Custom mapping of XML structure to database schema 5-8

9 Text-based Storage Entire XML document stored as File in the file system CLOB (Character Large Object) in a database system Id Content 1 <book genre="autobiography"> <title>the Autobiography of Benjamin Franklin</title> <author> <first-name>benjamin</first-name> <last-name>franklin</last-name> </author> <price currency="usd">8.99</price> </book> Operations (read/write) on entire XML document are efficient No explicit support for more fine-granule access; use of indexes required! Full-text index Path indexes 5-9

10 Summary Text-based Storage Schema Not required Document reconstruction Not needed since documents are stored entirely as string Queries Information Retrieval queries XML queries possible Further Specifics Full-text functionality Efficiency String must be parsed at access time time-consuming No concurrency for read and write operations no parallel executions Application area Document-centric XML applications Storing semi-structured XML documents 5-10

11 Model-based Storage Generic storage of XML document tree XML elements, XML attributes, etc. are nodes of tree Store XML elements/attributes in corresponding database tables Element ID Name Value Parent Element Position Attribute ID Name Value Parent Element Extensions for adequate storage of different data types possible 5-11

12 Model-based Storage: EDGE, BINARY XML title store auction 5.20 XML documents price Stars title store auction BINARY variant: horizontal partitioning of EDGE along the values of the column label price CREATE TABLE edge ( id INTEGER NOT NULL, doc INTEGER NOT NULL, -- document id parent INTEGER, label VARCHAR(30) NOT NULL, content VARCHAR(100), nodetype VARCHAR(20) NOT NULL, pos INTEGER,-- element position PRIMARY KEY (id, doc), UNIQUE (parent, pos), CHECK (nodetype<>ˈattributeˈ and pos is null) ); id doc parent label content nodetype pos 1 1 null store null element auction null element title XML element price 5.20 element null store null element auction null element title Stars element price element

13 Model-based Storage: Queries XML queries XQuery SQL DB XML (XPath, XQuery) queries internally transformed to SQL queries XML query result derived from the SQL result Labelling of the resulting tuples Result must be an XML value Example: Get the description of all auctions that have a price less than 10 SELECT a.content, b.content FROM Edge a, Edge b WHERE (a.label = 'price') AND (a.content < 10.00) AND (b.label = 'title') AND (b.parent = a.parent) AND (a.doc = b.doc) id doc parent label content nodetype pos 1 1 null store null element auction null element title XML element price 5.20 element null store null element auction null element title Stars element price element

14 Model-based Storage: DOM (1) DOMImplementation Node NodeList NamedNodeMap Information of the Document Object Model stored in a database Attr CharacterData Comment Text CDataSection Document DocumentFragment DocumentType Element Entity EntityReference Notation ProcessingInstruction 5-14

15 Model-based Storage: DOM (2) Node type: ELEMENT 1 book Node type: ATTRIBUTE 2 title 3 price NodeID NodeType DocID ParentNode 1 ELEMENT 1 NULL 2 ELEMENT ATTRIBUTE TEXT 1 2 NodeID TagName NodeID Content The Autobiography of Benjamin Franklin book 2 title 4 The Auto... Node type: TEXT NodeID PreviousSibling NextSibling FirstChild 1 NULL NULL 2 2 NULL NULL 4 3 NULL NULL NULL NodeID ElementID AttributeName AttributeValue 3 1 price

16 Model-based Storage: DOM Methods XML queries DOM SQL DB XML queries (DOM method calls) mapped to corresponding SQL queries Result of the method call derived from the result of the SQL query 5-16

17 Summary Model-based Storage Schema Not required Document reconstruction Possible but expensive Queries XML queries possible Adapted database queries Queries over many elements/attributes are expensive Efficiency Context-based navigation is efficient Document reconstruction expensive Path expression evaluation inefficient Application area Data-centric Document-centric Semi-structured 5-17

18 Structure-based Storage Idea: Shred XML documents and map the parts to corresponding database structures If available derive database schema from a DTD or XML schema Tolerate loss of native XML access Problem Automatic generation of database schema Exploiting structure information in queries Example: Basic mapping from a DTD to a database schema Transform DTD in tree representation Nodes represent element types, attributes, etc., i.e., the type layer! Edges represent relationships between element types as well as certain restrictions 5-18

19 Mapping DTD to Databases Rules for mapping element types: XML element type table column Sequence of element types table column Alternative of element types table column Element type with quantifier? table column allowing nulls Element type with quantifier +,* set/list-valued table column Nested element type tuple-valued table column Rules for mapping attributes: XML attribute table column IMPLIED NULLABLE REQUIRED NOT NULLABLE Default value DEFAULT Constraint 5-19

20 Mapping XML onto Relational Databases <hotel> <name>eden</name> <address> <zip>8008</zip> <city>zurich</city> <street>bellerive</street> <no>12</no> </address> <phone> </phone> <phone> </phone> </hotel> Schema typically needed Queries use SQL RDBMS data types Hotel Variant 1 Id Name Zip City Street No 1 Eden 8008 Zurich Bellerive 12 Phone Id Text Hotel Hotel Variant 2 Id Name Address 1 Eden 101 Address Id Zip City Street No Zurich Bellerive 12 Mapping collection types to separate tables Mapping tuple types implicitly (Variant1; tuple structure lost) or separately (Variant 2) 5-20

21 Mapping XML onto Object-Relational Databases <hotel> <name>eden</name> <address> <zip>8008</zip> <city>zurich</city> <street>bellerive</street> <no>12</no> </address> <phone> </phone> <phone> </phone> </hotel> Hotel ID Name <Address> {Phone} Zip City Street No 1 Eden 8008 Zurich Bellerive 12 { , } Schema typically required Queries use SQL Straight-forward mapping of tuple and collection types to corresponding database data types 5-21

22 Mapping XML onto Object-Relational Databases (2) XML-DTD <!ELEMENT book (title, author+, edition?, publisher)> <!ATTLIST book isbn CDATA #REQUIRED> <!ELEMENT title (#PCDATA)> <!ELEMENT author (first, last)> <!ELEMENT first (#PCDATA)> <!ELEMENT last (#PCDATA)> <!ELEMENT edition (#PCDATA)> <!ELEMENT publisher (#PCDATA)> Informix-Syntax: CREATE TABLE book ( isbn VARCHAR(20) NOT NULL, title VARCHAR(100) NOT NULL, author LIST(ROW( first VARCHAR(30), last VARCHAR(50)) NOT NULL), edition INTEGER, publisher VARCHAR(100) NOT NULL, ); ISBN Title {<Author>} Edition Publisher First Last XML & Databases Meike Klettke 1 dpunkt Holger Meyer Problem: Map to an SQL schema that allows only XML documents which are valid w.r.t. the given DTD 5-22

23 Mapping XML Alternatives XML DTD supports alternatives Example: <!ELEMENT author (name ((first-name, last-name)))> Mapping variants: 1. Each alternative is mapped to a separate column of a common table Parse tables with many null values 2. Each alternative is mapped to a separate table Queries require union over several tables 3. Map to a single table column of type XML <author> <first-name>benjamin</first-name> <last-name>franklin</last-name> </author> <author> <first-name>herman</first-name> <last-name>melville</last-name> </author> <author> <name>plato</name> </author> Variant 1 Variant 2 Name FirstName LastName NULL Benjamin Franklin NULL Herman Melville Plato NULL NULL Name FirstName LastName Plato Benjamin Franklin Herman Melville 5-23

24 Mapping Recursive XML Elements XML DTD supports recursive XML elements In database no endless recursion on instance level possible Example: <!ELEMENT book (front, body, references)> <!ELEMENT references (book+)> <book>... <references> <book>... <references>... </references> </book> </references> </book> book <references> book references ID book references Solution: Map recursive XML elements to corresponding tables for each element type and use primary/foreign keys and reference types, respectively, to connect these tables 5-24

25 Mapping XML Element Ordering Ordering is relevant in XML; must therefore preserved Simple mapping rule: Add additional table column to hold the position of each element Example: <book> <chapter>introduction</chapter> <chapter>basic</chapter> <chapter>concept</chapter> <chapter>example</chapter> <chapter>conclusions</chapter> </book> Chapter Position Introduction 1 Basics 2 Concept 3 Example 4 Conclusions

26 Mapping ANY, Mixed Content No explicit representation available for content model ANY Appropriate storage structure can only be selected on the instance level Use text-based storage variants for mixed content 1. One column for entire document MixedContent <description> Reach us at FGCZ: <tram>10 min from SBB Zurich</tram> <car>20 min from SBB Zurich</car> Check </description> 2. Separate columns for reoccurring element types Position #PCDATA Tram Car 1 Reach us at FGCZ: NULL NULL 2 NULL 10 min from SBB Zurich NULL 3 NULL NULL 20 min from SBB Zurich 4 Check NULL NULL 5-26

27 STORED: Semi-structured TO Relational Data Mapping with STORED Basic idea: apply data mining on XML documents to get a good mapping onto database tables Approach: Input XML documents (at least a representative probe of the given XML document collection) Query workload Restrictions: hard disk space, number of database tables, etc. Output Relational database schema STORED queries: rules for XML documents onto database tables Algorithm Determine the parts of the XML tree parts that have the highest support in the document collection and queries These tree parts are explicitly mapped onto own tables Irregular data mapped onto common table Overflow which is stored using the EDGE approach Neither DTD nor XML schema required 5-27

28 Mapping with STORED: Example Tree parts with high support store auction XML documents store auction STORED query FROM '//auction' { 'title' : v1 'price' : v 2 } STORE auction(v 1,v 2 ) title price title price unusual Side Table auction doc title price XML 5.20 Stars XYZ 1 XML Stars Overflow Table doc ordinal name datatype value 2 3 unusual string XYZ 5-28

29 Structure-based Storage: Querying XML queries XQuery SQL DB XML (XQuery) queries mapped to corresponding SQL queries Mapping XML query to database query must be generated automatically Process of mapping XML documents onto databases must be logged Database query results must be mapped XML query results 1-29

30 Structure-based Storage with Automatic Mapping Schema Required for DTD/XML schema mapping Not needed in case of STORED Document reconstruction Logging mapping process including inverse mapping required not always possible Queries Database queries XML queries No full-text operations Usually no native access Further Specifics Big schema weakly filled database tables (many null values) No flexible data types, no explicit storage support for alternatives Efficiency High due to full exploitation of the DBMS Application area Data-centric XML applications 5-30

31 Structure-based Storage with Custom Mapping User determines storage structures using custom mapping rules XML document structure and database schema can be designed independently Example: Price <Hotel url=" <Name>Eden</Name> <Address> <Zip>8008</Zip> <City>Zurich</City> <Street>Bellerive</Street> <No>12</No> </Address> <Price>198</Price> </Hotel> Hotel CHF Link Eden <ClassMap> <ElementType Name="Hotel"/> <ToClassTable> <Table Name="Price"> </ToClassTable> <PropertyMap> <Element Name="Name"/> <ToColumn Name="Hotel" /> </PropertyMap> <PropertyMap> <Element Name="Price"/> <ToColumn Name="CHF" /> </PropertyMap> <PropertyMap> <Attribute Name="url"/> <ToColumn Name="Link" /> </PropertyMap> </ClassMap> XML queries possible if inverse mapping rules can be derived from the logged mapping rules Inappropriate if full document reconstruction is required! 5-31

32 Summary Structure-based Storage with Custom Mapping Schema Required Document reconstruction Requires inverse mappings Usually not possible Efficiency High due to DBMS Application area Data-centric applications Queries Database queries XML queries possible in restricted cases 5-32

33 Hybrid Storage Text-based Storage Model-based Storage Structure-based Storage Full-Text Index Full-Text Index and XML Index Standard Mapping Custom Mapping Shredding Degree document-centric semi-structured data-centric Detecting data-centric and document-centric document parts Use different storage approaches for the different document parts 1-33

34 Hybrid Storage XML documents with data-centric and document-centric parts are difficult to map Storage strategies for data-centric parts inappropriate for document-centric parts and vice versa None approach satisfies all requirements Hybrid storage: use different storage models for different document parts Combining text-based and structure-based storage Combining structure-based storage and database type XML Structured parts mapped to object-relational structures Unstructured parts mapped to objects of type XML Problem: Detecting and separating structured from irregular document parts Basic idea of a hybrid approach to create a database schema Build DTD or XML schema graph For each graph node, determine a mass representing the significance of the node Set shredding degree to determine granularity of resulting database schema Derive table columns of type XML Map structured document parts onto corresponding object-relational structures 5-34

35 Conclusions Mapping Strategies for Storing XML Documents Text-based Store entire XML document as string Plus full-text and/or path indexing Model-based Store the XML graph model Structure-based Analyze structure of XML documents to derive a database schema from the XML structure Hybrid Combination of strategies above No one-fits-all solution! Appropriate storage solution mainly depends on the application area! 5-35

Chapter 6 Mapping Databases to XML

Chapter 6 Mapping Databases to XML Chapter 6 Mapping Databases to XML Standard Mapping of Tables Standard Mapping of Query Results Individual Mapping Rules Motivation Databases widely used Huge data volumes available Use XML as format for

More information

Chapter 13 XML: Extensible Markup Language

Chapter 13 XML: Extensible Markup Language Chapter 13 XML: Extensible Markup Language - Internet applications provide Web interfaces to databases (data sources) - Three-tier architecture Client V Application Programs Webserver V Database Server

More information

XML Databases 10. XML Storage 1 Overview

XML Databases 10. XML Storage 1 Overview XML Databases 10. XML Storage 1 Overview Silke Eckstein Andreas Kupfer Institut für Informationssysteme Technische Universität Braunschweig http://www.ifis.cs.tu-bs.de 10. XML Storage 1 10.1 Motivation

More information

Introduction to Database Systems CSE 414

Introduction to Database Systems CSE 414 Introduction to Database Systems CSE 414 Lecture 14-15: XML CSE 414 - Spring 2013 1 Announcements Homework 4 solution will be posted tomorrow Midterm: Monday in class Open books, no notes beyond one hand-written

More information

10/24/12. What We Have Learned So Far. XML Outline. Where We are Going Next. XML vs Relational. What is XML? Introduction to Data Management CSE 344

10/24/12. What We Have Learned So Far. XML Outline. Where We are Going Next. XML vs Relational. What is XML? Introduction to Data Management CSE 344 What We Have Learned So Far Introduction to Data Management CSE 344 Lecture 12: XML and XPath A LOT about the relational model Hand s on experience using a relational DBMS From basic to pretty advanced

More information

Introduction to Data Management CSE 344

Introduction to Data Management CSE 344 Introduction to Data Management CSE 344 Lecture 11: XML and XPath 1 XML Outline What is XML? Syntax Semistructured data DTDs XPath 2 What is XML? Stands for extensible Markup Language 1. Advanced, self-describing

More information

XML Technologies. Doc. RNDr. Irena Holubova, Ph.D. Web page:

XML Technologies. Doc. RNDr. Irena Holubova, Ph.D. Web page: XML Technologies Doc. RNDr. Irena Holubova, Ph.D. holubova@ksi.mff.cuni.cz Web page: http://www.ksi.mff.cuni.cz/~holubova/nprg036/ Outline Introduction to XML format, overview of XML technologies DTD XML

More information

Module 4. Implementation of XQuery. Part 2: Data Storage

Module 4. Implementation of XQuery. Part 2: Data Storage Module 4 Implementation of XQuery Part 2: Data Storage Aspects of XQuery Implementation Compile Time + Optimizations Operator Models Query Rewrite Runtime + Query Execution XML Data Representation XML

More information

Chapter 11 Objectives

Chapter 11 Objectives Chapter 11: The XML Document Model (DOM) 1 Chapter 11 Objectives What is DOM? What is the purpose of the XML Document Object Model? How the DOM specification was developed at W3C About important XML DOM

More information

Copyright 2007 Ramez Elmasri and Shamkant B. Navathe. Slide 27-1

Copyright 2007 Ramez Elmasri and Shamkant B. Navathe. Slide 27-1 Slide 27-1 Chapter 27 XML: Extensible Markup Language Chapter Outline Introduction Structured, Semi structured, and Unstructured Data. XML Hierarchical (Tree) Data Model. XML Documents, DTD, and XML Schema.

More information

Introduction to XML. Yanlei Diao UMass Amherst April 17, Slides Courtesy of Ramakrishnan & Gehrke, Dan Suciu, Zack Ives and Gerome Miklau.

Introduction to XML. Yanlei Diao UMass Amherst April 17, Slides Courtesy of Ramakrishnan & Gehrke, Dan Suciu, Zack Ives and Gerome Miklau. Introduction to XML Yanlei Diao UMass Amherst April 17, 2008 Slides Courtesy of Ramakrishnan & Gehrke, Dan Suciu, Zack Ives and Gerome Miklau. 1 Structure in Data Representation Relational data is highly

More information

Introduction to Database Systems CSE 414

Introduction to Database Systems CSE 414 Introduction to Database Systems CSE 414 Lecture 13: XML and XPath 1 Announcements Current assignments: Web quiz 4 due tonight, 11 pm Homework 4 due Wednesday night, 11 pm Midterm: next Monday, May 4,

More information

XML in Databases. Albrecht Schmidt. al. Albrecht Schmidt, Aalborg University 1

XML in Databases. Albrecht Schmidt.   al. Albrecht Schmidt, Aalborg University 1 XML in Databases Albrecht Schmidt al@cs.auc.dk http://www.cs.auc.dk/ al Albrecht Schmidt, Aalborg University 1 What is XML? (1) Where is the Life we have lost in living? Where is the wisdom we have lost

More information

Document Object Model (DOM) A brief introduction. Overview of DOM. .. DATA 301 Introduction to Data Science Alexander Dekhtyar..

Document Object Model (DOM) A brief introduction. Overview of DOM. .. DATA 301 Introduction to Data Science Alexander Dekhtyar.. .. DATA 301 Introduction to Data Science Alexander Dekhtyar.. Overview of DOM Document Object Model (DOM) A brief introduction Document Object Model (DOM) is a collection of platform-independent abstract

More information

Web architectures Laurea Specialistica in Informatica Università di Trento. DOM architecture

Web architectures Laurea Specialistica in Informatica Università di Trento. DOM architecture DOM architecture DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); dbf.setvalidating(true); // optional default is non-validating DocumentBuilder db = dbf.newdocumentbuilder(); Document

More information

XML: Extensible Markup Language

XML: Extensible Markup Language XML: Extensible Markup Language CSC 375, Fall 2015 XML is a classic political compromise: it balances the needs of man and machine by being equally unreadable to both. Matthew Might Slides slightly modified

More information

XML Technical Overview. Bill Arledge, Consulting Product Manager BMC Software Inc.

XML Technical Overview. Bill Arledge, Consulting Product Manager BMC Software Inc. XML Technical Overview Bill Arledge, Consulting Product Manager BMC Software Inc. 11/10/2008 Agenda What is XML? Why is XML important to your business? PureXML in DB2 9 Physical implementation The logical

More information

Introduction to XML (Extensible Markup Language)

Introduction to XML (Extensible Markup Language) Introduction to XML (Extensible Markup Language) 1 History and References XML is a meta-language, a simplified form of SGML (Standard Generalized Markup Language) XML was initiated in large parts by Jon

More information

XML in the Development of Component Systems. The Document Object Model

XML in the Development of Component Systems. The Document Object Model XML in the Development of Component Systems The Document Object Model DOM Overview Developed to support dynamic HTML Provide a standard tree interface to document structure across browsers, for use in

More information

Query Engines for Web-Accessible XML Data

Query Engines for Web-Accessible XML Data Query Engines for Web-Accessible XML Data Leonidas Fegaras Ramez Elmasri University of Texas at Arlington Fegaras & Elmasri CSE @ UTA 1 I will present: Adding XML Support to an OODB an extension to ODMG

More information

XML. Rodrigo García Carmona Universidad San Pablo-CEU Escuela Politécnica Superior

XML. Rodrigo García Carmona Universidad San Pablo-CEU Escuela Politécnica Superior XML Rodrigo García Carmona Universidad San Pablo-CEU Escuela Politécnica Superior XML INTRODUCTION 2 THE XML LANGUAGE XML: Extensible Markup Language Standard for the presentation and transmission of information.

More information

Approaches. XML Storage. Storing arbitrary XML. Mapping XML to relational. Mapping the link structure. Mapping leaf values

Approaches. XML Storage. Storing arbitrary XML. Mapping XML to relational. Mapping the link structure. Mapping leaf values XML Storage CPS 296.1 Topics in Database Systems Approaches Text files Use DOM/XSLT to parse and access XML data Specialized DBMS Lore, Strudel, exist, etc. Still a long way to go Object-oriented DBMS

More information

M359 Block5 - Lecture12 Eng/ Waleed Omar

M359 Block5 - Lecture12 Eng/ Waleed Omar Documents and markup languages The term XML stands for extensible Markup Language. Used to label the different parts of documents. Labeling helps in: Displaying the documents in a formatted way Querying

More information

Introduction to Database Systems CSE 444

Introduction to Database Systems CSE 444 Introduction to Database Systems CSE 444 Lecture 25: XML 1 XML Outline XML Syntax Semistructured data DTDs XPath Coverage of XML is much better in new edition Readings Sections 11.1 11.3 and 12.1 [Subset

More information

MaanavaN.Com DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING QUESTION BANK

MaanavaN.Com DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING QUESTION BANK CS1301 DATABASE MANAGEMENT SYSTEM DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING QUESTION BANK Sub code / Subject: CS1301 / DBMS Year/Sem : III / V UNIT I INTRODUCTION AND CONCEPTUAL MODELLING 1. Define

More information

Part XII. Mapping XML to Databases. Torsten Grust (WSI) Database-Supported XML Processors Winter 2008/09 321

Part XII. Mapping XML to Databases. Torsten Grust (WSI) Database-Supported XML Processors Winter 2008/09 321 Part XII Mapping XML to Databases Torsten Grust (WSI) Database-Supported XML Processors Winter 2008/09 321 Outline of this part 1 Mapping XML to Databases Introduction 2 Relational Tree Encoding Dead Ends

More information

XML and Databases. Spring Semester Thursday, 08:15-9:45, BIN-2.A.10. Dr. Can Türker (Functional Genomics Center Zurich)

XML and Databases. Spring Semester Thursday, 08:15-9:45, BIN-2.A.10. Dr. Can Türker (Functional Genomics Center Zurich) XML and Databases Spring Semester 2018 Date: Lecturer: Email: WWW: Thursday, 08:15-9:45, BIN-2.A.10 Dr. Can Türker (Functional Genomics Center Zurich) tuerker@fgcz.ethz.ch http://www.ifi.uzh.ch/dbtg/teaching/courses/xmlanddatabases.html

More information

Data Presentation and Markup Languages

Data Presentation and Markup Languages Data Presentation and Markup Languages MIE456 Tutorial Acknowledgements Some contents of this presentation are borrowed from a tutorial given at VLDB 2000, Cairo, Agypte (www.vldb.org) by D. Florescu &.

More information

Text Properties and Languages

Text Properties and Languages Text Properties and Languages 1 Statistical Properties of Text How is the frequency of different words distributed? How fast does vocabulary size grow with the size of a corpus? Such factors affect the

More information

CS145 Introduction. About CS145 Relational Model, Schemas, SQL Semistructured Model, XML

CS145 Introduction. About CS145 Relational Model, Schemas, SQL Semistructured Model, XML CS145 Introduction About CS145 Relational Model, Schemas, SQL Semistructured Model, XML 1 Content of CS145 Design of databases. E/R model, relational model, semistructured model, XML, UML, ODL. Database

More information

CS561 Spring Mixed Content

CS561 Spring Mixed Content Mixed Content DTDs define mixed content by mixing #PCDATA into the content model DTDs always require mixed content to use the form (#PCDATA a b )* the occurrence of elements in mixed content cannot be

More information

Overview. Structured Data. The Structure of Data. Semi-Structured Data Introduction to XML Querying XML Documents. CMPUT 391: XML and Querying XML

Overview. Structured Data. The Structure of Data. Semi-Structured Data Introduction to XML Querying XML Documents. CMPUT 391: XML and Querying XML Database Management Systems Winter 2004 CMPUT 391: XML and Querying XML Lecture 12 Overview Semi-Structured Data Introduction to XML Querying XML Documents Dr. Osmar R. Zaïane University of Alberta Chapter

More information

Chapter 4. XML Query Languages. Foundations XML Path Language (XPath) 2.0 XQuery 1.0: An XML Query Language XIRQL

Chapter 4. XML Query Languages. Foundations XML Path Language (XPath) 2.0 XQuery 1.0: An XML Query Language XIRQL Chapter 4 XML Query Languages Foundations XML Path Language (XPath) 2.0 XQuery 1.0: An XML Query Language XIRQL History SQL OQL UnQL Lorel 1998 XSLT XQL XML-QL XML 1.0 DOM 1999 XPath 1.0 2000 Quilt 2001

More information

SYBEX Web Appendix. DOM Appendix: The Document Object Model, Level 1

SYBEX Web Appendix. DOM Appendix: The Document Object Model, Level 1 SYBEX Web Appendix XML Complete DOM Appendix: The Document Object Model, Level 1 Copyright 2001 SYBEX Inc., 1151 Marina Village Parkway, Alameda, CA 94501. World rights reserved. No part of this publication

More information

Additional Readings on XPath/XQuery Main source on XML, but hard to read:

Additional Readings on XPath/XQuery Main source on XML, but hard to read: Introduction to Database Systems CSE 444 Lecture 10 XML XML (4.6, 4.7) Syntax Semistructured data DTDs XML Outline April 21, 2008 1 2 Further Readings on XML Additional Readings on XPath/XQuery Main source

More information

XML databases. Jan Chomicki. University at Buffalo. Jan Chomicki (University at Buffalo) XML databases 1 / 9

XML databases. Jan Chomicki. University at Buffalo. Jan Chomicki (University at Buffalo) XML databases 1 / 9 XML databases Jan Chomicki University at Buffalo Jan Chomicki (University at Buffalo) XML databases 1 / 9 Outline 1 XML data model 2 XPath 3 XQuery Jan Chomicki (University at Buffalo) XML databases 2

More information

Semistructured Data and XML

Semistructured Data and XML Semistructured Data and XML Computer Science E-66 Harvard University David G. Sullivan, Ph.D. Structured Data The logical models we've covered thus far all use some type of schema to define the structure

More information

Delivery Options: Attend face-to-face in the classroom or remote-live attendance.

Delivery Options: Attend face-to-face in the classroom or remote-live attendance. XML Programming Duration: 5 Days Price: $2795 *California residents and government employees call for pricing. Discounts: We offer multiple discount options. Click here for more info. Delivery Options:

More information

Relational Database Features

Relational Database Features Relational Features s Why has the relational model been so successful? Data independence High level query language - SQL Query optimisation Support for integrity constraints Well-understood database design

More information

Data Formats and APIs

Data Formats and APIs Data Formats and APIs Mike Carey mjcarey@ics.uci.edu 0 Announcements Keep watching the course wiki page (especially its attachments): https://grape.ics.uci.edu/wiki/asterix/wiki/stats170ab-2018 Ditto for

More information

XML and Databases. Outline. Outline - Lectures. Outline - Assignments. from Lecture 3 : XPath. Sebastian Maneth NICTA and UNSW

XML and Databases. Outline. Outline - Lectures. Outline - Assignments. from Lecture 3 : XPath. Sebastian Maneth NICTA and UNSW Outline XML and Databases Lecture 10 XPath Evaluation using RDBMS 1. Recall / encoding 2. XPath with //,, @, and text() 3. XPath with / and -sibling: use / size / level encoding Sebastian Maneth NICTA

More information

XML and Relational Databases

XML and Relational Databases XML and Relational Databases Leonidas Fegaras University of Texas at Arlington Web Data Management and XML L8: XML and Relational Databases 1 Two Approaches XML Publishing treats existing relational data

More information

CSCI3030U Database Models

CSCI3030U Database Models CSCI3030U Database Models CSCI3030U RELATIONAL MODEL SEMISTRUCTURED MODEL 1 Content Design of databases. relational model, semistructured model. Database programming. SQL, XPath, XQuery. Not DBMS implementation.

More information

XML Basics for Web Services

XML Basics for Web Services XML Basics for Web Services Worflows und Web Services Kapitel 2 1 XML Origin and Usages Defined by the WWW Consortium (W3C) Originally intended as a document markup language not a database language Documents

More information

Introduction to Semistructured Data and XML. Overview. How the Web is Today. Based on slides by Dan Suciu University of Washington

Introduction to Semistructured Data and XML. Overview. How the Web is Today. Based on slides by Dan Suciu University of Washington Introduction to Semistructured Data and XML Based on slides by Dan Suciu University of Washington CS330 Lecture April 8, 2003 1 Overview From HTML to XML DTDs Querying XML: XPath Transforming XML: XSLT

More information

CSE 544 Principles of Database Management Systems. Fall 2016 Lecture 4 Data models A Never-Ending Story

CSE 544 Principles of Database Management Systems. Fall 2016 Lecture 4 Data models A Never-Ending Story CSE 544 Principles of Database Management Systems Fall 2016 Lecture 4 Data models A Never-Ending Story 1 Announcements Project Start to think about class projects More info on website (suggested topics

More information

DSE 203 DAY 1: REVIEW OF DBMS CONCEPTS

DSE 203 DAY 1: REVIEW OF DBMS CONCEPTS DSE 203 DAY 1: REVIEW OF DBMS CONCEPTS Data Models A specification that precisely defines The structure of the data The fundamental operations on the data The logical language to specify queries on the

More information

Indexing XML Data Stored in a Relational Database

Indexing XML Data Stored in a Relational Database Indexing XML Data Stored in a Relational Database Shankar Pal, Istvan Cseri, Oliver Seeliger, Gideon Schaller, Leo Giakoumakis, Vasili Zolotov VLDB 200 Presentation: Alex Bradley Discussion: Cody Brown

More information

CS145 Midterm Examination

CS145 Midterm Examination CS145 Midterm Examination Spring 2002, Prof. Widom Please read all instructions (including these) carefully. There are 9 problems on the exam, with a varying number of points for each problem and subproblem

More information

Part V. Relational XQuery-Processing. Marc H. Scholl (DBIS, Uni KN) XML and Databases Winter 2007/08 297

Part V. Relational XQuery-Processing. Marc H. Scholl (DBIS, Uni KN) XML and Databases Winter 2007/08 297 Part V Relational XQuery-Processing Marc H Scholl (DBIS, Uni KN) XML and Databases Winter 2007/08 297 Outline of this part (I) 12 Mapping Relational Databases to XML Introduction Wrapping Tables into XML

More information

Delivery Options: Attend face-to-face in the classroom or via remote-live attendance.

Delivery Options: Attend face-to-face in the classroom or via remote-live attendance. XML Programming Duration: 5 Days US Price: $2795 UK Price: 1,995 *Prices are subject to VAT CA Price: CDN$3,275 *Prices are subject to GST/HST Delivery Options: Attend face-to-face in the classroom or

More information

XML Technologies. Doc. RNDr. Irena Holubova, Ph.D. Web pages:

XML Technologies. Doc. RNDr. Irena Holubova, Ph.D. Web pages: XML Technologies Doc. RNDr. Irena Holubova, Ph.D. holubova@ksi.mff.cuni.cz Web pages: http://www.ksi.mff.cuni.cz/~holubova/nprg036/ Outline Introduction to XML format, overview of XML technologies DTD

More information

Fundamentals of Physical Design: State of Art

Fundamentals of Physical Design: State of Art Fundamentals of Physical Design: State of Art David Toman D. R. Cheriton School of Computer Science D. Toman (Waterloo) Physical Design: State of Art 1 / 13 Benefits of Database Technology 1 High-level/declarative

More information

CSE 544 Principles of Database Management Systems. Lecture 4: Data Models a Never-Ending Story

CSE 544 Principles of Database Management Systems. Lecture 4: Data Models a Never-Ending Story CSE 544 Principles of Database Management Systems Lecture 4: Data Models a Never-Ending Story 1 Announcements Project Start to think about class projects If needed, sign up to meet with me on Monday (I

More information

XML and Databases. Lecture 10 XPath Evaluation using RDBMS. Sebastian Maneth NICTA and UNSW

XML and Databases. Lecture 10 XPath Evaluation using RDBMS. Sebastian Maneth NICTA and UNSW XML and Databases Lecture 10 XPath Evaluation using RDBMS Sebastian Maneth NICTA and UNSW CSE@UNSW -- Semester 1, 2009 Outline 1. Recall pre / post encoding 2. XPath with //, ancestor, @, and text() 3.

More information

COMP9321 Web Application Engineering

COMP9321 Web Application Engineering COMP9321 Web Application Engineering Semester 2, 2015 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 4 http://webapps.cse.unsw.edu.au/webcms2/course/index.php?cid=2411 1 Extensible

More information

7.1 Introduction. extensible Markup Language Developed from SGML A meta-markup language Deficiencies of HTML and SGML

7.1 Introduction. extensible Markup Language Developed from SGML A meta-markup language Deficiencies of HTML and SGML 7.1 Introduction extensible Markup Language Developed from SGML A meta-markup language Deficiencies of HTML and SGML Lax syntactical rules Many complex features that are rarely used HTML is a markup language,

More information

XML SCHEMA INFERENCE WITH XSLT

XML SCHEMA INFERENCE WITH XSLT XML SCHEMA INFERENCE WITH XSLT By SCOTT MCCOLLUM BUNTIN A THESIS PRESENTED TO THE GRADUATE SCHOOL OF THE UNIVERSITY OF FLORIDA IN PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR THE DEGREE OF MASTER OF SCIENCE

More information

Welcome to. Software Belux Techical Symposium November 14, Information Management

Welcome to. Software Belux Techical Symposium November 14, Information Management Welcome to Software Belux Techical Symposium November 14, 2006 Stefan Van den Borre, IT specialist, Database & Integration Services +32.2.655.55.88 +32.486.64.21.56 Stefan.vandenborre@be.ibm.com DB2 9

More information

DC62 Database management system JUNE 2013

DC62 Database management system JUNE 2013 Q2 (a) Explain the differences between conceptual & external schema. Ans2 a. Page Number 24 of textbook. Q2 (b) Describe the four components of a database system. A database system is composed of four

More information

The XQuery Data Model

The XQuery Data Model The XQuery Data Model 9. XQuery Data Model XQuery Type System Like for any other database query language, before we talk about the operators of the language, we have to specify exactly what it is that

More information

XML and Web Services

XML and Web Services XML and Web Services Lecture 8 1 XML (Section 17) Outline XML syntax, semistructured data Document Type Definitions (DTDs) XML Schema Introduction to XML based Web Services 2 Additional Readings on XML

More information

The concept of DTD. DTD(Document Type Definition) Why we need DTD

The concept of DTD. DTD(Document Type Definition) Why we need DTD Contents Topics The concept of DTD Why we need DTD The basic grammar of DTD The practice which apply DTD in XML document How to write DTD for valid XML document The concept of DTD DTD(Document Type Definition)

More information

XML: Managing with the Java Platform

XML: Managing with the Java Platform In order to learn which questions have been answered correctly: 1. Print these pages. 2. Answer the questions. 3. Send this assessment with the answers via: a. FAX to (212) 967-3498. Or b. Mail the answers

More information

PART. Oracle and the XML Standards

PART. Oracle and the XML Standards PART I Oracle and the XML Standards CHAPTER 1 Introducing XML 4 Oracle Database 10g XML & SQL E xtensible Markup Language (XML) is a meta-markup language, meaning that the language, as specified by the

More information

Index-Driven XQuery Processing in the exist XML Database

Index-Driven XQuery Processing in the exist XML Database Index-Driven XQuery Processing in the exist XML Database Wolfgang Meier wolfgang@exist-db.org The exist Project XML Prague, June 17, 2006 Outline 1 Introducing exist 2 Node Identification Schemes and Indexing

More information

Databases. Jörg Endrullis. VU University Amsterdam

Databases. Jörg Endrullis. VU University Amsterdam Databases Jörg Endrullis VU University Amsterdam Databases A database (DB) is a collection of data with a certain logical structure a specific semantics a specific group of users Databases A database (DB)

More information

Motivation and basic concepts Storage Principle Query Principle Index Principle Implementation and Results Conclusion

Motivation and basic concepts Storage Principle Query Principle Index Principle Implementation and Results Conclusion JSON Schema-less into RDBMS Most of the material was taken from the Internet and the paper JSON data management: sup- porting schema-less development in RDBMS, Liu, Z.H., B. Hammerschmidt, and D. McMahon,

More information

Management of XML Documents without Schema in Relational Database Systems

Management of XML Documents without Schema in Relational Database Systems Management of XML Documents without Schema in Relational Database Systems Thomas Kudrass Leipzig University of Applied Sciences, Department of Computer Science and Mathematics, D-04251 Leipzig, Germany

More information

Session [2] Information Modeling with XSD and DTD

Session [2] Information Modeling with XSD and DTD Session [2] Information Modeling with XSD and DTD September 12, 2000 Horst Rechner Q&A from Session [1] HTML without XML See Code HDBMS vs. RDBMS What does XDR mean? XML-Data Reduced Utilized in Biztalk

More information

Author: Irena Holubová Lecturer: Martin Svoboda

Author: Irena Holubová Lecturer: Martin Svoboda NPRG036 XML Technologies Lecture 1 Introduction, XML, DTD 19. 2. 2018 Author: Irena Holubová Lecturer: Martin Svoboda http://www.ksi.mff.cuni.cz/~svoboda/courses/172-nprg036/ Lecture Outline Introduction

More information

UNIT 3 XML DATABASES

UNIT 3 XML DATABASES UNIT 3 XML DATABASES XML Databases: XML Data Model DTD - XML Schema - XML Querying Web Databases JDBC Information Retrieval Data Warehousing Data Mining. 3.1. XML Databases: XML Data Model The common method

More information

PLEASE HAND IN UNIVERSITY OF TORONTO Faculty of Arts and Science

PLEASE HAND IN UNIVERSITY OF TORONTO Faculty of Arts and Science PLEASE HAND IN UNIVERSITY OF TORONTO Faculty of Arts and Science DECEMBER 2011 EXAMINATIONS CSC 343 H1F Instructors: Horton and Papangelis Duration 3 hours PLEASE HAND IN Examination Aids: None Student

More information

McGill April 2009 Final Examination Database Systems COMP 421

McGill April 2009 Final Examination Database Systems COMP 421 McGill April 2009 Final Examination Database Systems COMP 421 Wednesday, April 15, 2009 9:00-12:00 Examiner: Prof. Bettina Kemme Associate Examiner: Prof. Muthucumaru Maheswaran Student name: Student Number:

More information

DISCUSSION 5min 2/24/2009. DTD to relational schema. Inlining. Basic inlining

DISCUSSION 5min 2/24/2009. DTD to relational schema. Inlining. Basic inlining XML DTD Relational Databases for Querying XML Documents: Limitations and Opportunities Semi-structured SGML Emerging as a standard E.g. john 604xxxxxxxx 778xxxxxxxx

More information

An approach to the model-based fragmentation and relational storage of XML-documents

An approach to the model-based fragmentation and relational storage of XML-documents An approach to the model-based fragmentation and relational storage of XML-documents Christian Süß Fakultät für Mathematik und Informatik, Universität Passau, D-94030 Passau, Germany Abstract A flexible

More information

Accessing XML Data from an Object-Relational Mediator Database

Accessing XML Data from an Object-Relational Mediator Database Accessing XML Data from an Object-Relational Mediator Database A semester thesis paper by Christof Roduner Advisor and Supervisor Prof. Tore Risch December 4, 2002 Thesis Register Number 235 ISSN 1100-1836

More information

Introduction to Semistructured Data and XML

Introduction to Semistructured Data and XML Introduction to Semistructured Data and XML Chapter 27, Part D Based on slides by Dan Suciu University of Washington Database Management Systems, R. Ramakrishnan 1 How the Web is Today HTML documents often

More information

Part VII. Querying XML The XQuery Data Model. Marc H. Scholl (DBIS, Uni KN) XML and Databases Winter 2005/06 153

Part VII. Querying XML The XQuery Data Model. Marc H. Scholl (DBIS, Uni KN) XML and Databases Winter 2005/06 153 Part VII Querying XML The XQuery Data Model Marc H. Scholl (DBIS, Uni KN) XML and Databases Winter 2005/06 153 Outline of this part 1 Querying XML Documents Overview 2 The XQuery Data Model The XQuery

More information

Native XML Support in DB2 Universal Database

Native XML Support in DB2 Universal Database IBM Software Group Native XML Support in DB2 Universal Database Matthias Nicola, Bert van der Linden IBM Silicon Valley Lab mnicola@us.ibm.com Sept 1, 2005 Agenda Why native XML and what does it mean?

More information

SDPL : XML Basics 2. SDPL : XML Basics 1. SDPL : XML Basics 4. SDPL : XML Basics 3. SDPL : XML Basics 5

SDPL : XML Basics 2. SDPL : XML Basics 1. SDPL : XML Basics 4. SDPL : XML Basics 3. SDPL : XML Basics 5 2 Basics of XML and XML documents 2.1 XML and XML documents Survivor's Guide to XML, or XML for Computer Scientists / Dummies 2.1 XML and XML documents 2.2 Basics of XML DTDs 2.3 XML Namespaces XML 1.0

More information

COMP9321 Web Application Engineering. Extensible Markup Language (XML)

COMP9321 Web Application Engineering. Extensible Markup Language (XML) COMP9321 Web Application Engineering Extensible Markup Language (XML) Dr. Basem Suleiman Service Oriented Computing Group, CSE, UNSW Australia Semester 1, 2016, Week 4 http://webapps.cse.unsw.edu.au/webcms2/course/index.php?cid=2442

More information

Part 2: XML and Data Management Chapter 6: Overview of XML

Part 2: XML and Data Management Chapter 6: Overview of XML Part 2: XML and Data Management Chapter 6: Overview of XML Prof. Dr. Stefan Böttcher 6. Overview of the XML standards: XML, DTD, XML Schema 7. Navigation in XML documents: XML axes, DOM, SAX, XPath, Tree

More information

DOM Interface subset 1/ 2

DOM Interface subset 1/ 2 DOM Interface subset 1/ 2 Document attributes documentelement methods createelement, createtextnode, Node attributes nodename, nodevalue, nodetype, parentnode, childnodes, firstchild, lastchild, previoussibling,

More information

Database Management

Database Management Database Management - 2011 Model Answers 1. a. A data model should comprise a structural part, an integrity part and a manipulative part. The relational model provides standard definitions for all three

More information

The Document Object Model (DOM) is a W3C standard. It defines a standard for accessing documents like HTML and XML.

The Document Object Model (DOM) is a W3C standard. It defines a standard for accessing documents like HTML and XML. About the Tutorial The Document Object Model (DOM) is a W3C standard. It defines a standard for accessing documents like HTML and XML. This tutorial will teach you the basics of XML DOM. The tutorial is

More information

DATABASE MANAGEMENT SYSTEMS

DATABASE MANAGEMENT SYSTEMS www..com Code No: N0321/R07 Set No. 1 1. a) What is a Superkey? With an example, describe the difference between a candidate key and the primary key for a given relation? b) With an example, briefly describe

More information

CISC 3140 (CIS 20.2) Design & Implementation of Software Application II

CISC 3140 (CIS 20.2) Design & Implementation of Software Application II CISC 3140 (CIS 20.2) Design & Implementation of Software Application II Instructor : M. Meyer Email Address: meyer@sci.brooklyn.cuny.edu Course Page: http://www.sci.brooklyn.cuny.edu/~meyer/ CISC3140-Meyer-lec4

More information

CSS, Cascading Style Sheets

CSS, Cascading Style Sheets CSS, Cascading Style Sheets HTML was intended to define the content of a document This is a heading This is a paragraph This is a table element Not how they look (aka style)

More information

XML, DTD, and XPath. Announcements. From HTML to XML (extensible Markup Language) CPS 116 Introduction to Database Systems. Midterm has been graded

XML, DTD, and XPath. Announcements. From HTML to XML (extensible Markup Language) CPS 116 Introduction to Database Systems. Midterm has been graded XML, DTD, and XPath CPS 116 Introduction to Database Systems Announcements 2 Midterm has been graded Graded exams available in my office Grades posted on Blackboard Sample solution and score distribution

More information

II. Data Models. Importance of Data Models. Entity Set (and its attributes) Data Modeling and Data Models. Data Model Basic Building Blocks

II. Data Models. Importance of Data Models. Entity Set (and its attributes) Data Modeling and Data Models. Data Model Basic Building Blocks Data Modeling and Data Models II. Data Models Model: Abstraction of a real-world object or event Data modeling: Iterative and progressive process of creating a specific data model for a specific problem

More information

Managing XML documents in object-relational databases

Managing XML documents in object-relational databases Managing XML documents in object-relational databases Meike Klettke Holger Meyer Database Research Group Computer Science Department, University of Rostock 18051 Rostock, Germany Email: {meike,hme}@informatik.uni-rostock.de

More information

Session: E14 Unleash SQL Power to your XML Data. Matthias Nicola IBM Silicon Valley Lab

Session: E14 Unleash SQL Power to your XML Data. Matthias Nicola IBM Silicon Valley Lab Session: E14 Unleash SQL Power to your XML Data Matthias Nicola IBM Silicon Valley Lab 16 October 2008 09:00 10:00am Platform: DB2 for z/os and DB2 for Linux, Unix, Windows SQL is no longer the purely

More information

Introduction to Database Systems. Fundamental Concepts

Introduction to Database Systems. Fundamental Concepts Introduction to Database Systems Fundamental Concepts Werner Nutt 1 Characteristics of the DB Approach Insulation of application programs and data from each other Use of a ue to store the schema Support

More information

XML. extensible Markup Language. ... and its usefulness for linguists

XML. extensible Markup Language. ... and its usefulness for linguists XML extensible Markup Language... and its usefulness for linguists Thomas Mayer thomas.mayer@uni-konstanz.de Fachbereich Sprachwissenschaft, Universität Konstanz Seminar Computerlinguistik II (Miriam Butt)

More information

CSE 344 Final Examination

CSE 344 Final Examination CSE 344 Final Examination June 8, 2011, 8:30am - 10:20am Name: This exam is a closed book exam. Question Points Score 1 20 2 20 3 30 4 25 5 35 6 25 7 20 8 25 Total: 200 You have 1h:50 minutes; budget time

More information

Fundamentals of. Database Systems. Shamkant B. Navathe. College of Computing Georgia Institute of Technology PEARSON.

Fundamentals of. Database Systems. Shamkant B. Navathe. College of Computing Georgia Institute of Technology PEARSON. Fundamentals of Database Systems 5th Edition Ramez Elmasri Department of Computer Science and Engineering The University of Texas at Arlington Shamkant B. Navathe College of Computing Georgia Institute

More information

Advanced databases and data models: Theme2-1: Efficient storage of XML. Lena Strömbäck. June 17,

Advanced databases and data models: Theme2-1: Efficient storage of XML. Lena Strömbäck. June 17, Advanced databases and data models: Theme2-1: Efficient storage of XML Lena Strömbäck June 17, 2009 1 Today s lecture Native XML management Shredding Hybrid solutions SQL/XML HShreX Efficency XML as a

More information

Introduction to XML. National University of Computer and Emerging Sciences, Lahore. Shafiq Ur Rahman. Center for Research in Urdu Language Processing

Introduction to XML. National University of Computer and Emerging Sciences, Lahore. Shafiq Ur Rahman. Center for Research in Urdu Language Processing Introduction to XML Shafiq Ur Rahman Center for Research in Urdu Language Processing National University of Computer and Emerging Sciences, Lahore XMLXML DTDDTD Related Related Standards Overview What

More information