Inverting schema mappings

被引:39
作者
Fagin, Ronald [1 ]
机构
[1] IBM Almaden Res Ctr, San Jose, CA 95120 USA
来源
ACM TRANSACTIONS ON DATABASE SYSTEMS | 2007年 / 32卷 / 04期
关键词
algorithms; theory; data exchange; inverse; schema mapping; data integration; chase; computational complexity; dependencies; metadata model management; second-order logic;
D O I
10.1145/1292609.1292615
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
A schema mapping is a specification that describes how data structured under one schema (the source schema) is to be transformed into data structured under a different schema (the target schema). Although the notion of an inverse of a schema mapping is important, the exact definition of an inverse mapping is somewhat elusive. This is because a schema mapping may associate many target instances with each source instance, and many source instances with each target instance. Based on the notion that the composition of a mapping and its inverse is the identity, we give a formal definition for what it means for a schema mapping M' to be an inverse of a schema mapping M for a class S of source instances. We call such an inverse an S-inverse. A particular case of interest arises when S is the class of all source instances, in which case an S-inverse is a global inverse. We focus on the important and practical case of schema mappings specified by source-to-target tuple-generating dependencies, and uncover a rich theory. When S is specified by a set of dependencies with a finite chase, we show how to construct an S-inverse when one exists. In particular, we show how to construct a global inverse when one exists. Given M and M', we show how to define the largest class S such that M' is an S-inverse of M.
引用
收藏
页数:53
相关论文
共 16 条
[1]  
[Anonymous], P C INN DAT RES CIDR
[2]  
ARENAS M, 2006, COMMUNICATION
[3]   A PROOF PROCEDURE FOR DATA DEPENDENCIES [J].
BEERI, C ;
VARDI, MY .
JOURNAL OF THE ACM, 1984, 31 (04) :718-741
[4]  
Fagin R., 1977, ACM Transactions on Database Systems, V2, P262, DOI 10.1145/320557.320571
[5]   Composing schema mappings: Second-order dependencies to the rescue [J].
Fagin, R ;
Kolaitis, PG ;
Popa, L ;
Tan, WC .
ACM TRANSACTIONS ON DATABASE SYSTEMS, 2005, 30 (04) :994-1055
[6]   Data exchange: semantics and query answering [J].
Fagin, R ;
Kolaitis, PG ;
Miller, RJ ;
Popa, L .
THEORETICAL COMPUTER SCIENCE, 2005, 336 (01) :89-124
[7]   Data exchange: Getting to the core [J].
Fagin, R ;
Kolaitis, PG ;
Popa, L .
ACM TRANSACTIONS ON DATABASE SYSTEMS, 2005, 30 (01) :174-210
[8]  
Fagin R., 2006, PODS, P50, DOI DOI 10.1145/1142351.1142359
[9]  
FAGIN R., 2007, PODS, P123
[10]  
Fagin Ronald, 1974, Complexity of Computation, P43