Paolo Terenziani, Alessio Bottrighi, Stefania Montani

Slides:



Advertisements
Similar presentations
Clinical Guidelines Adaptation: Managing Authoring and Versioning Issues Paolo Terenziani 1, Stefania Montani 1, Alessio Bottrighi 1, Gianpaolo Molino.
Advertisements

Provenance-Aware Storage Systems Margo Seltzer April 29, 2005.
Extending Temporal Databases to Deal with Telic/Atelic Medical Data Paolo Terenziani 1, Richard T. Snodgrass 2, Alessio Bottrighi 1, Mauro Torchio 3, Gianpaolo.
From Handbook of Temporal Reasoning in Artificial Intelligence By Jan Chomicki & David Toman Temporal Databases Presented by Leila Jalali CS224 presentation.
Exploiting decision theory for supporting therapy selection in computerized clinical guidelines Stefania Montani, Paolo Terenziani, Alessio Bottrighi DI,
Outline  Introduction  Background  Distributed DBMS Architecture  Distributed Database Design  Semantic Data Control ➠ View Management ➠ Data Security.
Relational Database. Relational database: a set of relations Relation: made up of 2 parts: − Schema : specifies the name of relations, plus name and type.
A Case-based Approach to Business Process Monitoring S. Montani 1, G. Leonardi 1 1 Dipartimento di Informatica, University of Piemonte Orientale, Alessandria,
BCDM Temporal Domains - Time is linear and totally ordered - Chronons are the basic time unit - Time domains are isomorphic to subsets of the domain of.
Advanced Databases Temporal Databases Dr Theodoros Manavis
Identity Management Based on P3P Authors: Oliver Berthold and Marit Kohntopp P3P = Platform for Privacy Preferences Project.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3 The Basic (Flat) Relational Model.
1 Relational Model. 2 Relational Database: Definitions  Relational database: a set of relations  Relation: made up of 2 parts: – Instance : a table,
The Relational Model Lecture 3 Book Chapter 3 Relational Data Model Relational Query Language (DDL + DML) Integrity Constraints (IC) From ER to Relational.
CS405G: Introduction to Database Systems Final Review.
Applying formal methods to clinical guidelines: the case of temporal information Paolo Terenziani Dipartimento di Informatica, Univ. del Piemonte Orientale.
CONSTRAINTS AND UPDATES CHAPTER 3 (6/E) CHAPTER 5 (5/E) 1.
Information storage: Introduction of database 10/7/2004 Xiangming Mu.
National Survey and Cadastre – Denmark Conceptual Modeling of Geographic Databases - Emphasis on Relationships among Geographic Databases Anders Friis-Christensen.
The Relational Model. Review Why use a DBMS? OS provides RAM and disk.
Context Tailoring the DBMS –To support particular applications Beyond alphanumerical data Beyond retrieve + process –To support particular hardware New.
DatabaseIM ISU1 Fundamentals of Database Systems Chapter 5 The Relational Data Model.
DBSQL 3-1 Copyright © Genetic Computer School 2009 Chapter 3 Relational Database Model.
Recent research : Temporal databases N. L. Sarda
9/7/2012ISC329 Isabelle Bichindaritz1 The Relational Database Model.
CMPT 354, Simon Fraser University, Fall 2008, Martin Ester 136 Database Systems I SQL Modifications and Transactions.
Databases Shortfalls of file management systems Structure of a database Database administration Database Management system Hierarchical Databases Network.
Clinical Guidelines Contextualization in GLARE Alessio Bottrighi*, Paolo Terenziani*, Stefania Montani*, Mauro Torchio #, Gianpaolo Molino # *DI, Univ.
Efficient RDF Storage and Retrieval in Jena2 Written by: Kevin Wilkinson, Craig Sayers, Harumi Kuno, Dave Reynolds Presented by: Umer Fareed 파리드.
Chapter 2 Database System Concepts and Architecture Dr. Bernard Chen Ph.D. University of Central Arkansas.
E.Bertino, L.Matino Object-Oriented Database Systems 1 Chapter 5. Evolution Seoul National University Department of Computer Engineering OOPSLA Lab.
Applying AI temporal reasoning techniques to Clinical Guidelines Luca Anselma%, Paolo Terenziani*, Stefania Montani*, Alessio Bottrighi* %DI, Università.
1 CS 430 Database Theory Winter 2005 Lecture 4: Relational Model.
CSE314 Database Systems Lecture 3 The Relational Data Model and Relational Database Constraints Doç. Dr. Mehmet Göktürk src: Elmasri & Navanthe 6E Pearson.
ECOMPOSE: development of Executable COntent in Medicine using Proprietary and Open Standards Engineering Dipartimento di Informatica, Universita’ del Piemonte.
“Architecture” The outcome of top-level design, reflecting principal design decisions Can (and should) be modified and updated Analogous to architecture.
CS34311 The Relational Model. cs34312 Why Relational Model? Currently the most widely used Vendors: Oracle, Microsoft, IBM Older models still used IBM’s.
Temporal Data Modeling
Lecture 03 Constraints. Example Schema CONSTRAINTS.
1 The T4SQL Temporal Query Language Presented by 黃泰豐 2007/12/26.
The relational model1 The relational model Mathematical basis for relational databases.
CPT-S Advanced Databases 11 Yinghui Wu EME 49.
CENG 351 File Structures and Data Management1 Relational Model Chapter 3.
More SQL: Complex Queries, Triggers, Views, and Schema Modification
Databases and DBMSs Todd S. Bacastow January 2005.
Logical Database Design and the Rational Model
A Generalized Modeling Framework for Schema Versioning Support
Chapter 8: Concurrency Control on Relational Databases
Introduction to Relational Model
Relational Model By Dr.S.Sridhar, Ph.D.(JNUD), RACI(Paris, NICE), RMR(USA), RZFM(Germany)
Light-weight Ontology Versioning with Multi-temporal RDF Schema
Dynamic Multi-version Ontology-based Personalization
Chapter 15 Basics of Functional Dependencies and Normalization for Relational Databases.
Relational Algebra Chapter 4, Part A
Translation of ER-diagram into Relational Schema
Relational Algebra 461 The slides for this text are organized into chapters. This lecture covers relational algebra, from Chapter 4. The relational calculus.
Data, Databases, and DBMSs
Multi-temporal RDF Ontology Versioning
Temporal Databases.
Relational Algebra Chapter 4, Sections 4.1 – 4.2
Data Model.
Normalization DB Design Guidelines Presented by: Dr. Samir Tartir
Metadata The metadata contains
Database Design: Relational Model
Instructor: Mohamed Eltabakh
Extending computer guideline system with advanced AI and DB facilities
Fabio Grandi DEIS - Univ. of Bologna, Italy
Query-by-Example Transparencies
CS240A: Databases and Knowledge Bases A Taxonomy of Temporal DBs
INTRODUCTION A Database system is basically a computer based record keeping system. The collection of data, usually referred to as the database, contains.
Presentation transcript:

A Semantic Framework for Supporting Cooperative Work in Relational Temporal Databases Paolo Terenziani, Alessio Bottrighi, Stefania Montani Dipartimento di Informatica, Univ. Piemonte Orientale, Alessandria, Italy Luca Anselma, Dipartimento di Informatica, Univ. Torino, Italy

Outline Introduction Goals and Criteria Data Model Manipulation operations Algebra Conclusions

Introduction (1/5) Cooperative work: Important, e.g. software development - Multiple alternative proposals - Selection Software engineering tools

Introduction (2/5) Cooperative work: Analogous problems using DBs to model complex domains Incremental modeling, cooperative work

* Guideline to be stored in a DB Introduction (3/5) The case of clinical guidelines: General guideline proposed by a standardization committee Proposals of update Local contextualization New therapies Evaluation of proposals * Guideline to be stored in a DB

Introduction (4/5) Open issues Augmenting DB approaches to support cooperative work, i.e.: Distinction between two phases: proposals and acceptance/rejection History of the evolution of the proposals Alternative proposals * Notice: usual semantics of (relational) DBs, conjunction of tuples

Introduction (5/5) Context Both VT and TT should be supported “Consensus” approach (TSQL2) with a high-level semantics (BCDM) BCDM supports several TDB implementations (not only TSQL2)

Goals (1/3) Extending BCDM to support cooperative updates Propose vs accept/reject Alternative proposals of updates Notice: underlined implementation

Criteria (2/3) Under-constrained policy: Super user vs user Super user operations: standard + accept/reject proposals User operations: delete (not proposals) Insert Update (chains allowed) * Notice: easy to specialize E.g.: policy 1: super users can only accept/reject

Criteria (3/3) “Minimal” extension of BCDM: Upward compatibility (manipulation operations) Reducibility (algebra)

Data Model (1/9) Two data levels needed: Super users (accepted) data User proposals * Notice: proposals need to be maintained and affect super-user data only if/when accepted

Data Model (2/9) Authoring Note: author as a data attribute - Basically a “standard” data attribute (however, author cannot be modified)

Data Model (3/9) Super user data Standard BCDM semantics

Data Model (4/9) user proposals For each super-user relation r: pi(r): set of insert proposals in r pd(r): set of proposals of deletion of tuples in r pu(r): set of updates of tuples (in r, pi(r), pu(r))

Data Model (5/9) insert proposals pi(r) is a set of standard BCDM tuples

Data Model (6/9) delete proposals pd(r) is a set of standard transaction-time tuples * Notice: no value-equivalent data in r  VT not needed

Data Model (7/9) update proposals Update involves: An origin tuple to be updated (time not needed) A new temporal tuple (standard BCDM tuple) * Notice: multiple update proposals involving the same origin are in alternative

