Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
research-article

Laconic schema mappings: computing the core with SQL queries

Published: 01 August 2009 Publication History
  • Get Citation Alerts
  • Abstract

    A schema mapping is a declarative specification of the relationship between instances of a source schema and a target schema. The data exchange (or data translation) problem asks: given an instance over the source schema, materialize an instance (or solution) over the target schema that satisfies the schema mapping. In general, a given source instance may have numerous different solutions. Among all the solutions, universal solutions and core universal solutions have been singled out and extensively studied. A universal solution is a most general one and also represents the entire space of solutions, while a core universal solution is the smallest universal solution and is unique up to isomorphism (hence, we can talk about the core).
    The problem of designing efficient algorithms for computing the core has attracted considerable attention in recent years. In this paper, we present a method for directly computing the core by SQL queries, when schema mappings are specified by source-to-target tuple-generating dependencies (s-t tgds). Unlike prior methods that, given a source instance, first compute a target instance and then recursively minimize that instance to the core, our method avoids the construction of such intermediate instances. This is done by rewriting the schema mapping into a laconic schema mapping that is specified by first-order s-t tgds with a linear order in the active domain of the source instances. A laconic schema mapping has the property that a "direct translation" of the source instance according to the laconic schema mapping produces the core. Furthermore, a laconic schema mapping can be easily translated into SQL, hence it can be optimized and executed by a database system to produce the core. We also show that our results are optimal: the use of the linear order is inevitable and, in general, schema mappings with constraints over the target schema cannot be rewritten to a laconic schema mapping.

    References

    [1]
    A. Bonifati, E. Q. Chang, T. Ho, L. V. Lakshmanan, and R. Pottinger. HePToX: Marrying XML and Heterogeneity in Your P2P Databases. In VLDB (demo), pages 1267--1270, 2006.
    [2]
    A. K. Chandra and P. M. Merlin. Optimal Implementation of Conjunctive Queries in Relational Data Bases. In STOC, pages 77--90, 1977.
    [3]
    L. Chiticariu. Computing the Core in Data Exchange: Algorithmic Issues. MS project report. CS Dept., UCSC, 2005.
    [4]
    J. V. den Bussche and D. V. Gucht. A semideterministic approach to object creation and nondeterminism in database queries. J. Comput. Syst. Sci., 54(1):34--47, 1997.
    [5]
    R. Fagin, P. G. Kolaitis, R. J. Miller, and L. Popa. Data Exchange: Semantics and Query Answering. TCS, 336(1):89--124, 2005.
    [6]
    R. Fagin, P. G. Kolaitis, A. Nash, and L. Popa. Towards a Theory of Schema-mapping Optimization. In PODS, pages 33--42, 2008.
    [7]
    R. Fagin, P. G. Kolaitis, and L. Popa. Data Exchange: Getting to the Core. TODS, 30(1):174--210, 2005.
    [8]
    A. Fuxman, M. A. Hernández, H. Ho, R. J. Miller, P. Papotti, and L. Popa. Nested Mappings: Schema Mapping Reloaded. In VLDB, pages 67--78, 2006.
    [9]
    G. Gottlob and A. Nash. Efficient Core Computation in Data Exchange. JACM, 55(2):1--49, 2008.
    [10]
    L. M. Haas, M. A. Hernández, H. Ho, L. Popa, and M. Roth. Clio Grows Up: From Research Prototype to Industrial Tool. In SIGMOD, pages 805--810, 2005.
    [11]
    M. Lenzerini. Data Integration: A Theoretical Perspective. In PODS, pages 233--246, 2002.
    [12]
    G. Mecca, P. Papotti, and S. Raunich. Core schema mappings. In SIGMOD, 2009.
    [13]
    R. Pottinger and A. Halevy. MiniCon: A Scalable Algorithm for Answering Queries using Views. VLDB Journal, 10(2--3):182--198, 2001.
    [14]
    N. C. Shu, B. C. Housel, R. W. Taylor, S. P. Ghosh, and V. Y. Lum. EXPRESS: A Data EXtraction, Processing, amd REStructuring System. TODS, 2(2):134--174, 1977.
    [15]
    B. ten Cate and P. G. Kolaitis. Structural Characterizations of Schema Mapping Languages. In ICDT, 2009.

    Cited By

    View all
    • (2022)Conjunctive Queries: Unique Characterizations and Exact LearnabilityACM Transactions on Database Systems10.1145/355975647:4(1-41)Online publication date: 6-Nov-2022
    • (2019)DynamapProceedings of the 31st International Conference on Scientific and Statistical Database Management10.1145/3335783.3335785(37-48)Online publication date: 23-Jul-2019
    • (2018)Goal-driven query answering for existential rules with equalityProceedings of the Thirty-Second AAAI Conference on Artificial Intelligence and Thirtieth Innovative Applications of Artificial Intelligence Conference and Eighth AAAI Symposium on Educational Advances in Artificial Intelligence10.5555/3504035.3504250(1761-1770)Online publication date: 2-Feb-2018
    • Show More Cited By

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image Proceedings of the VLDB Endowment
    Proceedings of the VLDB Endowment  Volume 2, Issue 1
    August 2009
    1293 pages

    Publisher

    VLDB Endowment

    Publication History

    Published: 01 August 2009
    Published in PVLDB Volume 2, Issue 1

    Qualifiers

    • Research-article

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)1
    • Downloads (Last 6 weeks)0

    Other Metrics

    Citations

    Cited By

    View all
    • (2022)Conjunctive Queries: Unique Characterizations and Exact LearnabilityACM Transactions on Database Systems10.1145/355975647:4(1-41)Online publication date: 6-Nov-2022
    • (2019)DynamapProceedings of the 31st International Conference on Scientific and Statistical Database Management10.1145/3335783.3335785(37-48)Online publication date: 23-Jul-2019
    • (2018)Goal-driven query answering for existential rules with equalityProceedings of the Thirty-Second AAAI Conference on Artificial Intelligence and Thirtieth Innovative Applications of Artificial Intelligence Conference and Eighth AAAI Symposium on Educational Advances in Artificial Intelligence10.5555/3504035.3504250(1761-1770)Online publication date: 2-Feb-2018
    • (2017)Foundations of information integration under bag semanticsProceedings of the 32nd Annual ACM/IEEE Symposium on Logic in Computer Science10.5555/3329995.3330039(1-12)Online publication date: 20-Jun-2017
    • (2017)Benchmarking the ChaseProceedings of the 36th ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems10.1145/3034786.3034796(37-52)Online publication date: 9-May-2017
    • (2016)Functional Dependencies Unleashed for Scalable Data ExchangeProceedings of the 28th International Conference on Scientific and Statistical Database Management10.1145/2949689.2949698(1-12)Online publication date: 18-Jul-2016
    • (2014)Optimizing the chaseProceedings of the VLDB Endowment10.14778/2733085.27330937:14(1869-1880)Online publication date: 1-Oct-2014
    • (2013)Data exchange with arithmetic operationsProceedings of the 16th International Conference on Extending Database Technology10.1145/2452376.2452439(537-548)Online publication date: 18-Mar-2013
    • (2013)Semantic-Based MappingsProceedings of the 32nd International Conference on Conceptual Modeling - Volume 821710.1007/978-3-642-41924-9_22(255-269)Online publication date: 11-Nov-2013
    • (2012)What is the IQ of your data transformation system?Proceedings of the 21st ACM international conference on Information and knowledge management10.1145/2396761.2396872(872-881)Online publication date: 29-Oct-2012
    • Show More Cited By

    View Options

    Get Access

    Login options

    Full Access

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media