skip to main content
10.1145/1804669.1804695acmotherconferencesArticle/Chapter ViewAbstractPublication PagesedbtConference Proceedingsconference-collections
research-article

Mapping polymorphism

Published:23 March 2010Publication History

ABSTRACT

We examine schema mappings from a type-theoretic perspective and aim to facilitate and formalize the reuse of mappings. Starting with the mapping language of Clio, we present a type-checking algorithm such that typable mappings are necessarily satisfiable. We add type variables to the schema language and present a theory of polymorphism, including a sound and complete type inference algorithm and a semantic notion of a principal type of a mapping. Principal types, which intuitively correspond to the minimum amount of schema structure required by the mappings, have an important application for mapping reuse. Concretely, we show that mappings can be reused, with the same semantics, on any schemas as long as these schemas are expansions (i.e., subtypes) of the principal types.

References

  1. M. Arenas, J. Pérez, and C. Riveros. The Recovery of a Schema Mapping: Bringing Exchanged Data Back. In PODS, pages 13--22, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. P. A. Bernstein. Applying Model Management to Classical Meta Data Problems. In CIDR, pages 209--220, 2003.Google ScholarGoogle Scholar
  3. P. A. Bernstein, T. J. Green, S. Melnik, and A. Nash. Implementing Mapping Composition. In VLDB, pages 55--66, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. P. A. Bernstein and S. Melnik. Model Management 2.0: Manipulating Richer Mappings. In SIGMOD, pages 1--12, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. P. A. Bernstein, S. Melnik, and J. E. Churchill. Incremental Schema Matching. In VLDB (demo), pages 1167--1170, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. V. Borkar, M. Carey, D. Engovatov, D. Lychagin, T. Westmann, and W. Wong. XQSE: An XQuery Scripting Extension for the AquaLogic Data Services Platform. In ICDE, pages 1307--1316, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. J. V. den Bussche, D. V. Gucht, and S. Vansummeren. A crash course on database queries. In PODS, pages 143--154, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. R. Fagin. Inverting schema mappings. ACM TODS, 32(4), 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. R. Fagin, L. M. Haas, M. A. Hernández, R. J. Miller, L. Popa, and Y. Velegrakis. Clio: Schema Mapping Creation and Data Exchange. In Conceptual Modeling: Foundations and Applications, Essays in Honor of John Mylopoulos, pages 198--236. Springer, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. R. Fagin, P. G. Kolaitis, R. J. Miller, and L. Popa. Data exchange: semantics and query answering. Theor. Comput. Sci., 336(1):89--124, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. R. Fagin, P. G. Kolaitis, L. Popa, and W. Tan. Composing Schema Mappings: Second-Order Dependencies to the Rescue. TODS, 30(4):994--1055, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. J. N. Foster, B. C. Pierce, and A. Schmitt. A logic your typechecker can count on: Unordered tree types in practice. In PLAN-X, informal proceedings, Jan. 2007.Google ScholarGoogle Scholar
  13. M. Friedman, A. Y. Levy, and T. D. Millstein. Navigational Plans For Data Integration. In AAAI/IAAI, pages 67--73, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. 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. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. A. Fuxman, M. A. Hernandez, H. Ho, R. J. Miller, P. Papotti, and L. Popa. Nested mappings: schema mapping reloaded. Technical Report CSRG-561, Department of Computer Science, University of Toronto, 2007.Google ScholarGoogle Scholar
  16. V. Gapeyev, M. Y. Levin, B. C. Pierce, and A. Schmitt. The Xtatic experience. In PLAN-X, Jan. 2005. University of Pennsylvania Technical Report MS-CIS-04-24, Oct 2004.Google ScholarGoogle Scholar
  17. B. R. Gaster and M. P. Jones. A polymorphic type system for extensible records and variants. Technical Report NOTTCS-TR-96-3, Department of Computer Science, University of Nottingham, November 1996.Google ScholarGoogle Scholar
  18. M. Greenwald, J. Moore, B. Pierce, and A. Schmitt. A language for bi-directional tree transformations. Technical report, Department of Computer and Information Science, University of Pennsylvania., 2003.Google ScholarGoogle Scholar
  19. 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. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. H. Hosoya and B. C. Pierce. Xduce: A statically typed xml processing language. ACM Trans. Inter. Tech., 3(2):117--148, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. M. Lenzerini. Data Integration: A Theoretical Perspective. In PODS, pages 233--246, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. J. Madhavan, P. A. Bernstein, A. Doan, and A. Y. Halevy. Corpus-based Schema Matching. In ICDE, pages 57--68, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. J. Madhavan and A. Y. Halevy. Composing Mappings Among Data Sources. In VLDB, pages 572--583, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. E. Meijer, B. Beckman, and G. M. Bierman. LINQ: reconciling object, relations and XML in the .NET framework. In SIGMOD, page 706, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. R. J. Miller, L. M. Haas, and M. A. Hernández. Schema Mapping as Query Discovery. In VLDB, pages 77--88, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. P. Papotti and R. Torlone. Schema exchange: Generic mappings for transforming data and metadata. Data Knowl. Eng., 68(7):665--682, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. L. Popa, Y. Velegrakis, R. J. Miller, M. A. Hernández, and R. Fagin. Translating Web Data. In VLDB, pages 598--609, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  28. J. van den Bussche and E. Waller. Type inference in the polymorphic relational algebra. In PODS, pages 80--90, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  29. J. Vouillon. Polymorphic regular tree types and patterns. In POPL 06, pages 103--114, New York, NY, USA, 2006. ACM. Google ScholarGoogle ScholarDigital LibraryDigital Library
  30. J. B. Wells. The essence of principal typings. In ICALP '02, pages 913--925, London, UK, 2002. Springer-Verlag. Google ScholarGoogle ScholarDigital LibraryDigital Library
  31. R. Wisnesky. Mapping dependence. Technical Report TR-09-09, Harvard University Computer Science Group. Available at ftp://ftp.deas.harvard.edu/techreports/tr-09-09.pdf, 2009.Google ScholarGoogle Scholar
  32. R. Wisnesky, M. A. Hernandez, and L. Popa. Mapping polymorphism - proofs. Technical Report TR-10-09, Harvard University Computer Science Group. Available at ftp://ftp.deas.harvard.edu/techreports/tr-10-09.pdf, 2009.Google ScholarGoogle Scholar

Index Terms

  1. Mapping polymorphism

                Recommendations

                Comments

                Login options

                Check if you have access through your login credentials or your institution to get full access on this article.

                Sign in
                • Published in

                  cover image ACM Other conferences
                  ICDT '10: Proceedings of the 13th International Conference on Database Theory
                  March 2010
                  260 pages
                  ISBN:9781605589473
                  DOI:10.1145/1804669

                  Copyright © 2010 ACM

                  Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

                  Publisher

                  Association for Computing Machinery

                  New York, NY, United States

                  Publication History

                  • Published: 23 March 2010

                  Permissions

                  Request permissions about this article.

                  Request Permissions

                  Check for updates

                  Qualifiers

                  • research-article

                PDF Format

                View or Download as a PDF file.

                PDF

                eReader

                View online with eReader.

                eReader