Database Theory: Lecture 1 Introduction and the Relational Model Background Database Models This Lecture Course

Total Page:16

File Type:pdf, Size:1020Kb

Database Theory: Lecture 1 Introduction and the Relational Model Background Database Models This Lecture Course Background A database model contains the means for ¡ Specifying particular data structures ¡ Constraining the data sets Database Theory: Lecture 1 ¡ Manipulating the data Introduction and the relational model A DDL (Data Definition Language) provides the means to specify the structures and constraints. Dr G.M. Bierman A DML (Data Manipulation Language) provides the means to manipulate the data; specifically querying and updating. www.cl.cam.ac.uk/Teaching/2002/DBaseThy Database Theory 2003 1 c GMB/AD Database Theory 2003 2 c GMB/AD ¢ Database models This lecture course Database models are typically characterized by the prominent data structure, e.g. We will study some of these database models from a theoretical perspective. ¥ £ Graphs: Study closely the data model Network model – ¥ Study closely the associated query languages: – Semantic model – Choices of query languages – Object model – Relationships between them – XML (?) – Their characteristics (typically expressivity) £ Trees: Three database models considered in this course: – Hierarchical model 1. Relational £ Relations: 2. Object – Relational model 3. Semi-structured/XML Database Theory 2003 3 c GMB/AD Database Theory 2003 4 c GMB/AD ¦ ¤ Warning Books This is a brand new course! Recommended textbooks: There will be eight lectures, two examples classes, and two lecturers! ¨ Foundations of databases Abiteboul, Hull and Vianu. Addison Wesley, 1995 Schedule: ¨ Data on the web Abiteboul, Buneman and Suciu. Morgan Kaufmann, 2000. 1. GMB - (now!) relational model Also: Some useful information in any of the database books from the IB 2. AD - Relational calculus Databases course. 3. AD - Deductive databases 4. AD - Recursion and negation 5. AD - Expressivity and complexity 6. GMB - Complex values 7. GMB - Object model 8. GMB - Semistructured/XML model Database Theory 2003 5 c GMB/AD Database Theory 2003 6 c GMB/AD © § What is the relational model? Codd 70: – Data structure: flat relations – Simple algebra of queries The relational model – No constraints – No updates Codd 72-: – Same data structure – Second query language (based on FOL) – Proof of equivalence to algebra language – Integrity constraints - functional dependencies Database Theory 2003 7 c GMB/AD Database Theory 2003 8 c GMB/AD What is the relational model? cont. Basics Therafter a whole host of extensions. Thus the relational model means the class Fix a countably infinite set of attribute names, with a total order of database models that have relations as the core data structure and incorporate Fix a single countably infinite set : the underlying domain some of Codd's approach. Fix a countably infinite set of relation names Assume that there is a sort for each element of , i.e. a function ! . " # The arity of a relation $ is then defined %&' ( 01 & ( + + ) * ,.- / * , / A relation schema is just a relation name. We may write $ 3 to denote $ is 2 4 5 of sort 3 , and $ to denote it is of arity 265 4 A database schema is just a nonempty finite set of relation schema, e.g. 8 < < < 3 $ 3 $ 7 : : = = ; ; 4> 2 9 2 4 Database Theory 2003 9 c GMB/AD Database Theory 2003 10 c GMB/AD ? Example relations Choicepoint: names Q: Are the attribute names part of the explicit database schema or not? F H P AB CD E IJ A CK IQ ER A B I AU T C @ M M S M O O G L N L N L NV In SQL they are available, e.g. SELECT p.Name FROM Persons p Movies Title Director Actor Magnolia Anderson Moore Guide Title Cinema Time But are they compiled away by the system to just integers? Magnolia Anderson Cruise Rocky Warner 12:00 More theoretically: Spiderman Raimi Maguire Spiderman Picturehouse 19:00 X _ ]^ : A tuple over relation schema Y [ is a map from [ to Named Z \ Spiderman Raimi Dunst ... ... Spiderman Phoenix 19:00 X : A tuple over relation schema Y is a element of the cartesian Unnamed Z6` \ Rocky Avildsen Stallone Magnolia Picturehouse 22:00 _ba product ]^ RockyII Stalone Stallone The choice of model impacts on the query language. Location Cinema Address Tel Having assumed a total order on the attribute names provides us with a Picturehouse Cambridge 504444 correspondence between the two. Thus we'll flip between the two during this Phoenix Oxford 512526 course Warner Cambridge 560225 Database Theory 2003 11 c GMB/AD Database Theory 2003 12 c GMB/AD c W Database Database Theor Theor A (Simplest SPC y y quer 2003 2003 y quer © ª Ê possib is y « well-f ² © ª ¦ © ª d le Ar © ª ormed algebr © ª ity ¦ ¤ «  ² e ¶ ÃÄ Å µ e f Å ¥ ¦ h h h h h Å ³ » ¶ · ¦ Unnamed: judgements Ä § ¨ a ¤ « ® wr ¸ ¶ first) ¹ Æ g u n n d z ¦ © ² ij6k t « ¦ ¹ ¼ º o v o p o p a ² « ¹ ³ º ´ À schema ¦ ¾ w x lm q t x ½ Á d x ´ Á r r w d o y d Á s s ½ r d ´ s SPC Ë ¿ º f or 15 13 if Base Car Projection Select Select Singleton there © ª SPC © ª algebr tesian ª © relation « e ² (attr (constant) © ª xists À ² « © ª ¦ constant quer À È ² product ib ¦ a µ ute) Ì · ¶ ¬­ ® ¦ such ² Ç « ¿ ies ³ » ª © ¯° ¹ « ² « relation ¦ ® º that ± » É ² Ç ¦ « ¼ » ¹ Ë Í ´ ½ ¾ º Ê Î Ì . Ï { c c GMB/AD GMB/AD Database Database Theor Theor ý þ Aside: What Alter List | Ð y y Ð ë 2003 2003 } ÿ á ìí î | the ~ î nativ î Ð Ð Ð à Ð à ä Ð ð is Ð 6 í ~ ¡£¢ Some á â á â Ð name ÐÛÜ Ý this? 6 á ely: ¤ ó ï é ã ÿ ä ô Ù ä Ù ä Ù ä } Ð Ð Ñ Þß Ú Ú Ú ¥¦§ quer (Assume | and Ò Ò Ò Ò Ò Ò Ò Ò Ó Ò Ó Ò Ó Ò Ó Ò Ó Ó 6 ¨ 6 ies © addresses ÔÕ Ö ÔÕ Ö ÔÕ Ö ÔÕ Ö ÔÕ Ö ÔÕ Ö × × × × × × can 6 Ý ÛÜ ÛÜ Û å Û å ÛÜ } Ø | å å retur is } Ù Ñ Almodo ~ æ æ of è ð Ù6õ Ù Almodo Þß Ú of ð ~ ä ä ñ Ú ò Ð Ð n ar Ð Ð Ú ñ ò â ò cinemas Ò Ò 6 ò ü ity ò Ò Ó Ò Ó Semantics ò ã Example f v or å å ñ å ç ç ð ñ ar å v ) ar all â Ù è Ù è Ù ö è Ù Ú Ú instances ñ ÷ Ú é pla Ý × × where Ú å 16 14 Þ Ù6õ ying å ß ç Ù ê Ó ñ Ú ò ò Úß æ ò a , ä Ð Ð Almodo ñ ÷ ù ú ù ú e ¡¢ Ò .g. Ò Ó ß Ù ø ä ä ð û ð û Ú Þ v å ø ö ar ç film æ ä Ð ð Ð Ò Ò Ó ñ ÷ æ ô ä Ð Ð Ò Ò Ó ß £ c c GMB/AD GMB/AD Database Database Theor Theor Ex 2. 1. 3. 2. 1. p p p p p y y er 2003 2003 + F Code Equijoin Generaliz Inter A W Note: W Recall: Of e cise – .g. or . e e natur " f W malise or ha wr / } ~ 0 section - e'll m 1 up W ite v al 1 e T e need uples these 2 3 them to join } do ed the where ensure 4 5 not Selection 3 oper to semantics are as oper where be allo , ! Gener ator e functions 0 that ators .g. ab w " 1 le ! Named repeated re ucv 2 6 the # to v of $ " eals 4 w 0 rename aliz 5 result the 6 # x q 1 % $ y z itself: % to equijoin 2 3 $ ed % names 5 3 of w rs perspectiv % BC { % attr # & $ a | D 7 8 % SPC join t quer 19 17 ib 2 6 where oper in # & utes on 9: 4 a y 5 3 ; <= and the relation ator algebr does E # * > ; ? common 5 ' 6 e is not @ ( @ + sor a " ha 5 ) 6 t and v - 8 7 attr e . repeated # * ib 9: utes is ; A = + " > ; ? names , @ @ or , F c c GMB/AD GMB/AD Database Database Theor Theor quer Pr where Define SPJR y y oposition 2003 2003 y h i \ an quer ] ^ j G SPC in H I ] _ K y J 1 nor K K F nor J ` a H L mal or MNO mal e ] Ncb v f or er P f m or Q y ] d Named: RS d (e m such d xtended) T to ] ^ c be U Nor that S U U a e T quer k k O mal N N f h SPC SPJR l lnm P Q y V d ] of quer f d 20 18 k S R or k d h i the f algebr ms j ] T Base Natur Renaming Projection Select Select Singleton y l l f g h . or S W , X m there al relation M Y (attr (constant) join a Q constant e ib T xists utes) U U U an T relation Y e xtended Z [ [ o c c GMB/AD GMB/AD Database Database Theor Theor × × × y y 2003 2003 A where Nor Can Ø Ù corresponding Ú mal Û Ü define Ü Ü ó Û Ù f or ô õ Ý Þß m: similar Sor ¡ ¢ ö ÷ ¡ ¢ àcá ¢ ¡ ¡ ¢ ¡ ¢ ß â ã nor t ô « £ £ £ ¡ ¢ « gener « á µ judgements ä « ¬ mal ¡ ¢ µ ÀÁ â ­ ® â åæ ô ø £ µ ø ¯ alizations ¦ f ø or çè « ¿ º ° £ ¦ « ¡ ô £ á ¤ ­ m ± ¡ ¢ é »¼ ½ ½ theorem ê é ½ µ æ é ¼ µ  ² ¶ çè ¶ ­ More « ¿ ß £ ¶ ù to ¾ ß ¦ ¿ ² ° ¡ ¢ f SPC « àcá £ or ¿ ± ú 23 21 ¦ · ¡ ¢ ¡ ¢ ª ¸ ê â £ ã SPJR « ø ô algebr ø ¡ ¢ µ ø ² ¶ ä ¬ ¤¥§¦ ¶ ô ê ­ ® £ ¶ ú ¡ ¢ ¦ ¦ æ å ¦ à a û ² ´ æ Ä ¨ ° quer ° çè £ « « · ©ª £ £ £ « ² ³ and ¹ ± ± distinct ¦ ë Å á ì Þ§í ° ies ü î are ± Þ ï Ú distinct â ð çè é é é çè í ý Æ c c GMB/AD GMB/AD î ñ Þ ï ò ð ð ð Database Database Theor Theor The W Where Aside 3.
Recommended publications
  • GRAPH DATABASE THEORY Comparing Graph and Relational Data Models
    GRAPH DATABASE THEORY Comparing Graph and Relational Data Models Sridhar Ramachandran LambdaZen © 2015 Contents Introduction .................................................................................................................................................. 3 Relational Data Model .............................................................................................................................. 3 Graph databases ....................................................................................................................................... 3 Graph Schemas ............................................................................................................................................. 4 Selecting vertex labels .............................................................................................................................. 4 Examples of label selection ....................................................................................................................... 4 Drawing a graph schema ........................................................................................................................... 6 Summary ................................................................................................................................................... 7 Converting ER models to graph schemas...................................................................................................... 9 ER models and diagrams ..........................................................................................................................
    [Show full text]
  • Data Definition Language (Ddl)
    DATA DEFINITION LANGUAGE (DDL) CREATE CREATE SCHEMA AUTHORISATION Authentication: process the DBMS uses to verify that only registered users access the database - If using an enterprise RDBMS, you must be authenticated by the RDBMS - To be authenticated, you must log on to the RDBMS using an ID and password created by the database administrator - Every user ID is associated with a database schema Schema: a logical group of database objects that are related to each other - A schema belongs to a single user or application - A single database can hold multiple schemas that belong to different users or applications - Enforce a level of security by allowing each user to only see the tables that belong to them Syntax: CREATE SCHEMA AUTHORIZATION {creator}; - Command must be issued by the user who owns the schema o Eg. If you log on as JONES, you can only use CREATE SCHEMA AUTHORIZATION JONES; CREATE TABLE Syntax: CREATE TABLE table_name ( column1 data type [constraint], column2 data type [constraint], PRIMARY KEY(column1, column2), FOREIGN KEY(column2) REFERENCES table_name2; ); CREATE TABLE AS You can create a new table based on selected columns and rows of an existing table. The new table will copy the attribute names, data characteristics and rows of the original table. Example of creating a new table from components of another table: CREATE TABLE project AS SELECT emp_proj_code AS proj_code emp_proj_name AS proj_name emp_proj_desc AS proj_description emp_proj_date AS proj_start_date emp_proj_man AS proj_manager FROM employee; 3 CONSTRAINTS There are 2 types of constraints: - Column constraint – created with the column definition o Applies to a single column o Syntactically clearer and more meaningful o Can be expressed as a table constraint - Table constraint – created when you use the CONTRAINT keyword o Can apply to multiple columns in a table o Can be given a meaningful name and therefore modified by referencing its name o Cannot be expressed as a column constraint NOT NULL This constraint can only be a column constraint and cannot be named.
    [Show full text]
  • A Dictionary of DBMS Terms
    A Dictionary of DBMS Terms Access Plan Access plans are generated by the optimization component to implement queries submitted by users. ACID Properties ACID properties are transaction properties supported by DBMSs. ACID is an acronym for atomic, consistent, isolated, and durable. Address A location in memory where data are stored and can be retrieved. Aggregation Aggregation is the process of compiling information on an object, thereby abstracting a higher-level object. Aggregate Function A function that produces a single result based on the contents of an entire set of table rows. Alias Alias refers to the process of renaming a record. It is alternative name used for an attribute. 700 A Dictionary of DBMS Terms Anomaly The inconsistency that may result when a user attempts to update a table that contains redundant data. ANSI American National Standards Institute, one of the groups responsible for SQL standards. Application Program Interface (API) A set of functions in a particular programming language is used by a client that interfaces to a software system. ARIES ARIES is a recovery algorithm used by the recovery manager which is invoked after a crash. Armstrong’s Axioms Set of inference rules based on set of axioms that permit the algebraic mani- pulation of dependencies. Armstrong’s axioms enable the discovery of minimal cover of a set of functional dependencies. Associative Entity Type A weak entity type that depends on two or more entity types for its primary key. Attribute The differing data items within a relation. An attribute is a named column of a relation. Authorization The operation that verifies the permissions and access rights granted to a user.
    [Show full text]
  • Shadow Theory: Data Model Design for Data Integration
    Shadow Theory: Data Model Design for Data Integration Jason T. Liu* (Draft. Date:9/12/2012) ABSTRACT In information ecosystems, semantic heterogeneity is known as General Terms Algorithms, Design, Human Factors, Theory. the root issue for the difficulties of data integration, and the Relational Model is not designed for addressing such challenges, i.e. to re-use data that is modeled from other sources in the local Keywords data model design. Although researchers have proposed many Data integration, information ecosystems, shadows, meanings, different approaches, and software vendors have designed tools to mental entity, semantic heterogeneity, tags, help the data integration task, it remains an art relying on human labors. Due to lacks of a comprehensive theory to guide the overall modeling process, the quality of the integrated data heavily depends on the data integrators’ experiences. 1. Introduction Based on observations of practical issues for enterprise customer Data integration is essential for most enterprise systems that rely data integration, we believe that the needed solution is a new data on data from multiple sources. Lenzerini defined data integration model. This new data model needs to manage the difficulties of as to combine data residing at different sources in order to provide semantic heterogeneity: different data collected from different users with a unified view of these data [1]. Specifically, the goal perspectives about the same subject matter can naturally be of Enterprise Information Integration (EII) is to provide a uniform inconsistencies or even in conflicts. In other words, existing data access to multiple data sources without having to load the data models are designed to support single version of the truth, and into a central place [2].
    [Show full text]
  • Datalog on Infinite Structures
    Datalog on Infinite Structures DISSERTATION zur Erlangung des akademischen Grades doctor rerum naturalium (Dr. rer. nat.) im Fach Informatik eingereicht an der Mathematisch-Naturwissenschaftlichen Fakultät II Humboldt-Universität zu Berlin von Herr Dipl.-Math. Goetz Schwandtner geboren am 10.09.1976 in Mainz Präsident der Humboldt-Universität zu Berlin: Prof. Dr. Christoph Markschies Dekan der Mathematisch-Naturwissenschaftlichen Fakultät II: Prof. Dr. Wolfgang Coy Gutachter: 1. Prof. Dr. Martin Grohe 2. Prof. Dr. Nicole Schweikardt 3. Prof. Dr. Thomas Schwentick Tag der mündlichen Prüfung: 24. Oktober 2008 Abstract Datalog is the relational variant of logic programming and has become a standard query language in database theory. The (program) complexity of datalog in its main context so far, on finite databases, is well known to be in EXPTIME. We research the complexity of datalog on infinite databases, motivated by possible applications of datalog to infinite structures (e.g. linear orders) in temporal and spatial reasoning on one hand and the upcoming interest in infinite structures in problems related to datalog, like constraint satisfaction problems: Unlike datalog on finite databases, on infinite structures the computations may take infinitely long, leading to the undecidability of datalog on some infinite struc- tures. But even in the decidable cases datalog on infinite structures may have ar- bitrarily high complexity, and because of this result, we research some structures with the lowest complexity of datalog on infinite structures: Datalog on linear orders (also dense or discrete, with and without constants, even colored) and tree orders has EXPTIME-complete complexity. To achieve the upper bound on these structures, we introduce a tool set specialized for datalog on orders: Order types, distance types and type disjoint programs.
    [Show full text]
  • A Theory of Regular Queries
    A Theory of Regular Queries Moshe Y. Vardi Rice University [email protected] ABSTRACT [22], he proposed using first-order logic as a declarative database A major theme in relational database theory is navigat- query language [23]. This led to the development of both ing the tradeoff between expressiveness and tractability for SEQUEL [16] and QUEL [54], as practical relational query query languages, where the query-containment problem is languages realizing Codd's idea, ultimately giving in 1986 considered a benchmark of tractability. The query class rise to the SQL standard [27], which has continued to evolve UCQ, consisting off unions of conjunctive queries, is a frag- over the past 30 years. ment of first-order logic that has a decidable query contain- Starting in the late 1970s, Codd's definition of first-order ment problem, but its expressiveness is limited. Extend- logic as \expressively complete" came under serious criti- ing UCQ with recursion yields Datalog, an expressive query cism [4], and various proposals emerged on how to extend language that has been studied extensively and has recently its expressive power [4, 6, 17], whose essence was to extend become popular in application areas such as declarative net- first-order logic with recursion, which was added to SQL in working. Unfortunately, Datalog has an undecidable query 1999 by way of common table expressions [29]. On the re- containment problem. Identifying a fragment of Datalog search side, the most popular relational language embodying that is expressive enough for applications but has a decid- recursion is Datalog [15], describe in more details below.
    [Show full text]
  • Database Theory
    DATABASE THEORY Lecture 1: Introduction / Relational data model Markus Krotzsch¨ TU Dresden, 4 April 2016 Course information • 14 lectures: Thursday, DS4 (13:00–14:30) • 13 excercise classes: Monday, DS3 (11:10–12:40) { taught by Francesco Kriegel • Oral examination (details based on applicable examination regulations) • Course homepage (dates, slides, excercise sheets): https://ddll.inf.tu-dresden.de/web/Database_ Theory_%28SS2016%29/en Markus Krötzsch, 4 April 2016 Database Theory slide 2 of 42 Aims of the course Obtain an understanding of key topics in database theory with a special focus on query formalisms: • Relational data model • Basic and advanced query languages • Expressive power of query languages • Complexity of query answering + some algorithmic approaches • Modelling with constraints Connect databases with other advanced topics in logic/KR/formal methods Markus Krötzsch, 4 April 2016 Database Theory slide 3 of 42 Literature, prerequisites, related courses • Serge Abiteboul, Richard Hull, Victor Vianu: Foundations of Databases. Addison-Wesley. 1994. – Available at http://webdam.inria.fr/Alice/ – Slight deviations in the lecture – Further literature will be given for advanced topics • Prerequisites: basics of first-order logic, Turing machines, worst-case complexity • Related courses at TUD: – Advanced Logic – Foundations of Semantic Web Technologies – Introduction to Logic Programming – Introduction to Constraint Programming – Datenbanken (Grundlagen) – Intelligent Information Systems Markus Krötzsch, 4 April 2016 Database
    [Show full text]
  • Database Theory
    DATABASE THEORY Lecture 11: Introduction to Datalog Markus Krotzsch¨ Knowledge-Based Systems TU Dresden, 12th June 2018 Announcement All lectures and the exercise on 19 June 2018 will be in room APB 1004 Markus Krötzsch, 12th June 2018 Database Theory slide 2 of 34 Introduction to Datalog Markus Krötzsch, 12th June 2018 Database Theory slide 3 of 34 Introduction to Datalog Datalog introduces recursion into database queries • Use deterministic rules to derive new information from given facts • Inspired by logic programming (Prolog) • However, no function symbols and no negation • Studied in AI (knowledge representation) and in databases (query language) Example 11.1: Transitive closure C of a binary relation r C(x, y) r(x, y) C(x, z) C(x, y) ^ r(y, z) Intuition: • some facts of the form r(x, y) are given as input, and the rules derive new conclusions C(x, y) • variables range over all possible values (implicit universal quantifier) Markus Krötzsch, 12th June 2018 Database Theory slide 4 of 34 Syntax of Datalog Recall: A term is a constant or a variable. An atom is a formula of the form R(t1, ::: , tn) with R a predicate symbol (or relation) of arity n, and t1, ::: , tn terms. Definition 11.2: A Datalog rule is an expression of the form: H B1 ^ ::: ^ Bm where H and B1, ::: , Bm are atoms. H is called the head or conclusion; B1 ^ ::: ^ Bm is called the body or premise. A rule with empty body (m = 0) is called a fact. A ground rule is one without variables (i.e., all terms are constants).
    [Show full text]
  • Database Theory in Practice: Learning from Cooperative Group Projects*
    DATABASE THEORY IN PRACTICE: LEARNING FROM COOPERATIVE GROUP PROJECTS* Suzanne W. Dietrich Susan D. Urban Department of Computer Science and Engineering Arizona State University BOX 875406 Tempe, AZ 85287-5406 U.S.A. [email protected] [email protected] ABSTRACT only because of the foundation it provides for research, but lhis paper describes the use of cooperative group learning also because it is a prerequisite for effective use of database concepts in support of an undergraduate database mrtnage- management systems [1]. Database practice is important ment course that emphasizes the theoretical and practical for preparing students to address the needs of real-world aspects of database application development. ‘Ihe course applications. There is. therefore, a wealth of both theoretical project is divided into three main phases, involving require- and practical material that must be covered within a typical ments analysis and conceptual design, relational database undergraduate course on database management systems. mapping and prototyping, and database system implemen- Another concern with respect to database education is the tation using Microsoft Access. The project deliverables overall approach to teaching database concepts, such as the are designed so that students not only develop a database use of cooperative learning [4] in the college classroom. In implementation, but also evaluate their design in terms of cooperative learning, in contrast to individual or competitive functional dependencies, normal forms, the lossless join learning, students work in small groups, helping each other property, and the dependency preservation property, thus learn the assigned material. Cooperative learning has advan- establishing the need for sound database design principles.
    [Show full text]
  • An Extension of the Relational Data Model to Incorporate Ordered Domains
    An Extension of the Relational Data Model to Incorporate Ordered Domains Wilfred Siu Hung Ng A dissertation submitted in partial fulfillment of the requirements for the degree of Doctor of Philosophy o f th e University of London Department of Computer Science University College London 1, July 1997 ProQuest Number: 10055432 All rights reserved INFORMATION TO ALL USERS The quality of this reproduction is dependent upon the quality of the copy submitted. In the unlikely event that the author did not send a complete manuscript and there are missing pages, these will be noted. Also, if material had to be removed, a note will indicate the deletion. uest. ProQuest 10055432 Published by ProQuest LLC(2016). Copyright of the Dissertation is held by the Author. All rights reserved. This work is protected against unauthorized copying under Title 17, United States Code. Microform Edition © ProQuest LLC. ProQuest LLC 789 East Eisenhower Parkway P.O. Box 1346 Ann Arbor, Ml 48106-1346 Abstract In this thesis, we extend the relational data model to incorporate partial orderings into data domains and present a comprehensive formalisation of the extended model. The main contributions of the thesis are that we show how and why such an extension can considerably improve the capabilities of capturing semantics in a wide spectrum of advanced applications such as tree-structured information, temporal information, in­ complete information, fuzzy information and spatial information, whilst preserving the elegance of the theoretical basis of the model. Within the extended model, we extend the relational algebra to the Partially Or­ dered Relational Algebra (FORA) and the relational calculus to the Partially Ordered Relational Calculus (PORC), respectively.
    [Show full text]
  • Foundations of Databases
    Foundations of Databases Foundations of Databases Serge Abiteboul INRIA–Rocquencourt Richard Hull University of Southern California Victor Vianu University of California–San Diego Addison-Wesley Publishing Company Reading, Massachusetts . Menlo Park, California New York . Don Mills, Ontario . Wokingham, England Amsterdam . Bonn . Sydney . Singapore Tokyo . Madrid . San Juan . Milan . Paris Sponsoring Editor: Lynne Doran Cote Associate Editor: Katherine Harutunian Senior Production Editor: Helen M. Wythe Cover Designer: Eileen R. Hoff Manufacturing Coordinator: Evelyn M. Beaton Cover Illustrator: Toni St. Regis Production: Superscript Editorial Production Services (Ann Knight) Composition: Windfall Software (Paul C. Anagnostopoulos, Marsha Finley, Jacqueline Scarlott), using ZzTEX Copy Editor: Patricia M. Daly Proofreader: Cecilia Thurlow The procedures and applications presented in this book have been included for their instructional value. They have been tested with care but are not guaranteed for any purpose. The publisher does not offer any warranties or representations, nor does it accept any liabilities with respect to the programs and applications. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and Addison-Wesley was aware of a trademark claim, the designations have been printed in initial caps or all caps. Library of Congress Cataloging-in-Publication Data Abiteboul, S. (Serge) Foundations of databases / Serge Abiteboul. Richard Hull, Victor Vianu. p. cm. Includes bibliographical references and index. ISBN 0-201-53771-0 1. Database management. I. Hull, Richard, 1953–. II. Vianu, Victor. III. Title. QA76.9.D3A26 1995 005.74’01—dc20 94-19295 CIP Copyright © 1995 by Addison-Wesley Publishing Company, Inc.
    [Show full text]
  • Day 1: Introduction to Database Theory and Design
    Outline The Database as a Concept and Tool The Database model and its Evolution Database Applications Day 1: Introduction to Database Theory and Design Database Theory and Design Tyler Peterson International Summer School on Language Documentation and Description Leiden University Centre for Linguistics, Leiden November 26, 2011 Database Theory and Design Day 1: Introduction to Database Theory and Design Outline The Database as a Concept and Tool The Database model and its Evolution Database Applications My Details: Tyler Peterson office: LUCL Van Wijkplaats 4 Room 205a telephone: 071-5272059 email: [email protected] [email protected] (for Google docs) office hours: Most afternoons until 18:00 I Please fill out the short survey, and don't hesitate to contact me! Database Theory and Design Day 1: Introduction to Database Theory and Design I Theory: Terminology used in database theory; Understanding the design features of a database (entities and attributes). I Design: Assessing your goals; planning a database on paper (Entity-Relationship diagrams); Best practices. I Cross tabulation: a front-line analytical tool. I Trigger{Target Database for Phonological Processes I Programma de Fonologia Experimental e Hist´orica I Databases vs. spreadsheets. Types of databases. I Different commercial and free database programs: advantages and limitations. I To familiarize you with the concepts in database theory and design. I Looking at the practical implemetation of an analytical database in MS Access. Outline The Database as a Concept and Tool The Database model and its Evolution Database Applications Goals for the Course: I Databases: what they are, what linguists can use them for.
    [Show full text]