Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to main content

Towards a Complete Direct Mapping from Relational Databases to Property Graphs

  • Conference paper
  • First Online:
Model and Data Engineering (MEDI 2022)

Abstract

It is increasingly common to find complex data represented through the graph model. Contrary to relational models, graphs offer a high capacity for executing analytical tasks on complex data. Since a huge amount of data is still presented in terms of relational tables, it is necessary to understand how to translate this data into graphs. This paper proposes a complete mapping process that allows transforming any relational database (schema and instance) into a property graph database (schema and instance). Contrary to existing mappings, our solution preserves the three fundamental mapping properties, namely: information preservation, semantic preservation and query preservation. Moreover, we study mapping any SQL query into an equivalent Cypher query, which makes our solution practical. Existing solutions are either incomplete or based on non-practical query language. Thus, this work is the first complete and practical solution for mapping relations to graphs.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Neo4j ETL. https://neo4j.com/developer/neo4j-etl/

  2. Angles, R., Thakkar, H., Tomaszuk, D.: Mapping RDF databases to property graph databases. IEEE Access 8, 86091–86110 (2020)

    Google Scholar 

  3. Boudaoud, A., Mahfoud, H., Chikh, A.: Towards a complete direct mapping from relational databases to property graphs. CoRR abs/2210.00457 (2022). https://doi.org/10.48550/arXiv.2210.00457

  4. De Virgilio, R., Maccioni, A., Torlone, R.: Converting relational to graph databases, p. 1 (2013)

    Google Scholar 

  5. De Virgilio, R., Maccioni, A., Torlone, R.: R2G: a tool for migrating relations to graphs, pp. 640–643 (2014)

    Google Scholar 

  6. Fan, W., Wang, X., Yinghui, W.: Answering pattern queries using views. IEEE Trans. Knowl. Data Eng. 28, 326–341 (2016)

    Article  Google Scholar 

  7. Francis, N., et al.: Cypher: an evolving query language for property graphs, pp. 1433–1445 (2018)

    Google Scholar 

  8. Guagliardo, P., Libkin, L.: A formal semantics of SQL queries, its validation, and applications. Proc. VLDB Endow. 11, 27–39 (2017)

    Article  Google Scholar 

  9. Li, S., Yang, Z., Zhang, X., Zhang, W., Lin, X.: SQL2Cypher: automated data and query migration from RDBMS to GDBMS. In: Zhang, W., Zou, L., Maamar, Z., Chen, L. (eds.) WISE 2021. LNCS, vol. 13081, pp. 510–517. Springer, Cham (2021). https://doi.org/10.1007/978-3-030-91560-5_39

    Chapter  Google Scholar 

  10. Matsumoto, S., Yamanaka, R., Chiba, H.: Mapping RDF graphs to property graphs, pp. 106–109 (2018)

    Google Scholar 

  11. Orel, O., Zakošek, S., Baranović, M.: Property oriented relational-to-graph database conversion. Automatika 57, 836–845 (2017)

    Article  Google Scholar 

  12. Sequeda, J.F., Arenas, M., Miranker, D.P.: On directly mapping relational databases to RDF and OWL, pp. 649–658 (2012)

    Google Scholar 

  13. Stoica, R., Fletcher, G., Sequeda, J.F.: On directly mapping relational databases to property graphs, pp. 1–4 (2019)

    Google Scholar 

  14. Stoica, R.-A.: R2PG-DM: a direct mapping from relational databases to property graphs. Master’s thesis, Eindhoven University of Technology (2019)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Abdelkrim Boudaoud .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Boudaoud, A., Mahfoud, H., Chikh, A. (2023). Towards a Complete Direct Mapping from Relational Databases to Property Graphs. In: Fournier-Viger, P., Hassan, A., Bellatreche, L. (eds) Model and Data Engineering. MEDI 2022. Lecture Notes in Computer Science, vol 13761. Springer, Cham. https://doi.org/10.1007/978-3-031-21595-7_16

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-21595-7_16

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-21594-0

  • Online ISBN: 978-3-031-21595-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics