Skip to main content

UMLtoGraphDB: Mapping Conceptual Schemas to Graph Databases

  • Conference paper
  • First Online:
Conceptual Modeling (ER 2016)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 9974))

Included in the following conference series:

Abstract

The need to store and manipulate large volume of (unstructured) data has led to the development of several NoSQL databases for better scalability. Graph databases are a particular kind of NoSQL databases that have proven their efficiency to store and query highly interconnected data, and have become a promising solution for multiple applications. While the mapping of conceptual schemas to relational databases is a well-studied field of research, there are only few solutions that target conceptual modeling for NoSQL databases and even less focusing on graph databases. This is specially true when dealing with the mapping of business rules and constraints in the conceptual schema. In this article we describe a mapping from UML/OCL conceptual schemas to Blueprints, an abstraction layer on top of a variety of graph databases, and Gremlin, a graph traversal language, via an intermediate Graph metamodel. Tool support is fully available.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.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

Notes

  1. 1.

    http://neo4j.com/.

  2. 2.

    Implementation list is available at https://github.com/tinkerpop/blueprints.

  3. 3.

    https://github.com/atlanmod/UML2NoSQL.

  4. 4.

    https://github.com/atlanmod/UML2NoSQL.

  5. 5.

    https://eclipse.org/papyrus/.

