Skip to main content

Forward Engineering Relational Schemas and High-Level Data Access from Conceptual Models

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

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

Included in the following conference series:

Abstract

Forward engineering relational schemas based on conceptual models is an established practice, with a number of commercial tools available and widely used in production settings. These tools employ automated transformation strategies to address the gap between the primitives offered by conceptual modeling languages (such as ER and UML) and the relational model. Despite the various benefits of automated transformation, once a database schema is obtained, data access is usually undertaken by relying on the resulting schema, at a level of abstraction lower than that of the source conceptual model. Data access then requires both domain knowledge and comprehension of the (non-trivial) technical choices embodied in the resulting schema. We address this problem by forward engineering not only a relational schema, but also creating an ontology-based data access mapping for the resulting schema. This mapping is used to expose data in terms of the original conceptual model, and hence queries can be written at a high level of abstraction, independently of the transformation strategy selected.

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 64.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 84.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://purl.org/guidoni/ontouml2db.

References

  1. Afzal, H., Waqas, M., Naz, T.: OWLMap: fully automatic mapping of ontology into relational database schema. Int. J. Adv. Comput. Sci. Appl. 7(11), 7–15 (2016)

    Google Scholar 

  2. Ambler, S.W.: Agile Database Techniques: Effective Strategies for the Agile Software Developer. Wiley, Hoboken (2003)

    Google Scholar 

  3. Bizer, C., Seaborne, A.: D2RQ-treating non-RDF databases as virtual RDF graphs. In: ISWC 2004 (posters) (2004)

    Google Scholar 

  4. Calvanese, D., Kalayci, T.E., Montali, M., Santoso, A., van der Aalst, W.: Conceptual schema transformation in ontology-based data access. In: Faron Zucker, C., Ghidini, C., Napoli, A., Toussaint, Y. (eds.) EKAW 2018. LNCS (LNAI), vol. 11313, pp. 50–67. Springer, Cham (2018). https://doi.org/10.1007/978-3-030-03667-6_4

    Chapter  Google Scholar 

  5. Calvanese, D., et al.: Ontop: answering SPARQL queries over relational databases. Semant. Web 8(3), 471–487 (2017). https://doi.org/10.3233/SW-160217

    Article  Google Scholar 

  6. de Medeiros, L.F., Priyatna, F., Corcho, O.: MIRROR: automatic R2RML mapping generation from relational databases. In: Cimiano, P., Frasincar, F., Houben, G.-J., Schwabe, D. (eds.) ICWE 2015. LNCS, vol. 9114, pp. 326–343. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-19890-3_21

    Chapter  Google Scholar 

  7. 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). https://doi.org/10.1007/3-540-46852-8_42

    Chapter  Google Scholar 

  8. Egea, M., Dania, C.: SQL-PL4OCL: an automatic code generator from OCL to SQL procedural language. In: Proceedings of the MODELS 2017, Austin, TX, USA, 17–22 September 2017, p. 54 (2017)

    Google Scholar 

  9. Egea, M., Dania, C., Clavel, M.: Mysql4ocl: a stored procedure-based MySQL code generator for OCL. Electron. Commun. Eur. Assoc. Softw. Sci. Technol. 36 (2010)

    Google Scholar 

  10. Erling, O., Mikhailov, I.: RDF support in the virtuoso DBMS. In: Auer, S., Bizer, C., Müller, C., Zhdanova, A.V. (eds.) Proceedings of the CSSW 2007, Leipzig, Germany. LNI, vol. P-113. GI (2007)

    Google Scholar 

  11. Fowler, M.: Patterns of Enterprise Application Architecture. Addison-Wesley Longman Publishing Co., Inc., Boston (2002)

    Google Scholar 

  12. Franconi, E., Mosca, A., Oriol, X., Rull, G., Teniente, E.: Logic foundations of the OCL modelling language. In: Fermé, E., Leite, J. (eds.) JELIA 2014. LNCS (LNAI), vol. 8761, pp. 657–664. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-11558-0_49

    Chapter  Google Scholar 

  13. Guidoni, G.L., Almeida, J.P.A., Guizzardi, G.: Transformation of ontology-based conceptual models into relational schemas. In: Dobbie, G., Frank, U., Kappel, G., Liddle, S.W., Mayr, H.C. (eds.) ER 2020. LNCS, vol. 12400, pp. 315–330. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-62522-1_23

    Chapter  Google Scholar 

  14. Guizzardi, G., Fonseca, C.M., Benevides, A.B., Almeida, J.P.A., Porello, D., Sales, T.P.: Endurant types in ontology-driven conceptual modeling: towards OntoUML 2.0. In: Trujillo, J.C., et al. (eds.) ER 2018. LNCS, vol. 11157, pp. 136–150. Springer, Cham (2018). https://doi.org/10.1007/978-3-030-00847-5_12

    Chapter  Google Scholar 

  15. Jiménez-Ruiz, E., et al.: BootOX: practical mapping of RDBs to OWL 2. In: Arenas, M., et al. (eds.) ISWC 2015. LNCS, vol. 9367, pp. 113–132. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-25010-6_7

    Chapter  Google Scholar 

  16. Keller, W.: Mapping objects to tables: a pattern language. In: EuroPLoP 1997: Proceedings of the 2nd European Conference Pattern Languages of Programs. Siemens Technical report 120/SW1/FB (1997)

    Google Scholar 

  17. Oriol, X., Teniente, E.: Incremental checking of OCL constraints through SQL queries. In: Proceedings of the MODELS 2014). CEUR Workshop Proceedings, vol. 1285 (2014)

    Google Scholar 

  18. Philippi, S.: Model driven generation and testing of object-relational mappings. J. Syst. Softw. 77, 193–207 (2005)

    Article  Google Scholar 

  19. Poggi, A., Lembo, D., Calvanese, D., Giacomo, G.D., Lenzerini, M., Rosati, R.: Linking data to ontologies. J. Data Semant. 10, 133–173 (2008)

    MATH  Google Scholar 

  20. Sequeda, J.F., Miranker, D.P.: Ultrawrap: SPARQL execution on relational data. J. Web Semant. 22, 19–39 (2013)

    Article  Google Scholar 

  21. Torres, A., et al.: Twenty years of object-relational mapping: a survey on patterns, solutions, and their implications on application design. Inf. Softw. Technol. 82, 1–18 (2017)

    Article  Google Scholar 

  22. Verdonck, M., et al.: Comparing traditional conceptual modeling with ontology-driven conceptual modeling: an empirical study. Inf. Syst. 81, 92–103 (2019)

    Article  Google Scholar 

  23. Vyšniauskas, E., et al.: Reversible lossless transformation from owl 2 ontologies into relational databases. Inf. Technol. Control 40(4), 293–306 (2011)

    Google Scholar 

Download references

Acknowledgments

This research is partly funded by Brazilian funding agencies CNPq (grants numbers 313687/2020-0, 407235/2017-5) and CAPES (grant number 23038.028816/2016-41).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to João Paulo A. Almeida .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Guidoni, G.L., Almeida, J.P.A., Guizzardi, G. (2021). Forward Engineering Relational Schemas and High-Level Data Access from Conceptual Models. In: Ghose, A., Horkoff, J., Silva Souza, V.E., Parsons, J., Evermann, J. (eds) Conceptual Modeling. ER 2021. Lecture Notes in Computer Science(), vol 13011. Springer, Cham. https://doi.org/10.1007/978-3-030-89022-3_12

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-89022-3_12

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-89021-6

  • Online ISBN: 978-3-030-89022-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics