skip to main content
10.1145/3477314.3507690acmconferencesArticle/Chapter ViewAbstractPublication PagessacConference Proceedingsconference-collections
research-article

Unifying categorical representation of multi-model data

Published:06 May 2022Publication History

ABSTRACT

The support for multi-model data has become a standard for most of the existing DBMSs. The tools for database design are general enough to cover multiple models, too. However, the step from a conceptual (e.g., ER or UML) schema to a logical multi-model schema of a DBMS (or their combination) is not straightforward.

In this paper, we show how category theory can be used for representation of multi-model data and schema and how the mutual mapping between the categorical representation and logical models of particular DBMSs can be designed. For this purpose we define the notion of an access path which enables to specify the mapping for all the currently popular models. To demonstrate advantages of the proposal we introduce framework MM-cat which applies the proposed approaches on MongoDB and PostgreSQL.

References

  1. 2021. DB-Engines Ranking. (2021). https://db-engines.com/en/rankingGoogle ScholarGoogle Scholar
  2. Paolo Atzeni, Francesca Bugiotti, Luca Cabibbo, and Riccardo Torlone. 2020. Data Modeling in the NoSQL World. Computer Standards and Interfaces 67 (2020), 103--149.Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Michael Barr and Charles Wells. 1990. Category Theory for Computing Science. Vol. 49. Prentice Hall New York.Google ScholarGoogle Scholar
  4. Francesco Basciani, Juri Di Rocco, Davide Di Ruscio, Alfonso Pierantonio, and Ludovico Iovino. 2020. TyphonML: A Modeling Environment to Develop Hybrid Polystores. In MODELS '20 (Virtual Event, Canada). ACM, Article 2, 5 pages.Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Carlos Javier Fernández Candel, Diego Sevilla Ruiz, and Jesús García-Molina. 2021. A Unified Metamodel for NoSQL and Relational Databases. CoRR abs/2105.06494 (2021). arXiv:2105.06494Google ScholarGoogle Scholar
  6. Boyan Kolev, Raquel Pau, Oleksandra Levchenko, Patrick Valduriez, Ricardo Jiménez-Peris, and José Orlando Pereira. 2016. Benchmarking Polystores: The CloudMdSQL Experience. In BigData '16. 2574--2579.Google ScholarGoogle Scholar
  7. Matthias Kolonko and Sabine Müllenbach. 2020. Polyglot Persistence in Conceptual Modeling for Information Analysis. In ACIT '20. 590--594.Google ScholarGoogle Scholar
  8. Pavel Koupil, Martin Svoboda, and Irena Holubova. 2021. MM-cat: A Tool for Modeling and Transformation of Multi-Model Data using Category Theory.. In MODELS '21. IEEE.Google ScholarGoogle ScholarCross RefCross Ref
  9. Eric Leclercq and Marinette Savonnet. 2019. TDM: A Tensor Data Model for Logical Data Independence in Polystore Systems. In VLDB Workshops '18. Springer, 39--56.Google ScholarGoogle Scholar
  10. Lippe, E. and Ter Hofstede, A. H. M. 1996. A Category Theory Approach to Conceptual Data Modeling. RAIRO-Theor. Inf. Appl. 30, 1 (1996), 31--79.Google ScholarGoogle ScholarCross RefCross Ref
  11. Jiaheng Lu and Irena Holubová. 2019. Multi-Model Databases: A New Journey to Handle the Variety of Data. ACM Comput. Surv. 52, 3, Article 55 (2019).Google ScholarGoogle Scholar
  12. David I Spivak and Ryan Wisnesky. 2015. Relational Foundations for Functorial Data Migration. In DBPL '15. ACM, 21--28.Google ScholarGoogle Scholar
  13. Martin Svoboda, Pavel Contos, and Irena Holubova. 2021. Categorical Modeling of Multi-Model Data: One Model to Rule Them All. In MEDI '21. Springer, 1--8.Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Laurent Thiry, Heng Zhao, and Michel Hassenforder. 2018. Categories for (Big) Data Models and Optimization. Journal of Big Data 5, 1 (2018), 1--20.Google ScholarGoogle ScholarCross RefCross Ref
  15. Chris Tuijn and Marc Gyssens. 1996. CGOOD, a Categorical Graph-oriented Object Data Model. Theoretical Computer Science 160, 1--2 (1996), 217--239.Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Unifying categorical representation of multi-model data

    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 Conferences
      SAC '22: Proceedings of the 37th ACM/SIGAPP Symposium on Applied Computing
      April 2022
      2099 pages
      ISBN:9781450387132
      DOI:10.1145/3477314

      Copyright © 2022 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: 6 May 2022

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article

      Acceptance Rates

      Overall Acceptance Rate1,650of6,669submissions,25%
    • Article Metrics

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

      Other Metrics

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader