SlideShare una empresa de Scribd logo
1 de 29
Schema Matching and Integration
IIS 651 (S 2022)
1
Outline
 Schema and Schema Matching
 Schema Heterogeneity & Data Interoperability
 Large Scale Scenarios concerning Schema Matching and
Integration
 Related Work
 Our approach to handle Large Scale Scenario
 PORSCHE (Performance Oriented Schema Mediation)
 Future Research Directions
2
Schema
origin in Greek, meaning "shape“ or "plan"
From computer science perspective –
• description of the relationship of data/ information in some
structured way or
• a set of rules defining the relationship
or
• a model to represent the data
For example
• Relational Schema
• XML Schema
• Class Diagram ….
3
Relational Database Schema
4
book_id
book
title
author_id
author
name pub_id
publisher
name
book_id
detail
author_id pub_id
books
XML Schema
5
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="time">
<xs:complexType/>
</xs:element>
<xs:element name="day">
<xs:complexType/>
</xs:element>
<xs:element name="courseCode">
<xs:complexType mixed="true">
<xs:sequence>
<xs:element ref="time"/>
<xs:element ref="day"/>
<xs:element ref="Instructor"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="arizonaCourses">
<xs:complexType>
<xs:sequence>
<xs:element ref="courseCode"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Instructor">
<xs:complexType/>
</xs:element>
</xs:schema>
Web Interface Form Schema
From city or airport* To city or airport*
I f y o u a r e u n s u r e o f t h e s p e l l i n g o f a c i t y o r a i r p o r t , e n t e r t h e
f i r s t 3 o r m o r e l e t t e r s f o l l o w e d b y a n a s t e r i s k ( * ) .
Departure date Departure time
Jul 2008 23 Any Time
Wednesday
Return Date Return time
Jul 2008 24 Any Time
Thursday
Traveler types
Adults
(12-64 yrs)
1
Children
(2-11 yrs)
0
Seniors
(65+ yrs)
0
Infants (0-
23 months)
0
Cabin type
Coach
Direct or Non-Stop flights only
More search options
6
Schema Matching
7
• Takes two schemas/ontologies as input and produces a
mapping between elements of the two schemas that
correspond semantically to each other [Halevy05]
1-1 match
complex match
26,60 Harry Potter J. K. Rowling
11,50 Marie Des Juliette Benzoni
Intrigues
16,50 Nous Les Bernard Werber
Dieux
24 Pompei Robert Harris
price book-title author-name
Books
Source A
listed-price title a-fname a-lname
Books
Source B
Applications of Schema Matching
• Data Interoperability
• Data Integration
• Data Warehousing
• Catalogue Integration
• Web Services Discovery and
Composition
• Query over the Web
• ...
• Data Exchange
• E-commerce
• Agents Communication
• ...
8
Static
Dynamic
Contributing
Schema Set Not
Evolving >>
Matching and
Mapping is one
time process
Contributing
Schema Set
Evolving >>
Matching and
Mapping also
evolve
PROBLEM?
9
Schema Heterogeneity &
Data Interoperability
• A key roadblock for information integration!
• Different data sources speak their own schema
10
Consumer
Data Source
Data Source
Data Source
Hotels, Youth Centers
Lodges, Restaurants
Beaches, Volcanoes
Hotel, Restaurant,
AdventureSports,
HistoricalSites
SOLUTION!
Schema Mediation
11
Schema Integration and Mediation
• All concerned data sources schemas are merged together into one
schema, without any concept redundancy. i.e. similar concepts are
represented by one concept
• All the input data sources schemas are mapped to this integrated
schema, also called the mediated schema
12
Consumer
Data Source
Data Source
Data Source
Hotels, Youth Centers
Lodges, Restaurants
Beaches, Volcanoes
Hotel, Restaurant,
AdventureSports,
HistoricalSites
Mediation
Mediation
Schema Mapping is key to any data sharing architecture
13
[Tomasic et al. IEEE TKDE 1998].
Mediated Schema
Source n
Source 1 Source 2
mappings
...
wrapper wrapper wrapper
User Query
sub-query
sub-query
sub-query
Schema
Matching, Mapping, Integration & Mediation
14
S1
B C
S2
B1 C2
C1
Matching
S1
B C
S2
B1 C2
C1
Mapping
Merging/ Integration
Si
B C1
C
Mediation
Si
B C1
C
S1
B C
S2
B1 C2
C1
Finding similarities
between schemas
Final correspondences
between elements
of two schemas
Based upon schema
mappings, merging
schemas into one schema
Mappings from source
schemas to the integrated
schema for data interoperability
Different Research Domains - Mediation
15
Mediation
Distributed
Databases
Data
Warehousin
g
Data Mining
……………
Informatio
n Retrieval
Knowledge
Extraction
LARGE SCALE
PROBLEM!
16
Large Scale Scenario
• Creating a mediated schema from two large schemas (with thousands
of nodes).
• For example Open Applications Group Integration Specification (OAGIS)1
XML schema instances with number of elements in thousands
• Creating a mediated schema from a large set of schemas (with
hundreds of schemas and thousands of nodes)
• For example creating a mediated web interface input form (schema) from
the hundreds of web interface forms (schemas) related to travel domain2
17
1. http://www.openapplications.org/
2. http://metaquerier.cs.uiuc.edu
Large scale schema matching and integration requires
automated approach
Related Work
18
Pre-Match
eTuner
[Lee&Doan 07]
Amid-Match
SCIA
[Wang et al 07]
Post-Match
COMA++
[Do et al 07,
Manakanatas06]
Tuning approach
Large Scale Schema Matching and
Integration Approaches
Incremental Holistic
Fragmentation Clustering Mining
Data-mining
Element
Level
Schema
Level
Tree-mining
COMA++
[Do&Rahm07]
BellFlower
[Smiljanic06]
DCM [He et al 04]
xClust
[Lee et al 02]
PORSCHE
[Saleem et al 08]
An approach to handle
Large Scale Scenario
 Handle Schemas as Trees
 Apply the Clustering Method
 Use Tree Mining
 Devise Hybrid Approach