References

  1. Anand, M.K., Bowers, S., LudƤscher, B.: Techniques for efficiently querying scientific workflow provenance graphs. In: EDBT, vol. 10, pp. 287ā€“298 (2010)

    Google ScholarĀ 

  2. Benelallam, A., GĆ³mez, A., SunyĆ©, G., Tisi, M., Launay, D.: Neo4EMF, a scalable persistence layer for EMF models. In: Cabot, J., Rubin, J. (eds.) ECMFA 2014. LNCS, vol. 8569, pp. 230ā€“241. Springer, Heidelberg (2014). doi:10.1007/978-3-319-09195-2_15

    Google ScholarĀ 

  3. Bettini, L.: Implementing Domain-Specific Languages with Xtext and Xtend. Packt Publishing Ltd., Birmingham (2013)

    Google ScholarĀ 

  4. Brambilla, M., Cabot, J.: Constraint tuning and management for web applications. In: Proceedings of the 6th ICWE Conference, pp. 345ā€“352. ACM (2006)

    Google ScholarĀ 

  5. Bugiotti, F., Cabibbo, L., Atzeni, P., Torlone, R.: Database design for NoSQL systems. In: Yu, E., Dobbie, G., Jarke, M., Purao, S. (eds.) ER 2014. LNCS, vol. 8824, pp. 223ā€“231. Springer, Heidelberg (2014). doi:10.1007/978-3-319-12206-9_18

    Google ScholarĀ 

  6. Cabot, J., Teniente, E.: Incremental integrity checking of UML/OCL conceptual schemas. JSS 82(9), 1459ā€“1478 (2009)

    Google ScholarĀ 

  7. Chiang, R.H.L., Barron, T.M., Storey, V.C.: Reverse engineering of relational databases: extraction of an EER model from a relational database. Data Knowl. Eng. 12(2), 107ā€“142 (1994)

    ArticleĀ  Google ScholarĀ 

  8. Daniel, G., SunyĆ©, G., Cabot, J.: MogwaĆÆ: a framework to handle complex queries on large models. In: Proceedings of the 10th RCIS Conference. IEEE (2016, to appear). http://tinyurl.com/zx6cfam

  9. Demuth, B., Hussmann, H.: Using UML/OCL constraints for relational database design. In: France, R., Rumpe, B. (eds.) UML 1999. LNCS, vol. 1723, pp. 598ā€“613. Springer, Heidelberg (1999). doi:10.1007/3-540-46852-8_42

    ChapterĀ  Google ScholarĀ 

  10. Demuth, B., Hussmann, H., Loecher, S.: OCL as a specification language for business rules in database applications. In: Gogolla, M., Kobryn, C. (eds.) UML 2001. LNCS, vol. 2185, pp. 104ā€“117. Springer, Heidelberg (2001). doi:10.1007/3-540-45441-1_9

    ChapterĀ  Google ScholarĀ 

  11. Fan, W.: Graph pattern matching revised for social network analysis. In: Proceedings of the 15th ICDT, pp. 8ā€“21. ACM (2012)

    Google ScholarĀ 

  12. Hausenblas, M., Nadeau, J.: Apache drill: interactive ad-hoc analysis at scale. Big Data 1(2), 100ā€“104 (2013)

    ArticleĀ  Google ScholarĀ 

  13. CĆ”novas Izquierdo, J.L., Cabot, J.: Discovering implicit schemas in JSON Data. In: Daniel, F., Dolog, P., Li, Q. (eds.) ICWE 2013. LNCS, vol. 7977, pp. 68ā€“83. Springer, Heidelberg (2013). doi:10.1007/978-3-642-39200-9_8

    ChapterĀ  Google ScholarĀ 

  14. Jouault, F., Allilaire, F., BĆ©zivin, J., Kurtev, I.: ATL: a model transformation tool. SCP 72(1ā€“2), 31ā€“39 (2008)

    MathSciNetĀ  MATHĀ  Google ScholarĀ 

  15. Jouault, F., Kurtev, I.: On the architectural alignment of ATL and QVT. In: Proceedings of the 21st SAC Conference, pp. 1188ā€“1195. ACM (2006)

    Google ScholarĀ 

  16. Lal, M.: Neo4j Graph Data Modeling. Packt Publishing Ltd., Birmingham (2015)

    Google ScholarĀ 

  17. Leonard, A.: Pro Hibernate and MongoDB. Apress, Berkeley (2013)

    BookĀ  Google ScholarĀ 

  18. Li, Y., Gu, P., Zhang, C.: Transforming UML class diagrams into HBase based on meta-model. In: Proceedings of the 4th ISEEE Conference, vol. 2, pp. 720ā€“724. IEEE (2014)

    Google ScholarĀ 

  19. Marcos, E., Vela, B., Cavero, J.M.: A methodological approach for object-relational database design using UML. SoSyM 2(1), 59ā€“72 (2003)

    Google ScholarĀ 

  20. Mior, M.J., Salem, K., Aboulnaga, A., Liu, R., NoSE: schema design for NoSQL applications. In: 32nd ICDE Conference. IEEE (2016, accepted). http://tinyurl.com/hqoxddx

  21. Okman, L., Gal-Oz, N., Gonen, Y., Gudes, E., Abramov, J.: Security issues in NoSQL databases. In: Proceedings of the 10th TrustCom Conference, pp. 541ā€“547. IEEE (2011)

    Google ScholarĀ 

  22. OMG: MDA Specifications (2016). http://www.omg.org/mda/specs.htm

  23. OMG: OCL Specification (2016). www.omg.org/spec/OCL

  24. OMG: UML Specification (2016). www.omg.org/spec/UML

  25. Sevilla Ruiz, D., Morales, S.F., GarcĆ­a Molina, J.: Inferring versioned schemas from NoSQL databases and its applications. In: Johannesson, P., Lee, M.L., Liddle, S.W., Opdahl, A.L., LĆ³pez, Ɠ.P. (eds.) ER 2015. LNCS, vol. 9381, pp. 467ā€“480. Springer, Heidelberg (2015). doi:10.1007/978-3-319-25264-3_35

    ChapterĀ  Google ScholarĀ 

  26. TinkerPop: Blueprints API (2016). blueprints.tinkerpop.com

  27. TinkerPop: The Gremlin Language (2016). gremlin.tinkerpop.com

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Gwendal Daniel .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

Ā© 2016 Springer International Publishing AG

About this paper

Cite this paper

Daniel, G., SunyƩ, G., Cabot, J. (2016). UMLtoGraphDB: Mapping Conceptual Schemas to Graph Databases. In: Comyn-Wattiau, I., Tanaka, K., Song, IY., Yamamoto, S., Saeki, M. (eds) Conceptual Modeling. ER 2016. Lecture Notes in Computer Science(), vol 9974. Springer, Cham. https://doi.org/10.1007/978-3-319-46397-1_33

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-46397-1_33

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-46396-4

  • Online ISBN: 978-3-319-46397-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics