This presentation is for informational purposes only and may not be incorporated into a contract or agreement.

Size: px
Start display at page:

Download "This presentation is for informational purposes only and may not be incorporated into a contract or agreement."

Transcription

1 This presentation is for informational purposes only and may not be incorporated into a contract or agreement.

2 Supporting Keyword Columns with Ontology-based Referential Constraints Eugene Inseok Chong, Souripriya Das, George Eadon, Jagannathan Srinivasan Oracle

3 Outline Introduction Problem Description Our Approach Implementation Scheme Summary Conclusions

4 Introduction

5 Keyword Columns Keyword Column refers to a column that holds one or more keywords. Example Diagnosis Table patient_id diagnosis Rh. Arthritis AIDS AIDS Keyword Column

6 Keyword Columns Keyword columns characterize table rows The keywords referenced typically belong to a knowledge domain (ontology). However, the semantic link to the corresponding knowledge domain is currently NOT captured in database systems.

7 Example: Semantically linking keyword column to an Ontology Cancer_ontology Diagnosis Table Diseases_and_Disorders patient_id 1721 Diagnosis Rh. Arthritis Immune_System_Disorder AIDS AIDS AI_Disease ID_Syndrome Rh. Arthritis T-Cell_ID AIDS

8 Key Benefits of Semantic Link Enhances data integrity for keyword columns Facilitates evolution of keyword columns with ontology Facilitates semantic search on keyword columns

9 Ontology-based Semantic Match Diagnosis Table Cancer_ontology patient_id 1721 Diagnosis Rh. Arthritis Diseases_and_Disorders AIDS AIDS Syntactic Match: Diagnosis = Immune_System_Disorder Semantic Match: Diagnosis rdfs:subclassof Immune_System_Disorder Immune_System_Disorder AI_Disease ID_Syndrome Rh. Arthritis T-Cell_ID AIDS

10 Approach: Extend Database Referential Constraints Ontology-based constraint definition Query on Ontology identifies keyword domain On Ontology Update Semantics On Deletion transformation of keywords On Insertion refinement of keywords Enforcing Ontology-based Constraint Uses materialized view (MV), conventional referential integrity constraint, and triggers

11 Key Contributions Ontology-based Referential Constraints Automatic evolution of keywords with Ontology An efficient constraint enforcement scheme

12 Related work Broad Areas Data Integrity, RDF [5], RDFS [6], OWL [7], RDF Querying [15, 11], OWL Querying [10], OWL Ontology Editing [8] Specifics Conventional Referential Constraints [14] Our work extends this for keyword columns Ontology aligning and Merging [12, 13] Automatic evolution of keywords columns with ontology is somewhat similar.

13 Problem Description

14 Background: RDF_MATCH Table Function Select those compounds that are subclasses of proteins and also subclasses of complexes using BioCyc ontology and RDFS inferencing. Select t.compound from TABLE( RDF_MATCH ( (?compound rdfs:subclassof :Proteins) (?compound rdfs:subclassof :Complexes), RDFModels( BioCyc ), RDFRules( rdfs ), null)) t;

15 Constraining Keyword Columns Constrained keyword column (K) Referenced ontology (O) Constraint query (Q) Constraint query result set (R)

16 Components of Ontology-based Referential Constraint Constraint Query (Q) Select t.d from Table (RDF_MATCH( )) t; Referenced Ontology (O) Diseases_and_Disorders Diagnosis Table Constraint Query Result Set (R) {Rh. Arthritis, AIDS, T-Cell_ID, } patient_id Diagnosis Keyword column (K) Rh. Arthritis AIDS AIDS Immune_System_Disorder AI_Disease ID_Syndrome Rh. Arthritis T-Cell_ID AIDS Cancer_ontology

17 Evolution of Keywords R-terms are O-related, not isolated Ontology specifies relationships between terms in the constraint query result set As ontology evolves, utilize the relationships to do (or suggest) replacements or refinements using Transformation function (f t ) Refinement function (f r )

18 Transformation function ON DELETE (from R) TRANSFORM using f t f t : <O old, R new, deletedterm> termset f t functionality Locate deleted term in old (pre-change) ontology Use custom algorithm to compute the (possibly singleton) set of possible replacements The termset must be a subset of new result set Use returned termset to Replace with the element, if singleton Replace with NULL and add <rowid, deletedterm, termset> to recommendations table

19 Refinement function ON INSERT (into R) recommend using f r f r : <O new, R new, insertedterm> termset f r functionality Locate inserted term in the modified ontology Use custom algorithm to compute the subset of terms in new result set R new that it could refine Add to recommendations

20 Our Approach

21 Referential Constraint using Constraint Query Traditional database referential constraint <col a> REFERENCES <table t2> (<col b>) Ontology-based referential constraint <col a> REFERENCES (<constraint query>) Example: chemical_compound REFERENCES SELECT t.compound FROM TABLE( RDF_MATCH ( (?compound rdfs:subclassof :Proteins) (?compound rdfs:subclassof :Complexes), RDFModels( BioCyc ), RDFRules( rdfs ), null)) t;

22 On Ontology Update Modifications made to ontology O may cause No change in R Deletion of a term in R not currently used in K Deletion of a term in R that is used in K Addition of a term in R Renaming of a term in R not used in K Renaming of a term in R that is used in K

23 Example: Ontology Update Referenced Ontology Signs and Synptoms Sensation Hearing Smell Body Temperature Changes Pain Taste Hypothermia Fever

24 ON DELETE from result set Syntax <col> REFERENCES <constraint query> ON DELETE TRANSFORM USING <function> Example Deletion of Hypothermia causes transformation to Body Temperature Changes Deletion of Pain generates recommendations Recommendations Table Rowid Term Recommendations Action R105 Pain Sensation Signs and Symptoms Delete

25 ON INSERT into result set Syntax ON INSERT RECOMMEND USING <function> Example If new terms Hearing, Smell, and Taste are inserted under Sensation and get added to R then appropriate recommendation gets generated for possible refinement Rowid Term Recommendations Table Recommendations Action NULL Sensation Hearing Smell Taste Insert

26 Implementation Scheme

27 System Architecture Constraint Definition Module Constraint Enforcement Module Ontology Editor Core DBMS Ontology Storage & Querying User Tables and Ontologies

28 Overview Use a Materialized View (MV) to store constrained query result set Define conventional database referential constraint from keyword column to MV This restricts illegal update or insert of keyword values Upon ontology modification Do batch or incremental maintenance (refresh) of MV, and Use triggers to transform keyword data and/or generate recommendations

29 Batch Enforcement DISABLE constraint Save MV data containing current result set R Save a copy of current version of ontology O ENABLE constraint Compare new MV (result set R new ) with old MV (result set R old ) to determine the deletions and additions Handle deletions and additions, with appropriate transformations and/or recommendations Finally, enable constraint on MV, and provide EXCEPTIONS table for storing any exceptions

30 Incremental Enforcement Materialized View (MV) defined using Constraint Query and stores Constraint Query Result Set Referential Constraint: ON DELETE SET NULL Keyword column MV def. on Ontology Row-level Triggers for any changes Journal Table for MV stores any changes to MV After Refresh processing Invoke transformation and refinement functions (as needed) to update keyword column values and update entries in recommendation table Referenced Ontology Row-level update Trigger for SET TO NULL Recommendation Table

31 Incr. Enf.: AFTER REFRESH triggers Materialized View (MV) defined using Constraint Query and stores Constraint Query Result Set Referential Constraint Keyword column MV def. on Ontology Row-level Triggers for any changes Journal Table for MV stores any changes to MV After Refresh processing Invoke transformation and refinement functions (as needed) to update keyword column values and insert in recommendation table Referenced Ontology Recommendation Table

32 Summary Ontology-based referential constraints for keyword columns: Uses constraint query on ontology to identify domain for keyword column Transformation and refinement functions for handling deletion of referenced terms and addition of new terms to the domain, respectively. Implementation scheme discussed how to support this functionality using Oracle s MVs and triggers. Also proposed some extensions to MV support.

33 Conclusions Supporting ontology-based referential constraints Enhances data integrity of keyword columns Facilitates keeping up with changes in ontology that affects domain

34 Q U E S T I O N S A N S W E R S

35

36 Background: Overview Ontology, Entailment, Mapping ontology RDF, RDF Schema, OWL SPARQL ONT_EXPAND and RDF_MATCH table function ONT_RELATED operator

37 Background: ONT_RELATED semantic match operator Select m.article_id from medical_articles m Where ONT_RELATED ( m.keyword, rdfs:subclassof, Signs and Symptoms, MeSH ) m;

38 Background: ONT_EXPAND and RDF_MATCH Table Functions Select term1name from TABLE(ONT_EXPAND( NULL, rdfs:subclassof, Signs and Symptoms, MeSH ) Select t.compound from TABLE( RDF_MATCH ( (?compound rdfs:subclassof :Proteins) (?compound rdfs:subclassof :Complexes), RDFModels( BioCyc ), RDFRules( rdfs ), null)) t;

39 Evolution of Keywords Referenced ontology (O) contains information about relationships between the terms in constraint query result set (R) This knowledge provides scope for automatic evolution of the content of the keyword column (K) when change to O and/or to the constraint query (Q) causes changes in R. Values in keyword column K can be transformed automatically or recommendations may be generated for possible replacements or refinements

40 Batch Refinement function Batch refinement function (f batch_refine ) On a batch of changes to ontology O, some of which may not affect R, recommend using f br f br : <O current, R current, valueset> refineset f br functionality Use custom algorithm to analyze the ontology to see if recommendations for refinements may be generated

41 Querying Keyword Columns Operand2 Operand1 No associated ontology Ontology O1 No associated ontology Use ontology in query Use ontology O 1 Ontology O 2 Use Ontology O 2 If O 1 =O 2, use that; Otherwise, use O 1, O 2, and a mapping ontology

42 Bulk modification Handling For any bulk-modification operation affecting the referenced ontology or the user table DISABLE the constraint before starting ENABLE the constraint at the end, providing EXCEPTIONS table for recording the exceptions Bulk-load into the ontology may result in new recommendations for refinement Bulk-load into user table may generate exceptions in the EXCEPTIONS table

43 Incremental Enforcement MV (i.e., result set) is incrementally refreshed ON COMMIT Alter the conventional referential constraint between the MV and the constrained column to be deferred till commit time when ON DELETE SET NULL will set to NULL any value deleted from MV. Row-level triggers on the MV journals any changes to the MV to a temporary journal table Row-level update trigger on keyword column writes <rowid, keyword,, delete > into recommendations table when ON DELETE SET NULL replaces a keyword value with NULL. After commit (and after MV has been refreshed), we process the journal table by removing series of change operations that are idempotent and then invoking the transformation and refinement functions based on the remaining operations.

44 Improved Incremental Enforcement Requires support for AFTER REFRESH and AFTER REFRESH ERROR triggers on MV Any modification to MV during REFRESH is journaled to a temporary journal table An AFTER REFRESH trigger will call the transformation and refinement functions as needed to update the keyword column and the recommendations table, based upon the changes to MV as recorded in the journal table

45 Improved Incremental Enforcement AFTER REFRESH ERROR trigger is useful in catching errors during REFRESH and may be used to return helpful errors. Avoids following problems No unnecessary NULL setting of keyword values whose disappearance is only transient during REFRESH. This also avoids use of row update trigger on keyword column. Processing of temporary journal table happens during the transaction that modifies the ontology, thereby avoiding any non-atomicity issues Errors encountered during MV REFRESH gets reported directly to the transaction that updated the ontology.

Module 9: Managing Schema Objects

Module 9: Managing Schema Objects Module 9: Managing Schema Objects Overview Naming guidelines for identifiers in schema object definitions Storage and structure of schema objects Implementing data integrity using constraints Implementing

More information

ORACLE DATABASE 12C INTRODUCTION

ORACLE DATABASE 12C INTRODUCTION SECTOR / IT NON-TECHNICAL & CERTIFIED TRAINING COURSE In this training course, you gain the skills to unleash the power and flexibility of Oracle Database 12c, while gaining a solid foundation of database

More information

Database Management Systems Introduction to DBMS

Database Management Systems Introduction to DBMS Database Management Systems Introduction to DBMS D B M G 1 Introduction to DBMS Data Base Management System (DBMS) A software package designed to store and manage databases We are interested in internal

More information

Lab IV. Transaction Management. Database Laboratory

Lab IV. Transaction Management. Database Laboratory Lab IV Transaction Management Database Laboratory Objectives To work with transactions in ORACLE To study the properties of transactions in ORACLE Database integrity must be controlled when access operations

More information

Chapter 8 - Sql-99 Schema Definition Constraints Queries And Views

Chapter 8 - Sql-99 Schema Definition Constraints Queries And Views Chapter 8 - Sql-99 Schema Definition Constraints Queries And Views Chapter 4 Outline SQL Data Definition and Data Types Specifying Constraints constraints, views, domains, and other constructs Each statement

More information

This presentation is for informational purposes only and may not be incorporated into a contract or agreement.

This presentation is for informational purposes only and may not be incorporated into a contract or agreement. This presentation is for informational purposes only and may not be incorporated into a contract or agreement. Oracle10g RDF Data Mgmt: In Life Sciences Xavier Lopez Director, Server Technologies Oracle

More information

UNIT-IV (Relational Database Language, PL/SQL)

UNIT-IV (Relational Database Language, PL/SQL) UNIT-IV (Relational Database Language, PL/SQL) Section-A (2 Marks) Important questions 1. Define (i) Primary Key (ii) Foreign Key (iii) unique key. (i)primary key:a primary key can consist of one or more

More information

Database Management System Dr. S. Srinath Department of Computer Science & Engineering Indian Institute of Technology, Madras Lecture No.

Database Management System Dr. S. Srinath Department of Computer Science & Engineering Indian Institute of Technology, Madras Lecture No. Database Management System Dr. S. Srinath Department of Computer Science & Engineering Indian Institute of Technology, Madras Lecture No. # 13 Constraints & Triggers Hello and welcome to another session

More information

Chapter 8: Working With Databases & Tables

Chapter 8: Working With Databases & Tables Chapter 8: Working With Databases & Tables o Working with Databases & Tables DDL Component of SQL Databases CREATE DATABASE class; o Represented as directories in MySQL s data storage area o Can t have

More information

OSDBQ: Ontology Supported RDBMS Querying

OSDBQ: Ontology Supported RDBMS Querying OSDBQ: Ontology Supported RDBMS Querying Cihan Aksoy 1, Erdem Alparslan 1, Selçuk Bozdağ 2, İhsan Çulhacı 3, 1 The Scientific and Technological Research Council of Turkey, Gebze/Kocaeli, Turkey 2 Komtaş

More information

New Features Guide Sybase ETL 4.9

New Features Guide Sybase ETL 4.9 New Features Guide Sybase ETL 4.9 Document ID: DC00787-01-0490-01 Last revised: September 2009 This guide describes the new features in Sybase ETL 4.9. Topic Page Using ETL with Sybase Replication Server

More information

Amendments & Transactions

Amendments & Transactions Slide 1 Amendments & Transactions Objectives of the Lecture : To consider amendments to a relation; To consider transactions in SQL. Slide 2 Relational Amendment Strictly speaking, relational amendment

More information

Overview. Data Integrity. Three basic types of data integrity. Integrity implementation and enforcement. Database constraints Transaction Trigger

Overview. Data Integrity. Three basic types of data integrity. Integrity implementation and enforcement. Database constraints Transaction Trigger Data Integrity IT 4153 Advanced Database J.G. Zheng Spring 2012 Overview Three basic types of data integrity Integrity implementation and enforcement Database constraints Transaction Trigger 2 1 Data Integrity

More information

An overview of RDB2RDF techniques and tools

An overview of RDB2RDF techniques and tools An overview of RDB2RDF techniques and tools DERI Reading Group Presentation Nuno Lopes August 26, 2009 Main purpose of RDB2RDF WG... standardize a language for mapping Relational Database schemas into

More information

Oracle. SQL(Structured Query Language) Introduction of DBMS. Build In Function. Introduction of RDBMS. Grouping the Result of a Query

Oracle. SQL(Structured Query Language) Introduction of DBMS. Build In Function. Introduction of RDBMS. Grouping the Result of a Query Oracle SQL(Structured Query Language) Introduction of DBMS Approach to Data Management Introduction to prerequisites File and File system Disadvantages of file system Introduction to TOAD and oracle 11g/12c

More information

Asst. Prof. Lipyeow Lim Information & Computer Science Department University of Hawaii at Manoa

Asst. Prof. Lipyeow Lim Information & Computer Science Department University of Hawaii at Manoa ICS 321 Spring 2011 Constraints, Triggers, Views & Indexes Asst. Prof. Lipyeow Lim Information & Computer Science Department University of Hawaii at Manoa 04/04/2011 Lipyeow Lim -- University of Hawaii

More information

SQL Server. Lecture3 Cascading referential integrity constraint

SQL Server. Lecture3 Cascading referential integrity constraint SQL Server Lecture3 Cascading referential integrity constraint insert into tblperson values (4,'May','Ma@m.com',4) Msg 547, Level 16, State 0, Line 1 The INSERT statement conflicted with the FOREIGN KEY

More information

II B.Sc(IT) [ BATCH] IV SEMESTER CORE: RELATIONAL DATABASE MANAGEMENT SYSTEM - 412A Multiple Choice Questions.

II B.Sc(IT) [ BATCH] IV SEMESTER CORE: RELATIONAL DATABASE MANAGEMENT SYSTEM - 412A Multiple Choice Questions. Dr.G.R.Damodaran College of Science (Autonomous, affiliated to the Bharathiar University, recognized by the UGC)Re-accredited at the 'A' Grade Level by the NAAC and ISO 9001:2008 Certified CRISL rated

More information

DATA AND SCHEMA MODIFICATIONS CHAPTERS 4,5 (6/E) CHAPTER 8 (5/E)

DATA AND SCHEMA MODIFICATIONS CHAPTERS 4,5 (6/E) CHAPTER 8 (5/E) 1 DATA AND SCHEMA MODIFICATIONS CHAPTERS 4,5 (6/E) CHAPTER 8 (5/E) 2 LECTURE OUTLINE Updating Databases Using SQL Specifying Constraints as Assertions and Actions as Triggers Schema Change Statements in

More information

5. Single-row function

5. Single-row function 1. 2. Introduction Oracle 11g Oracle 11g Application Server Oracle database Relational and Object Relational Database Management system Oracle internet platform System Development Life cycle 3. Writing

More information

1Copyright 2012, Oracle and/or its affiliates. All rights reserved.

1Copyright 2012, Oracle and/or its affiliates. All rights reserved. 1Copyright 2012, Oracle and/or its affiliates. All rights reserved. Patterns of SaaS: Database refactoring Leonid Igolnik, Marcin Burlinski Insert Picture Here The following is intended to outline our

More information

An efficient SQL-based querying method to RDF schemata

An efficient SQL-based querying method to RDF schemata An efficient SQL-based querying method to RDF schemata Maciej Falkowski 1, Czesław Jędrzejek 1 Abstract: Applications based on knowledge engineering require operations on semantic data. Traditionally,

More information

Newly-Created, Work-in-Progress (WIP), Approval Cycle, Approved or Copied-from-Previously-Approved, Work-in-Progress (WIP), Approval Cycle, Approved

Newly-Created, Work-in-Progress (WIP), Approval Cycle, Approved or Copied-from-Previously-Approved, Work-in-Progress (WIP), Approval Cycle, Approved A New Approach to Enterprise Data Organization A Cuboid Enterprises are generally overwhelmed with data, making the ability to store, process, analyze, interpret, consume, and act upon that data a primary

More information

COSC344 Database Theory and Applications. Lecture 11 Triggers

COSC344 Database Theory and Applications. Lecture 11 Triggers COSC344 Database Theory and Applications Lecture 11 Triggers COSC344 Lecture 11 1 Overview Last Lecture - PL/SQL This Lecture - Triggers - Source: Lecture notes, Oracle documentation Next Lecture - Java

More information

T-SQL Training: T-SQL for SQL Server for Developers

T-SQL Training: T-SQL for SQL Server for Developers Duration: 3 days T-SQL Training Overview T-SQL for SQL Server for Developers training teaches developers all the Transact-SQL skills they need to develop queries and views, and manipulate data in a SQL

More information

Lesson 5 Web Service Interface Definition (Part II)

Lesson 5 Web Service Interface Definition (Part II) Lesson 5 Web Service Interface Definition (Part II) Service Oriented Architectures Security Module 1 - Basic technologies Unit 3 WSDL Ernesto Damiani Università di Milano Controlling the style (1) The

More information

Database Management System 9

Database Management System 9 Database Management System 9 School of Computer Engineering, KIIT University 9.1 Relational data model is the primary data model for commercial data- processing applications A relational database consists

More information

Lab # 4. Data Definition Language (DDL)

Lab # 4. Data Definition Language (DDL) Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM 4113: Lab # 4 Data Definition Language (DDL) Eng. Haneen El-Masry November, 2014 2 Objective To be familiar with

More information

Relational Model: History

Relational Model: History Relational Model: History Objectives of Relational Model: 1. Promote high degree of data independence 2. Eliminate redundancy, consistency, etc. problems 3. Enable proliferation of non-procedural DML s

More information

Cross-loading of Legacy Data Using the Designer/2000 Repository Data Model OBJECTIVES ABSTRACT

Cross-loading of Legacy Data Using the Designer/2000 Repository Data Model OBJECTIVES ABSTRACT Cross-loading of Legacy Data Using the Designer/2000 Repository Data Model Jeffrey M. Stander ANZUS Technology International Presented at ODTUG 1996 Meeting OBJECTIVES To design and implement a methodology

More information

Chapter 7. Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel

Chapter 7. Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel Chapter 7 Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel 1 In this chapter, you will learn: The basic commands

More information

Approach for Mapping Ontologies to Relational Databases

Approach for Mapping Ontologies to Relational Databases Approach for Mapping Ontologies to Relational Databases A. Rozeva Technical University Sofia E-mail: arozeva@tu-sofia.bg INTRODUCTION Research field mapping ontologies to databases Research goal facilitation

More information

Database Management Systems Triggers

Database Management Systems Triggers Database Management Systems Triggers 1 Triggers Active Database Systems Oracle Triggers DB2 Triggers Differences between Oracle and DB2 Trigger Design 2 Database Management Systems Active Database Systems

More information

Oracle Database 12c SQL Fundamentals

Oracle Database 12c SQL Fundamentals Course Overview This course takes a unique approach to SQL training in that it incorporates data modeling theory, relational database theory, graphical depictions of theoretical concepts and numerous examples

More information

Oracle 1Z0-514 Exam Questions and Answers (PDF) Oracle 1Z0-514 Exam Questions 1Z0-514 BrainDumps

Oracle 1Z0-514 Exam Questions and Answers (PDF) Oracle 1Z0-514 Exam Questions 1Z0-514 BrainDumps Oracle 1Z0-514 Dumps with Valid 1Z0-514 Exam Questions PDF [2018] The Oracle 1Z0-514 Oracle Database 11g Essentials exam is an ultimate source for professionals to retain their credentials dynamic. And

More information

Adding formal semantics to the Web

Adding formal semantics to the Web Adding formal semantics to the Web building on top of RDF Schema Jeen Broekstra On-To-Knowledge project Context On-To-Knowledge IST project about content-driven knowledge management through evolving ontologies

More information

Listing of SQLSTATE values

Listing of SQLSTATE values Listing of values 1 of 28 5/15/2008 11:28 AM Listing of values The tables in this topic provide descriptions of codes that can be returned to applications by DB2 UDB for iseries. The tables include values,

More information

SQL Interview Questions

SQL Interview Questions SQL Interview Questions SQL stands for Structured Query Language. It is used as a programming language for querying Relational Database Management Systems. In this tutorial, we shall go through the basic

More information

5 RDF and Inferencing

5 RDF and Inferencing 5 RDF and Inferencing In Chapter 1XXX, we introduced the notion of dumb data, and how a more connected web infrastructure can result in behavior that lets smart applications perform to their potential.

More information

The C++ SoftBench Class Editor

The C++ SoftBench Class Editor The C++ SoftBench Class Editor The C++ SoftBench class editor adds automatic code generation capabilities to the class graph of the SoftBench static analyzer. Novice C++ programmers can concentrate on

More information

Creating and Managing Tables Schedule: Timing Topic

Creating and Managing Tables Schedule: Timing Topic 9 Creating and Managing Tables Schedule: Timing Topic 30 minutes Lecture 20 minutes Practice 50 minutes Total Objectives After completing this lesson, you should be able to do the following: Describe the

More information

The Relational Model. Relational Data Model Relational Query Language (DDL + DML) Integrity Constraints (IC)

The Relational Model. Relational Data Model Relational Query Language (DDL + DML) Integrity Constraints (IC) The Relational Model Relational Data Model Relational Query Language (DDL + DML) Integrity Constraints (IC) Why Study the Relational Model? Most widely used model in Commercial DBMSs: Vendors: IBM, Microsoft,

More information

EDUVITZ TECHNOLOGIES

EDUVITZ TECHNOLOGIES EDUVITZ TECHNOLOGIES Oracle Course Overview Oracle Training Course Prerequisites Computer Fundamentals, Windows Operating System Basic knowledge of database can be much more useful Oracle Training Course

More information

More SQL: Complex Queries, Triggers, Views, and Schema Modification

More SQL: Complex Queries, Triggers, Views, and Schema Modification Chapter 5 More SQL: Complex Queries, Triggers, Views, and Schema Modification Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 5 Outline More Complex SQL Retrieval Queries

More information

SEMANTIC WEB DATA MANAGEMENT. from Web 1.0 to Web 3.0

SEMANTIC WEB DATA MANAGEMENT. from Web 1.0 to Web 3.0 SEMANTIC WEB DATA MANAGEMENT from Web 1.0 to Web 3.0 CBD - 21/05/2009 Roberto De Virgilio MOTIVATIONS Web evolution Self-describing Data XML, DTD, XSD RDF, RDFS, OWL WEB 1.0, WEB 2.0, WEB 3.0 Web 1.0 is

More information

The Formal Syntax and Semantics of Web-PDDL

The Formal Syntax and Semantics of Web-PDDL The Formal Syntax and Semantics of Web-PDDL Dejing Dou Computer and Information Science University of Oregon Eugene, OR 97403, USA dou@cs.uoregon.edu Abstract. This white paper formally define the syntax

More information

Course 492 Supplementary Materials. Mutating Tables

Course 492 Supplementary Materials. Mutating Tables Course 492 Supplementary Materials Mutating Tables 1 Mutating Table Restriction A mutating table is a table that is currently being modified by an UPDATE, DELETE, or INSERT In the following example, the

More information

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe CHAPTER 26 Enhanced Data Models: Introduction to Active, Temporal, Spatial, Multimedia, and Deductive Databases 26.1 Active Database Concepts and Triggers Database systems implement rules that specify

More information

Relational Database Systems Part 01. Karine Reis Ferreira

Relational Database Systems Part 01. Karine Reis Ferreira Relational Database Systems Part 01 Karine Reis Ferreira karine@dpi.inpe.br Aula da disciplina Computação Aplicada I (CAP 241) 2016 Database System Database: is a collection of related data. represents

More information

Working with Databases and Database Objects - Answers

Working with Databases and Database Objects - Answers Working with Databases and Database Objects - Answers 44. The correct answer is D. In order to access a remote database from a client workstation, the database must be cataloged in the system database

More information

Join (SQL) - Wikipedia, the free encyclopedia

Join (SQL) - Wikipedia, the free encyclopedia 페이지 1 / 7 Sample tables All subsequent explanations on join types in this article make use of the following two tables. The rows in these tables serve to illustrate the effect of different types of joins

More information

Sql Server Syllabus. Overview

Sql Server Syllabus. Overview Sql Server Syllabus Overview This SQL Server training teaches developers all the Transact-SQL skills they need to create database objects like Tables, Views, Stored procedures & Functions and triggers

More information

Chapter 14. Active Databases. Database Systems(Part 2) p. 200/286

Chapter 14. Active Databases. Database Systems(Part 2) p. 200/286 Chapter 14 Active Databases Database Systems(Part 2) p. 200/286 Active Data? With the help of constraints (primary key, foreign key, check clauses) we increased the data semantics Anything that the database

More information

A Unit of SequelGate Innovative Technologies Pvt. Ltd. All Training Sessions are Completely Practical & Real-time

A Unit of SequelGate Innovative Technologies Pvt. Ltd. All Training Sessions are Completely Practical & Real-time SQL Basics & PL-SQL Complete Practical & Real-time Training Sessions A Unit of SequelGate Innovative Technologies Pvt. Ltd. ISO Certified Training Institute Microsoft Certified Partner Training Highlights

More information

A Conceptual Design Towards Semantic Geospatial Data Access

A Conceptual Design Towards Semantic Geospatial Data Access A Conceptual Design Towards Semantic Geospatial Data Access Mingzhen Wei 1, Tian Zhao 2, Dalia Varanka 1, E. Lynn Usery 1 1 U.S. Geological Survey, Rolla, MO, 65401, USA, {mwei, dvaranka, usery}@usgs.gov

More information

Chapter 2. DB2 concepts

Chapter 2. DB2 concepts 4960ch02qxd 10/6/2000 7:20 AM Page 37 DB2 concepts Chapter 2 Structured query language 38 DB2 data structures 40 Enforcing business rules 49 DB2 system structures 52 Application processes and transactions

More information

The Relational Model of Data (ii)

The Relational Model of Data (ii) ICS 321 Fall 2013 The Relational Model of Data (ii) Asst. Prof. Lipyeow Lim Information & Computer Science Department University of Hawaii at Manoa 1 Defining Relational Schema in SQL Two aspects: Data

More information

The Relational Model. Why Study the Relational Model? Relational Database: Definitions

The Relational Model. Why Study the Relational Model? Relational Database: Definitions The Relational Model Database Management Systems, R. Ramakrishnan and J. Gehrke 1 Why Study the Relational Model? Most widely used model. Vendors: IBM, Microsoft, Oracle, Sybase, etc. Legacy systems in

More information

Introduction to Computer Science and Business

Introduction to Computer Science and Business Introduction to Computer Science and Business The Database Programming with PL/SQL course introduces students to the procedural language used to extend SQL in a programatic manner. This course outline

More information

Advanced Database Applications. Object Oriented Database Management Chapter 13 10/29/2016. Object DBMSs

Advanced Database Applications. Object Oriented Database Management Chapter 13 10/29/2016. Object DBMSs Object Oriented Database Chapter 13 1 Object DBMSs Underlying concepts: Freely sharing data across processing routines creates unacceptable data dependencies All software should be constructed out of standard,

More information

What you have learned so far. Interoperability. Ontology heterogeneity. Being serious about the semantic web

What you have learned so far. Interoperability. Ontology heterogeneity. Being serious about the semantic web What you have learned so far Interoperability Introduction to the Semantic Web Tutorial at ISWC 2010 Jérôme Euzenat Data can be expressed in RDF Linked through URIs Modelled with OWL ontologies & Retrieved

More information

Essential SQLite3. Section Title Page

Essential SQLite3. Section Title Page One Introduction to SQL 2 Definition of SQL 3 Definition of a Database 4 Two Database Tables 5 Three The SQLite Interface 10 Introduction 11 Running SQLite 12 DOS commands 14 Copying and Pasting 17 Exiting

More information

More SQL: Complex Queries, Triggers, Views, and Schema Modification

More SQL: Complex Queries, Triggers, Views, and Schema Modification Chapter 5 More SQL: Complex Queries, Triggers, Views, and Schema Modification Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 5 Outline More Complex SQL Retrieval Queries

More information

Information Systems Engineering. Other Database Concepts

Information Systems Engineering. Other Database Concepts Information Systems Engineering Other Database Concepts 1 Views In a database it is possible to create virtual tables called views Views are not stored in the database They are defined and computed from

More information

KB_SQL Release Notes Version 4.3.Q2. Knowledge Based Systems, Inc.

KB_SQL Release Notes Version 4.3.Q2. Knowledge Based Systems, Inc. KB_SQL Release Notes Version 4.3.Q2 Copyright 2003 by All rights reserved., Ashburn, Virginia, USA. Printed in the United States of America. No part of this manual may be reproduced in any form or by any

More information

Appendix A. Using DML to Modify Data. Contents: Lesson 1: Adding Data to Tables A-3. Lesson 2: Modifying and Removing Data A-8

Appendix A. Using DML to Modify Data. Contents: Lesson 1: Adding Data to Tables A-3. Lesson 2: Modifying and Removing Data A-8 A-1 Appendix A Using DML to Modify Data Contents: Lesson 1: Adding Data to Tables A-3 Lesson 2: Modifying and Removing Data A-8 Lesson 3: Generating Numbers A-15 A-2 Using DML to Modify Data Module Overview

More information

Proje D2K. CMM (Capability Maturity Model) level Project Standard:- Corporate Trainer s Profile

Proje D2K. CMM (Capability Maturity Model) level Project Standard:- Corporate Trainer s Profile D2K Corporate Trainer s Profile Corporate Trainers are having the experience of 4 to 12 years in development, working with TOP CMM level 5 comapnies (Project Leader /Project Manager ) qualified from NIT/IIT/IIM

More information

Assorted Topics Stored Procedures and Triggers Pg 1

Assorted Topics Stored Procedures and Triggers Pg 1 Assorted Topics Stored Procedures and Triggers Pg 1 Stored Procedures and Triggers Ray Lockwood Points: A Stored Procedure is a user-written program stored in the database. A Trigger is a stored procedure

More information

Relational data model

Relational data model Relational data model Iztok Savnik FAMNIT, 18/19 Why Study the Relational Model? Most widely used model. Vendors: IBM, Informix, Microsoft, Oracle, Sybase, etc. Legacy systems in older models E.G., IBM

More information

Lab # 2. Data Definition Language (DDL) Eng. Alaa O Shama

Lab # 2. Data Definition Language (DDL) Eng. Alaa O Shama The Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM 4113: Database Lab Lab # 2 Data Definition Language (DDL) Eng. Alaa O Shama October, 2015 Objective To be familiar

More information

Chapter 4. The Relational Model

Chapter 4. The Relational Model Chapter 4 The Relational Model Chapter 4 - Objectives Terminology of relational model. How tables are used to represent data. Connection between mathematical relations and relations in the relational model.

More information

Manual Trigger Sql Server 2008 Insert Update Delete Selection

Manual Trigger Sql Server 2008 Insert Update Delete Selection Manual Trigger Sql Server 2008 Insert Update Delete Selection Since logon triggers are server-scoped objects, we will create any necessary additional objects in master. WHERE dbs IN (SELECT authenticating_database_id

More information

The Basic (Flat) Relational Model. Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

The Basic (Flat) Relational Model. Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley The Basic (Flat) Relational Model Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3 Outline The Relational Data Model and Relational Database Constraints Relational

More information

Modern Trends in Semantic Web

Modern Trends in Semantic Web Modern Trends in Semantic Web Miroslav Blaško miroslav.blasko@fel.cvut.cz January 15, 2018 Miroslav Blaško (miroslav.blasko@fel.cvut.cz) Modern Trends in Semantic Web January 15, 2018 1 / 23 Outline 1

More information

BUILDING THE SEMANTIC WEB

BUILDING THE SEMANTIC WEB BUILDING THE SEMANTIC WEB You might have come across the term Semantic Web Applications often, during talks about the future of Web apps. Check out what this is all about There are two aspects to the possible

More information

Experiences of Global Temporary Tables in Oracle 8.1

Experiences of Global Temporary Tables in Oracle 8.1 Experiences of Global Temporary Tables in Oracle 8.1 Global Temporary Tables are a new feature in Oracle 8.1. They can bring significant performance improvements when it is too late to change the design.

More information

doc. RNDr. Tomáš Skopal, Ph.D. RNDr. Michal Kopecký, Ph.D.

doc. RNDr. Tomáš Skopal, Ph.D. RNDr. Michal Kopecký, Ph.D. course: Database Systems (NDBI025) SS2017/18 doc. RNDr. Tomáš Skopal, Ph.D. RNDr. Michal Kopecký, Ph.D. Department of Software Engineering, Faculty of Mathematics and Physics, Charles University in Prague

More information

<Insert Picture Here> DBA s New Best Friend: Advanced SQL Tuning Features of Oracle Database 11g

<Insert Picture Here> DBA s New Best Friend: Advanced SQL Tuning Features of Oracle Database 11g DBA s New Best Friend: Advanced SQL Tuning Features of Oracle Database 11g Peter Belknap, Sergey Koltakov, Jack Raitto The following is intended to outline our general product direction.

More information

Data Manipulation (DML) and Data Definition (DDL)

Data Manipulation (DML) and Data Definition (DDL) Data Manipulation (DML) and Data Definition (DDL) 114 SQL-DML Inserting Tuples INSERT INTO REGION VALUES (6,'Antarctica','') INSERT INTO NATION (N_NATIONKEY, N_NAME, N_REGIONKEY) SELECT NATIONKEY, NAME,

More information

Using DDL Statements to Create and Manage Tables. Copyright 2004, Oracle. All rights reserved.

Using DDL Statements to Create and Manage Tables. Copyright 2004, Oracle. All rights reserved. Using DDL Statements to Create and Manage Tables Copyright 2004, Oracle. All rights reserved. Objectives After completing this lesson, you should be able to do the following: Categorize the main database

More information

Forward Chaining Reasoning Tool for Rya

Forward Chaining Reasoning Tool for Rya Forward Chaining Reasoning Tool for Rya Rya Working Group, 6/29/2016 Forward Chaining Reasoning Tool for Rya 6/29/2016 1 / 11 OWL Reasoning OWL (the Web Ontology Language) facilitates rich ontology definition

More information

Relational Database Components

Relational Database Components Relational Database Components Chapter 2 Class 01: Relational Database Components 1 Class 01: Relational Database Components 2 Conceptual Database Design Components Class 01: Relational Database Components

More information

Oracle SQL & PL SQL Course

Oracle SQL & PL SQL Course Oracle SQL & PL SQL Course Complete Practical & Real-time Training Job Support Complete Practical Real-Time Scenarios Resume Preparation Lab Access Training Highlights Placement Support Support Certification

More information

COMBINING X3D WITH SEMANTIC WEB TECHNOLOGIES FOR INTERIOR DESIGN

COMBINING X3D WITH SEMANTIC WEB TECHNOLOGIES FOR INTERIOR DESIGN COMBINING X3D WITH SEMANTIC WEB TECHNOLOGIES FOR INTERIOR DESIGN Konstantinos Kontakis, Malvina Steiakaki, Michael Kalochristianakis, Kostas Kapetanakis and Athanasios G. Malamos Acknowledgements This

More information

Towards an Integrated Information Framework for Service Technicians

Towards an Integrated Information Framework for Service Technicians Towards an Integrated Information Framework for Service Technicians Sebastian Bader, Jan Oevermann KIT The Research University in the Helmholtz Association www.kit.edu How it should be: I need to do maintenance

More information

Constraints. Primary Key Foreign Key General table constraints Domain constraints Assertions Triggers. John Edgar 2

Constraints. Primary Key Foreign Key General table constraints Domain constraints Assertions Triggers. John Edgar 2 CMPT 354 Constraints Primary Key Foreign Key General table constraints Domain constraints Assertions Triggers John Edgar 2 firstname type balance city customerid lastname accnumber rate branchname phone

More information

Database Systems Relational Model. A.R. Hurson 323 CS Building

Database Systems Relational Model. A.R. Hurson 323 CS Building Relational Model A.R. Hurson 323 CS Building Relational data model Database is represented by a set of tables (relations), in which a row (tuple) represents an entity (object, record) and a column corresponds

More information

ITCS 3160 DATA BASE DESIGN AND IMPLEMENTATION

ITCS 3160 DATA BASE DESIGN AND IMPLEMENTATION ITCS 3160 DATA BASE DESIGN AND IMPLEMENTATION JING YANG 2010 FALL Class 3: The Relational Data Model and Relational Database Constraints Outline 2 The Relational Data Model and Relational Database Constraints

More information

Introduction to Data Management. Lecture #4 (E-R Relational Translation)

Introduction to Data Management. Lecture #4 (E-R Relational Translation) Introduction to Data Management Lecture #4 (E-R Relational Translation) Instructor: Mike Carey mjcarey@ics.uci.edu Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke 1 Announcements v Today

More information

R2RML by Assertion: A Semi-Automatic Tool for Generating Customised R2RML Mappings

R2RML by Assertion: A Semi-Automatic Tool for Generating Customised R2RML Mappings R2RML by Assertion: A Semi-Automatic Tool for Generating Customised R2RML Mappings Luís Eufrasio T. Neto 1, Vânia Maria P. Vidal 1, Marco A. Casanova 2, José Maria Monteiro 1 1 Federal University of Ceará,

More information

Customisable Curation Workflows in Argo

Customisable Curation Workflows in Argo Customisable Curation Workflows in Argo Rafal Rak*, Riza Batista-Navarro, Andrew Rowley, Jacob Carter and Sophia Ananiadou National Centre for Text Mining, University of Manchester, UK *Corresponding author:

More information

Logic and Reasoning in the Semantic Web (part I RDF/RDFS)

Logic and Reasoning in the Semantic Web (part I RDF/RDFS) Logic and Reasoning in the Semantic Web (part I RDF/RDFS) Fulvio Corno, Laura Farinetti Politecnico di Torino Dipartimento di Automatica e Informatica e-lite Research Group http://elite.polito.it Outline

More information

Introduction to Database Systems. Announcements CSE 444. Review: Closure, Key, Superkey. Decomposition: Schema Design using FD

Introduction to Database Systems. Announcements CSE 444. Review: Closure, Key, Superkey. Decomposition: Schema Design using FD Introduction to Database Systems CSE 444 Lecture #9 Jan 29 2001 Announcements Mid Term on Monday (in class) Material in lectures Textbook Chapter 1.1, Chapter 2 (except 2.1 and ODL), Chapter 3 (except

More information

Introduction to Databases CS348

Introduction to Databases CS348 Introduction to Databases CS348 University of Waterloo Winter 2007 University of Waterloo () Introduction to Databases 1 / 20 Course Outline Why do we use Databases? How do we use a DBMS? Functionality

More information

Greens Technology s Contact :

Greens Technology s Contact : PL/SQL - Interview Questions ============================ 1. Is it possible to Auto-Refresh the Materialize View?(Polaris) 2. Explain diff. types of Indexes? Which one is fasted?(ibm) 3. How to send mails

More information

Enterprise Information Integration using Semantic Web Technologies:

Enterprise Information Integration using Semantic Web Technologies: Enterprise Information Integration using Semantic Web Technologies: RDF as the Lingua Franca David Booth, Ph.D. HP Software Semantic Technology Conference 20-May-2008 In collaboration with Steve Battle,

More information

An Archiving System for Managing Evolution in the Data Web

An Archiving System for Managing Evolution in the Data Web An Archiving System for Managing Evolution in the Web Marios Meimaris *, George Papastefanatos and Christos Pateritsas * Institute for the Management of Information Systems, Research Center Athena, Greece

More information

Using DDL Statements to Create and Manage Tables. Copyright 2004, Oracle. All rights reserved.

Using DDL Statements to Create and Manage Tables. Copyright 2004, Oracle. All rights reserved. Using DDL Statements to Create and Manage Tables Copyright 2004, Oracle. All rights reserved. Objectives After completing this lesson, you should be able to do the following: Categorize the main database

More information

Grid Resources Search Engine based on Ontology

Grid Resources Search Engine based on Ontology based on Ontology 12 E-mail: emiao_beyond@163.com Yang Li 3 E-mail: miipl606@163.com Weiguang Xu E-mail: miipl606@163.com Jiabao Wang E-mail: miipl606@163.com Lei Song E-mail: songlei@nudt.edu.cn Jiang

More information

Oracle Endeca Information Discovery

Oracle Endeca Information Discovery Oracle Endeca Information Discovery Glossary Version 2.4.0 November 2012 Copyright and disclaimer Copyright 2003, 2013, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered

More information