19
Result
Automated Approach having
Good Time Performance with
Approximate Match Quality
From city or airport* To city or airport*
I f y o u a r e u n s u r e o f t h e s p e l l i n g o f a c i t y o r a i r p o r t , e n t e r t h e
f i r s t 3 o r m o r e l e t t e r s f o l l o w e d b y a n a s t e r i s k ( * ) .
Departure date Departure time
Jul 2008 23 Any Time
Wednesday
Return Date Return time
Jul 2008 24 Any Time
Thursday
Traveler types
Adults
(12-64 yrs)
1
Children
(2-11 yrs)
0
Seniors
(65+ yrs)
0
Infants (0-
23 months)
0
Cabin type
Coach
Direct or Non-Stop flights only
More search options
20
Schemas as trees – Web Interface Forms
absTravel
From
D_City
To
A_City
Departure
Date
D_Month
D_Day
D_Time
Return
Date
R_Month
R_Day
R_Time
CabinType
TravelerTypes
Adults
Children
Seniors
Infants
absTravel
D_City
D_Day
Return
D_Month
Departure
A_City
D_Time
CabinType
Adults
Children
Seniors
Infants
D_Day
D_Month
D_Time
TravlerTypes
From
To
Date
Date
[He et al. KDD 2004]
Schemas as trees – Relational Database
21
books
book_id
author_id
author
detail
name
publisher
title
pub_id name
book_id
book
title
author_id
author
name pub_id
publisher
name
book_id
detail
author_id pub_id
books
[Lee et al. CIKM 2006]
Schemas as trees – XML Schema
22
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="time">
<xs:complexType/>
</xs:element>
<xs:element name="day">
<xs:complexType/>
</xs:element>
<xs:element name="courseCode">
<xs:complexType mixed="true">
<xs:sequence>
<xs:element ref="time"/>
<xs:element ref="day"/>
<xs:element ref="Instructor"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="arizonaCourses">
<xs:complexType>
<xs:sequence>
<xs:element ref="courseCode"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Instructor">
<xs:complexType/>
</xs:element>
</xs:schema>
arizonaCourses
courseCode
day
time place instructor
A speculatively rooted tree for rRNA genes
23
Schema Tree Benefit
• Tree structure for a data model inherently supports the contextual
meanings of the descendent nodes.
24
A
B
C
S1
D
A1
B1
C11
C1
S2
D
D
X
A
B C
D
S1
A1
B C11
C1
D D
S2
Element Level Clustering
• Clustering helps in target search space optimization
• Schema elements clustering based on label similarity
25
A
B
C
A1
B1
C4
C1
A
B
C2
A1
B1
C3
C5
D
D
S1 S2 S3 Si
Node Labels Similarity
C ≈ C1 ≈ C2 ≈ C3 ≈ C4 ≈ C5
t1 t2 t3 t4 …… tn
s1
s2
s3
s4
…
sm
a1
a2
a3
a4 …
aq
Typical matching scenario
Tree Mining Aspect
• Tree mining finds frequent sub-trees in a given set of trees;
• similar to schema matching, which finds similar concepts among a set of
schemas
• Use of data structures supporting tree mining algorithms for schema
matching is possible
• Helps in handling Large Scale Scenario
• Supports the context of nodes
26
computers
Desktop notebook
Software
Desktop notepad
Tree mining example
• Element Level Matching (sub-tree size 1)
• Structure Level Matching (sub-tree size > 1)
27
b
a p
n
t
n
b
a f
n
t
p i
n
b
d
a
f
t p r
a
n h b
t
a
n
b
t
b
p t ……
Hybrid Approach
28
Matching
Mapping
Integratio
n
Mediation
Schema Trees
Clustering
Tree Mining
Database Research Advances Reports
• https://dsf.berkeley.edu/claremont/claremontreport08.pdf
• https://beckman.cs.wisc.edu/beckman-report2013.pdf
• https://link.springer.com/article/10.1007/s10796-017-9819-2
• https://sigmodrecord.org/publications/sigmodRecord/1912/pdfs/07_
Reports_Abadi.pdf Last one 2018 …
• https://www.sciencedirect.com/science/article/pii/S0306437908000
15X
• https://vldb.org/2021/?papers-research
29