Data Model (8/9) update proposals Definition: proposal tuple An origin A non empty set of (bi)temporal tuples t <a1,T1> <an,Tn> ……… Semantic interpretation: disjunctive set of alternative proposals (each one is a BCDM tuple)

Data Model (9/9) update proposals pu(r) is a set of proposal tuples Property: uniqueness of representation (two Proposal-relations defined over the same schema are snapshot equivalent iff they are identical )

Manipulation operations E.g.: propose update(r,origin,old,new,VT) <origin,old> identify the update proposal to be modified origin old t <a1,T1> <an,Tn> ……… IF origin=old a super-user tuple must be modified

Manipulation operations E.g.: propose update(r,origin,old,new,VT) IF admissible IF  ptpu(r) with origin(pt)=origin THEN add <origin, <new,user,UCVT>> in pu(r) IF  ptpu(r) with origin(pt)=origin  ( a1  alternatives(pt)\ a1 value equivalent to ‘new’ OR  a1  alternatives(pt)\ a1 value equivalent to ‘new’  user(a) user) THEN add ‘new’ to alternatives(pt) user(a) = user THEN add (UCVT) to the bitemporal of a1 * Notice: value equivalent proposals for the same origin are not allowed

Manipulation operations ADMISSIBILITY OF PROPOSE UPDATE OP. origin: in r or in pi(r) & current old: old (old=origin OR old origin) & current new: ( tuple t r & current & t value equivalent to ‘new’  t value equivalent to origin) &  proposal value equivalent to t with same VT

Manipulation operations ADMISSIBILITY OF PROPOSE UPDATE OP. Condition on ‘new’: example r: {<a,Ta>,<b,Tb>,…..} (r is a super-user relation) Admissible update: a  <a,T’> NOT admissible: b  <a,T’>

Manipulation operations E.g.: accept update proposal IF admissible IF  tr \ t value equivalent to origin  current(t) THEN DELETE(t); INSERT(new); close UC to all alternative proposals concerning origin IF  tr \ t value equivalent to origin  current(t)   tpi(r) \ t value equivalent to origin  current(t) THEN INSERT(new); close UC to all alternative proposals concerning origin admissible:  ptpu(r) with origin(pt)=origin  newalternatives(pt)  current(new)  [( tr \ t value equivalent to new  current(t))  t value equivalent to origin] Notice: the alternatives of the selected updated are no longer allowed

Manipulation Operations “two level” check on legal operations 1) Proposal Time Super: <a, vt1> Propose_update (x | <a, vt2>) REJECTED 2) Evaluation Time Super: <y, vt3>, <x, vt4> (1) Propose_update (y | <a, vt2>) Propose_update (x | <a, vt3>) Accept (1) Accept (2) REJECTED

Manipulation operations Property 1. Upward compatibility with BCDM Moreover, if Policy 1 is adopted: Property 2. “Semantic” upward compatibility propose(OP) accept OP Our approach BCDM

Algebraic operations Standard BCDM algebraic operations for super-user and for pi and pd Conversion operations on pu: origin(pu(r)) = {o \ pt pu(r)  o origin(pt)} = { o \ <o, (a1,…, an)>  pu(r)} alternatives(pu(r)) = {a \ ptpu(r)  a alternatives(pt)} = {(a1,…, an) \ <o, {a1,…, an}>  pu(r)}

Algebraic operations E.g.: natural join: r⋈A s = { z=<origin(z),alternatives(z)> \ IF $pt1Îr , $pt2Îs \ origin(pt1)[A]= origin(pt2) [A] Ù $a1Îalternatives(pt1), $a2Îalternatives(pt2) \ a1[A]=a2[A] Ù a1[T]a2[T]  THEN origin(z)[A]=origin(pt1)[A] Ù z[B]=origin(pt1)[B] Ù z[C]=origin(pt2)[C] Ù altÎalternatives(z), where alt[A]=a1[A]=a2[A] Ù alt[B]=a1[B] Ù alt[C]=a2[C] Ù alt[T]=a1[T]a2[T] }

Algebraic operations Definition: conv conv(pu(r))={(a1,…,an,a’1,…,a’n,T)\ ptpu(r) \ (a1,…,an)=origin(pt)  (a’1,…,a’n)=alternatives(pt) } t <a1,T1> <an,Tn> ……… Semantic level Tn t an T1 a1 … Relational level conv

Algebraic operations Property: reducibility (!?) conv( OpA( pu(r) ) ) = OpBCDM( conv( pu(r) ) ) * Note: underlying possible implementation

Implementation (idea) (Data Abstraction) SEMANTIC Level PROPOSAL RELATION Conv Accept Op Propose Op Algebraic Op Accept Op Propose Op Algebraic Op

Conclusions Problem of cooperative update to DB’s is important New problem in DB field Semantic approach extending BCDM to support (1) proposal\evaluation & (2) alternative proposals Data model Manipulation operations Algebra Upward compatibility\reducibility Easy Implementability