Title: The TSIMMIS Approach to Mediation: Data Models and Languages
1The TSIMMIS Approach to Mediation Data Models
and Languages
- Hector Garcia-Molina
- Yannis Papakonstantinou
- Dallan Quass
- Anand Rajaraman
Yehoshua Sagiv Jeffrey Ullman Vasilis
Vassalos Jennifer Widom
Stanford University
Presented by Craig Parker for BYU CS652
2TSIMMIS The Problem
- There are many different sources of information.
- The format of the data in these sources may vary
greatly. - It is difficult to model the data when the
original structures are so different.
3TSIMMIS The Solution
- The Stanford-IBM Manager of Multiple Information
Sources (TSIMMIS) - Offers
- A flexible data model
- A common query language
- Other supporting tools
4TSIMMIS Components
- OEM (Object-Exchange Model)
- MSL (Mediator Specification Language)
- Wrappers
- LOREL (Lightweight Object REpository Language)
5TSIMMIS OEM
- Object Exchange Model
- The data model for TSIMMIS
- self-describing (labels carry all of the
information that there is about an object) - Flexible
- First order logic
6TSIMMIS OEM
set or string
Object Identifier
type
value
OID
label
Human Understandable
A set or a string
7TSIMMIS OEM
library
set
book
set
author
string
Aho
title
string
Compilers
8TSIMMIS OEM
First order predicate logic
author
string
Aho
123
title( T, Aho )
This would return the object IDs of all objects
with a label title and value Aho.
9TSIMMIS MSL
- Mediator Specification Language
- Allows declarative specification of mediators
- Object oriented, logical query language
- Targeted to OEM
10TSIMMIS MSL
Query
Mediator
What is a mediator?
Mediator
Wrapper
Wrapper
Source
Source
11TSIMMIS MSL
An MSL Example
library
set
book
set
author
string
Aho
title
string
Compilers
ltbooktitle Xgt - ltlibrary ltbook lttitle Xgt
ltauthor Ahogt gt gt _at_s1
12TSIMMIS Wrappers
13TSIMMIS Wrappers
Query
- Wrappers are similar to database drivers
- Wrappers are written with MSL
Mediator
Mediator
Wrapper
Wrapper
Source
Source
14TSIMMIS Wrappers
MSL template // action //
ltbooks Xgt - ltlibrary Xltbook lttitle Xgt
ltauthor AUgtgt gt_at_s1 // sprintf(lookup-query,
find author s, AU) //
15TSIMMIS Wrappers
- Query Normalization
- Uses logical deduction to enhance the
capabilities of the wrapper or mediator - Examples
- Changing the order ANDed subconditions
- Transitive closure
16TSIMMIS LOREL
- Lightweight Object REpository Language
- An OQL for OEM
- The end-user language for TSIMMIS
17TSIMMIS LOREL
select library.book.title from library where
library.book.author Aho
18TSIMMIS LOREL
select R.A from R, S, T where R.A S.A or R.A
T.A
- This would fail to return anything in SQL if
either S or T were empty. - Because of partial match semantics this does not
fail in LOREL
19TSIMMIS Summary
- OEM is a flexible OO data model
- MSL can specify both mediators and wrappers
- Query normalization increases the power of
mediators and wrappers - LOREL is flexible and powerful