Más contenido relacionado

Similar a Lecture 05-SchemaMatching.ppt

Graph Database and Neo4j
Graph Database and Neo4jGraph Database and Neo4j
Graph Database and Neo4j
Sina Khorami
 
L2s 090701234157 Phpapp02
L2s 090701234157 Phpapp02L2s 090701234157 Phpapp02
L2s 090701234157 Phpapp02
google
 

Similar a Lecture 05-SchemaMatching.ppt (20)

Graph Abstractions Matter by Ora Lassila
Graph Abstractions Matter by Ora LassilaGraph Abstractions Matter by Ora Lassila
Graph Abstractions Matter by Ora Lassila
 
Graph Database and Neo4j
Graph Database and Neo4jGraph Database and Neo4j
Graph Database and Neo4j
 
An Ontology for K-12 Education and the NIEM
An Ontology for K-12 Education and the NIEMAn Ontology for K-12 Education and the NIEM
An Ontology for K-12 Education and the NIEM
 
Using the Chebotko Method to Design Sound and Scalable Data Models for Apache...
Using the Chebotko Method to Design Sound and Scalable Data Models for Apache...Using the Chebotko Method to Design Sound and Scalable Data Models for Apache...
Using the Chebotko Method to Design Sound and Scalable Data Models for Apache...
 
Semantic web Santhosh N Basavarajappa
Semantic web   Santhosh N BasavarajappaSemantic web   Santhosh N Basavarajappa
Semantic web Santhosh N Basavarajappa
 
The Hidden Web, XML and the Semantic Web: A Scientific Data Management Perspe...
The Hidden Web, XML and the Semantic Web: A Scientific Data Management Perspe...The Hidden Web, XML and the Semantic Web: A Scientific Data Management Perspe...
The Hidden Web, XML and the Semantic Web: A Scientific Data Management Perspe...
 
CBS CEDAR Presentation
CBS CEDAR PresentationCBS CEDAR Presentation
CBS CEDAR Presentation
 
Semantic web
Semantic webSemantic web
Semantic web
 
MIT302 Lesson 2_Advanced Database Systems.pptx
MIT302 Lesson 2_Advanced Database Systems.pptxMIT302 Lesson 2_Advanced Database Systems.pptx
MIT302 Lesson 2_Advanced Database Systems.pptx
 
L2s 090701234157 Phpapp02
L2s 090701234157 Phpapp02L2s 090701234157 Phpapp02
L2s 090701234157 Phpapp02
 
Democratizing Data Science in the Cloud
Democratizing Data Science in the CloudDemocratizing Data Science in the Cloud
Democratizing Data Science in the Cloud
 
Top 5-nosql
Top 5-nosqlTop 5-nosql
Top 5-nosql
 
Migrating from SQL to MongoDB
Migrating from SQL to MongoDBMigrating from SQL to MongoDB
Migrating from SQL to MongoDB
 
Vital AI MetaQL: Queries Across NoSQL, SQL, Sparql, and Spark
Vital AI MetaQL: Queries Across NoSQL, SQL, Sparql, and SparkVital AI MetaQL: Queries Across NoSQL, SQL, Sparql, and Spark
Vital AI MetaQL: Queries Across NoSQL, SQL, Sparql, and Spark
 
Semantics in Financial Services -David Newman
Semantics in Financial Services -David NewmanSemantics in Financial Services -David Newman
Semantics in Financial Services -David Newman
 
Relationships at the Heart of Semantic Web: Modeling, Discovering, Validating...
Relationships at the Heart of Semantic Web: Modeling, Discovering, Validating...Relationships at the Heart of Semantic Web: Modeling, Discovering, Validating...
Relationships at the Heart of Semantic Web: Modeling, Discovering, Validating...
 
What Are Links in Linked Open Data? A Characterization and Evaluation of Link...
What Are Links in Linked Open Data? A Characterization and Evaluation of Link...What Are Links in Linked Open Data? A Characterization and Evaluation of Link...
What Are Links in Linked Open Data? A Characterization and Evaluation of Link...
 
GraphSummit London Feb 2024 - ABK - Neo4j Product Vision and Roadmap.pptx
GraphSummit London Feb 2024 - ABK - Neo4j Product Vision and Roadmap.pptxGraphSummit London Feb 2024 - ABK - Neo4j Product Vision and Roadmap.pptx
GraphSummit London Feb 2024 - ABK - Neo4j Product Vision and Roadmap.pptx
 
RDF and OWL : the powerful duo | Tara Raafat
RDF and OWL : the powerful duo | Tara RaafatRDF and OWL : the powerful duo | Tara Raafat
RDF and OWL : the powerful duo | Tara Raafat
 
RDF-Gen: Generating RDF from streaming and archival data
RDF-Gen: Generating RDF from streaming and archival dataRDF-Gen: Generating RDF from streaming and archival data
RDF-Gen: Generating RDF from streaming and archival data
 

Más de Asadkhan47384

Más de Asadkhan47384 (14)

cactus-.pptx
cactus-.pptxcactus-.pptx
cactus-.pptx
 
Usability in Practice.pptx
Usability in Practice.pptxUsability in Practice.pptx
Usability in Practice.pptx
 
HCI_Lec-15.pptx
HCI_Lec-15.pptxHCI_Lec-15.pptx
HCI_Lec-15.pptx
 
Lecture 08B - Logical-DWH-Model-Pending.pptx
Lecture 08B - Logical-DWH-Model-Pending.pptxLecture 08B - Logical-DWH-Model-Pending.pptx
Lecture 08B - Logical-DWH-Model-Pending.pptx
 
Lecture 06- Reading-SQLDataManipulation.ppt
Lecture 06- Reading-SQLDataManipulation.pptLecture 06- Reading-SQLDataManipulation.ppt
Lecture 06- Reading-SQLDataManipulation.ppt
 
Lecture 10 - DataMiningEngineering.ppt
Lecture 10 - DataMiningEngineering.pptLecture 10 - DataMiningEngineering.ppt
Lecture 10 - DataMiningEngineering.ppt
 
HCI_Lec-12.pptx
HCI_Lec-12.pptxHCI_Lec-12.pptx
HCI_Lec-12.pptx
 
Lecture 06 -IIS-OLAP.pptx
Lecture 06 -IIS-OLAP.pptxLecture 06 -IIS-OLAP.pptx
Lecture 06 -IIS-OLAP.pptx
 
Lecture 01-1-IIS.pptx
Lecture 01-1-IIS.pptxLecture 01-1-IIS.pptx
Lecture 01-1-IIS.pptx
 
Lecture 02-2-IIS.pptx
Lecture 02-2-IIS.pptxLecture 02-2-IIS.pptx
Lecture 02-2-IIS.pptx
 
HCI_ Lec-5.pptx
HCI_ Lec-5.pptxHCI_ Lec-5.pptx
HCI_ Lec-5.pptx
 
HCI.pptx
HCI.pptxHCI.pptx
HCI.pptx
 
Lecture 06- Reading-SQLDataManipulation.ppt
Lecture 06- Reading-SQLDataManipulation.pptLecture 06- Reading-SQLDataManipulation.ppt
Lecture 06- Reading-SQLDataManipulation.ppt
 
HCI.pptx
HCI.pptxHCI.pptx
HCI.pptx
 

Último

High Profile Escort in Abu Dhabi 0524076003 Abu Dhabi Escorts
High Profile Escort in Abu Dhabi 0524076003 Abu Dhabi EscortsHigh Profile Escort in Abu Dhabi 0524076003 Abu Dhabi Escorts
High Profile Escort in Abu Dhabi 0524076003 Abu Dhabi Escorts
Monica Sydney
 
Corporate_Science-based_Target_Setting.pptx
Corporate_Science-based_Target_Setting.pptxCorporate_Science-based_Target_Setting.pptx
Corporate_Science-based_Target_Setting.pptx
arnab132
 
Clinico-mycological profile of isolates of superficial fungal infection: A st...
Clinico-mycological profile of isolates of superficial fungal infection: A st...Clinico-mycological profile of isolates of superficial fungal infection: A st...
Clinico-mycological profile of isolates of superficial fungal infection: A st...
Open Access Research Paper
 
Disaster risk reduction management Module 4: Preparedness, Prevention and Mit...
Disaster risk reduction management Module 4: Preparedness, Prevention and Mit...Disaster risk reduction management Module 4: Preparedness, Prevention and Mit...
Disaster risk reduction management Module 4: Preparedness, Prevention and Mit...
BrixsonLajara
 

Último (20)

Russian Call girls in Dubai 0508644382 Dubai Call girls
Russian Call girls in Dubai 0508644382 Dubai Call girlsRussian Call girls in Dubai 0508644382 Dubai Call girls
Russian Call girls in Dubai 0508644382 Dubai Call girls
 
Call Girls in Veraval - 8250092165 Our call girls are sure to provide you wit...
Call Girls in Veraval - 8250092165 Our call girls are sure to provide you wit...Call Girls in Veraval - 8250092165 Our call girls are sure to provide you wit...
Call Girls in Veraval - 8250092165 Our call girls are sure to provide you wit...
 
Call Girls in Gachibowli / 8250092165 Genuine Call girls with real Photos and...
Call Girls in Gachibowli / 8250092165 Genuine Call girls with real Photos and...Call Girls in Gachibowli / 8250092165 Genuine Call girls with real Photos and...
Call Girls in Gachibowli / 8250092165 Genuine Call girls with real Photos and...
 
RATING SYSTEMS- IGBC, GRIHA, LEED--.pptx
RATING  SYSTEMS- IGBC, GRIHA, LEED--.pptxRATING  SYSTEMS- IGBC, GRIHA, LEED--.pptx
RATING SYSTEMS- IGBC, GRIHA, LEED--.pptx
 
Role of Copper and Zinc Nanoparticles in Plant Disease Management
Role of Copper and Zinc Nanoparticles in Plant Disease ManagementRole of Copper and Zinc Nanoparticles in Plant Disease Management
Role of Copper and Zinc Nanoparticles in Plant Disease Management
 
High Profile Escort in Abu Dhabi 0524076003 Abu Dhabi Escorts
High Profile Escort in Abu Dhabi 0524076003 Abu Dhabi EscortsHigh Profile Escort in Abu Dhabi 0524076003 Abu Dhabi Escorts
High Profile Escort in Abu Dhabi 0524076003 Abu Dhabi Escorts
 
Green Marketing
Green MarketingGreen Marketing
Green Marketing
 
Corporate_Science-based_Target_Setting.pptx
Corporate_Science-based_Target_Setting.pptxCorporate_Science-based_Target_Setting.pptx
Corporate_Science-based_Target_Setting.pptx
 
Faridabad Call Girl ₹7.5k Pick Up & Drop With Cash Payment 8168257667 Badarpu...
Faridabad Call Girl ₹7.5k Pick Up & Drop With Cash Payment 8168257667 Badarpu...Faridabad Call Girl ₹7.5k Pick Up & Drop With Cash Payment 8168257667 Badarpu...
Faridabad Call Girl ₹7.5k Pick Up & Drop With Cash Payment 8168257667 Badarpu...
 
Sustainable Recovery and Reconstruction Framework (SURRF)(1).pdf
Sustainable Recovery and Reconstruction Framework  (SURRF)(1).pdfSustainable Recovery and Reconstruction Framework  (SURRF)(1).pdf
Sustainable Recovery and Reconstruction Framework (SURRF)(1).pdf
 
Clinico-mycological profile of isolates of superficial fungal infection: A st...
Clinico-mycological profile of isolates of superficial fungal infection: A st...Clinico-mycological profile of isolates of superficial fungal infection: A st...
Clinico-mycological profile of isolates of superficial fungal infection: A st...
 
Presentation: Farmer-led climate adaptation - Project launch and overview by ...
Presentation: Farmer-led climate adaptation - Project launch and overview by ...Presentation: Farmer-led climate adaptation - Project launch and overview by ...
Presentation: Farmer-led climate adaptation - Project launch and overview by ...
 
Introduction to heat waves and Heatwaves in Bangladesh.pptx
Introduction to heat waves and Heatwaves in Bangladesh.pptxIntroduction to heat waves and Heatwaves in Bangladesh.pptx
Introduction to heat waves and Heatwaves in Bangladesh.pptx
 
Sensual Call Girls in Surajpur { 9332606886 } VVIP NISHA Call Girls Near 5 St...
Sensual Call Girls in Surajpur { 9332606886 } VVIP NISHA Call Girls Near 5 St...Sensual Call Girls in Surajpur { 9332606886 } VVIP NISHA Call Girls Near 5 St...
Sensual Call Girls in Surajpur { 9332606886 } VVIP NISHA Call Girls Near 5 St...
 
Disaster risk reduction management Module 4: Preparedness, Prevention and Mit...
Disaster risk reduction management Module 4: Preparedness, Prevention and Mit...Disaster risk reduction management Module 4: Preparedness, Prevention and Mit...
Disaster risk reduction management Module 4: Preparedness, Prevention and Mit...
 
2,6-Dichlorophenol - Material Safety Data Sheet.pptx
2,6-Dichlorophenol - Material Safety Data Sheet.pptx2,6-Dichlorophenol - Material Safety Data Sheet.pptx
2,6-Dichlorophenol - Material Safety Data Sheet.pptx
 
Test bank for beckmann and ling s obstetrics and gynecology 8th edition by ro...
Test bank for beckmann and ling s obstetrics and gynecology 8th edition by ro...Test bank for beckmann and ling s obstetrics and gynecology 8th edition by ro...
Test bank for beckmann and ling s obstetrics and gynecology 8th edition by ro...
 
RA 7942:vThe Philippine Mining Act of 1995
RA 7942:vThe Philippine Mining Act of 1995RA 7942:vThe Philippine Mining Act of 1995
RA 7942:vThe Philippine Mining Act of 1995
 
Cyclone Case Study Odisha 1999 Super Cyclone in India.
Cyclone Case Study Odisha 1999 Super Cyclone in India.Cyclone Case Study Odisha 1999 Super Cyclone in India.
Cyclone Case Study Odisha 1999 Super Cyclone in India.
 
Hook Up Call Girls Rajgir 9332606886 High Profile Call Girls You Can Get T...
Hook Up Call Girls Rajgir   9332606886  High Profile Call Girls You Can Get T...Hook Up Call Girls Rajgir   9332606886  High Profile Call Girls You Can Get T...
Hook Up Call Girls Rajgir 9332606886 High Profile Call Girls You Can Get T...
 

Lecture 05-SchemaMatching.ppt

  • 1. Schema Matching and Integration IIS 651 (S 2022) 1
  • 2. Outline  Schema and Schema Matching  Schema Heterogeneity & Data Interoperability  Large Scale Scenarios concerning Schema Matching and Integration  Related Work  Our approach to handle Large Scale Scenario  PORSCHE (Performance Oriented Schema Mediation)  Future Research Directions 2
  • 3. Schema origin in Greek, meaning "shape“ or "plan" From computer science perspective – • description of the relationship of data/ information in some structured way or • a set of rules defining the relationship or • a model to represent the data For example • Relational Schema • XML Schema • Class Diagram …. 3
  • 4. Relational Database Schema 4 book_id book title author_id author name pub_id publisher name book_id detail author_id pub_id books
  • 5. XML Schema 5 <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="time"> <xs:complexType/> </xs:element> <xs:element name="day"> <xs:complexType/> </xs:element> <xs:element name="courseCode"> <xs:complexType mixed="true"> <xs:sequence> <xs:element ref="time"/> <xs:element ref="day"/> <xs:element ref="Instructor"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="arizonaCourses"> <xs:complexType> <xs:sequence> <xs:element ref="courseCode"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="Instructor"> <xs:complexType/> </xs:element> </xs:schema>
  • 6. Web Interface Form Schema From city or airport* To city or airport* I f y o u a r e u n s u r e o f t h e s p e l l i n g o f a c i t y o r a i r p o r t , e n t e r t h e f i r s t 3 o r m o r e l e t t e r s f o l l o w e d b y a n a s t e r i s k ( * ) . Departure date Departure time Jul 2008 23 Any Time Wednesday Return Date Return time Jul 2008 24 Any Time Thursday Traveler types Adults (12-64 yrs) 1 Children (2-11 yrs) 0 Seniors (65+ yrs) 0 Infants (0- 23 months) 0 Cabin type Coach Direct or Non-Stop flights only More search options 6
  • 7. Schema Matching 7 • Takes two schemas/ontologies as input and produces a mapping between elements of the two schemas that correspond semantically to each other [Halevy05] 1-1 match complex match 26,60 Harry Potter J. K. Rowling 11,50 Marie Des Juliette Benzoni Intrigues 16,50 Nous Les Bernard Werber Dieux 24 Pompei Robert Harris price book-title author-name Books Source A listed-price title a-fname a-lname Books Source B
  • 8. Applications of Schema Matching • Data Interoperability • Data Integration • Data Warehousing • Catalogue Integration • Web Services Discovery and Composition • Query over the Web • ... • Data Exchange • E-commerce • Agents Communication • ... 8 Static Dynamic Contributing Schema Set Not Evolving >> Matching and Mapping is one time process Contributing Schema Set Evolving >> Matching and Mapping also evolve
  • 10. Schema Heterogeneity & Data Interoperability • A key roadblock for information integration! • Different data sources speak their own schema 10 Consumer Data Source Data Source Data Source Hotels, Youth Centers Lodges, Restaurants Beaches, Volcanoes Hotel, Restaurant, AdventureSports, HistoricalSites
  • 12. Schema Integration and Mediation • All concerned data sources schemas are merged together into one schema, without any concept redundancy. i.e. similar concepts are represented by one concept • All the input data sources schemas are mapped to this integrated schema, also called the mediated schema 12 Consumer Data Source Data Source Data Source Hotels, Youth Centers Lodges, Restaurants Beaches, Volcanoes Hotel, Restaurant, AdventureSports, HistoricalSites Mediation
  • 13. Mediation Schema Mapping is key to any data sharing architecture 13 [Tomasic et al. IEEE TKDE 1998]. Mediated Schema Source n Source 1 Source 2 mappings ... wrapper wrapper wrapper User Query sub-query sub-query sub-query
  • 14. Schema Matching, Mapping, Integration & Mediation 14 S1 B C S2 B1 C2 C1 Matching S1 B C S2 B1 C2 C1 Mapping Merging/ Integration Si B C1 C Mediation Si B C1 C S1 B C S2 B1 C2 C1 Finding similarities between schemas Final correspondences between elements of two schemas Based upon schema mappings, merging schemas into one schema Mappings from source schemas to the integrated schema for data interoperability
  • 15. Different Research Domains - Mediation 15 Mediation Distributed Databases Data Warehousin g Data Mining …………… Informatio n Retrieval Knowledge Extraction
  • 17. Large Scale Scenario • Creating a mediated schema from two large schemas (with thousands of nodes). • For example Open Applications Group Integration Specification (OAGIS)1 XML schema instances with number of elements in thousands • Creating a mediated schema from a large set of schemas (with hundreds of schemas and thousands of nodes) • For example creating a mediated web interface input form (schema) from the hundreds of web interface forms (schemas) related to travel domain2 17 1. http://www.openapplications.org/ 2. http://metaquerier.cs.uiuc.edu Large scale schema matching and integration requires automated approach
  • 18. Related Work 18 Pre-Match eTuner [Lee&Doan 07] Amid-Match SCIA [Wang et al 07] Post-Match COMA++ [Do et al 07, Manakanatas06] Tuning approach Large Scale Schema Matching and Integration Approaches Incremental Holistic Fragmentation Clustering Mining Data-mining Element Level Schema Level Tree-mining COMA++ [Do&Rahm07] BellFlower [Smiljanic06] DCM [He et al 04] xClust [Lee et al 02] PORSCHE [Saleem et al 08]
  • 19. An approach to handle Large Scale Scenario  Handle Schemas as Trees  Apply the Clustering Method  Use Tree Mining  Devise Hybrid Approach 19 Result Automated Approach having Good Time Performance with Approximate Match Quality
  • 20. From city or airport* To city or airport* I f y o u a r e u n s u r e o f t h e s p e l l i n g o f a c i t y o r a i r p o r t , e n t e r t h e f i r s t 3 o r m o r e l e t t e r s f o l l o w e d b y a n a s t e r i s k ( * ) . Departure date Departure time Jul 2008 23 Any Time Wednesday Return Date Return time Jul 2008 24 Any Time Thursday Traveler types Adults (12-64 yrs) 1 Children (2-11 yrs) 0 Seniors (65+ yrs) 0 Infants (0- 23 months) 0 Cabin type Coach Direct or Non-Stop flights only More search options 20 Schemas as trees – Web Interface Forms absTravel From D_City To A_City Departure Date D_Month D_Day D_Time Return Date R_Month R_Day R_Time CabinType TravelerTypes Adults Children Seniors Infants absTravel D_City D_Day Return D_Month Departure A_City D_Time CabinType Adults Children Seniors Infants D_Day D_Month D_Time TravlerTypes From To Date Date [He et al. KDD 2004]
  • 21. Schemas as trees – Relational Database 21 books book_id author_id author detail name publisher title pub_id name book_id book title author_id author name pub_id publisher name book_id detail author_id pub_id books [Lee et al. CIKM 2006]
  • 22. Schemas as trees – XML Schema 22 <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="time"> <xs:complexType/> </xs:element> <xs:element name="day"> <xs:complexType/> </xs:element> <xs:element name="courseCode"> <xs:complexType mixed="true"> <xs:sequence> <xs:element ref="time"/> <xs:element ref="day"/> <xs:element ref="Instructor"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="arizonaCourses"> <xs:complexType> <xs:sequence> <xs:element ref="courseCode"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="Instructor"> <xs:complexType/> </xs:element> </xs:schema> arizonaCourses courseCode day time place instructor
  • 23. A speculatively rooted tree for rRNA genes 23
  • 24. Schema Tree Benefit • Tree structure for a data model inherently supports the contextual meanings of the descendent nodes. 24 A B C S1 D A1 B1 C11 C1 S2 D D X A B C D S1 A1 B C11 C1 D D S2
  • 25. Element Level Clustering • Clustering helps in target search space optimization • Schema elements clustering based on label similarity 25 A B C A1 B1 C4 C1 A B C2 A1 B1 C3 C5 D D S1 S2 S3 Si Node Labels Similarity C ≈ C1 ≈ C2 ≈ C3 ≈ C4 ≈ C5 t1 t2 t3 t4 …… tn s1 s2 s3 s4 … sm a1 a2 a3 a4 … aq Typical matching scenario
  • 26. Tree Mining Aspect • Tree mining finds frequent sub-trees in a given set of trees; • similar to schema matching, which finds similar concepts among a set of schemas • Use of data structures supporting tree mining algorithms for schema matching is possible • Helps in handling Large Scale Scenario • Supports the context of nodes 26 computers Desktop notebook Software Desktop notepad
  • 27. Tree mining example • Element Level Matching (sub-tree size 1) • Structure Level Matching (sub-tree size > 1) 27 b a p n t n b a f n t p i n b d a f t p r a n h b t a n b t b p t ……
  • 29. Database Research Advances Reports • https://dsf.berkeley.edu/claremont/claremontreport08.pdf • https://beckman.cs.wisc.edu/beckman-report2013.pdf • https://link.springer.com/article/10.1007/s10796-017-9819-2 • https://sigmodrecord.org/publications/sigmodRecord/1912/pdfs/07_ Reports_Abadi.pdf Last one 2018 … • https://www.sciencedirect.com/science/article/pii/S0306437908000 15X • https://vldb.org/2021/?papers-research 29