Skip to main content

Runtime Translation of Model-Level Queries to Persistence-Level

  • Conference paper
  • First Online:
Model-Driven Engineering and Software Development (MODELSWARD 2015)

Abstract

Different studies have proved that XMI (default persistence in Eclipse Modelling Framework) has some limitations when operating with large models. Recent approaches propose databases for persistence of models. Therefore, persistence level languages could be used to efficiently query models. While persistence level languages increase performance as they take advantages of underlying databases, they compromise usability for model engineers. Model engineers are familiar with model-level query languages (e.g. EOL or OCL). We present MQT (Model Query Translator), a runtime translation of model-level to persistence-level queries. Thus, we provide model engineers the usability of a model level language but also take advantage of performance optimization of databases. We have performed an empirical study of the approach using the GraBaTs 2009 case study (models from 8.8 MB to 646 MB) and results indicate that persisting models in a database, and combining it with runtime query translation provides a promising alternative for querying large models.

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://www.emn.fr/z-info/atlanmod/index.php/GraBaTs_2009_Case_Study”.

  2. 2.

    Read more at http://dresden-ocl.sourceforge.net/usage/ocl22sql/.

References

  1. Pagán, J.E., Cuadrado, J.S., Molina, J.G.: A repository for scalable model management. Softw. Syst. Model. 14, 219–239 (2013)

    Article  Google Scholar 

  2. Eike Stepper: CDO Model Repository Overview (2014). http://www.eclipse.org/cdo/documentation/. Accessed 17 March 2014

  3. 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)

    Google Scholar 

  4. Scheidgen, M.: Reference representation techniques for large models. In: Proceedings of the Workshop on Scalability in Model Driven Engineering. BigMDE 2013, pp. 5:1–5:9. ACM, New York (2013)

    Google Scholar 

  5. Pagán, J.E., Molina, J.G.: Querying large models efficiently. Inf. Softw. Technol. 56, 586–622 (2014)

    Article  Google Scholar 

  6. De Carlos, X., Sagardui, G., Trujillo, S.: MQT, an approach for runtime query translation: from EOL to SQL. In: Proceedings of the 14th International Workshop on OCL and Textual Modeling Applications and Case Studies. OCL 2014 (2014)

    Google Scholar 

  7. Kolovos, D., Rose, L., García-Domínguez, A., Paige, R. (eds.): The Epsilon Book, Enterprise Systems. University of York (2014)

    Google Scholar 

  8. 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)

    Chapter  Google Scholar 

  9. Marder, U., Ritter, N., Steiert, H.: A dbms-based approach for automatic checking of ocl constraints. In: Proceedings of Rigourous Modeling and Analysis with the UML: Challenges and Limitations. OOPSLA (1999)

    Google Scholar 

  10. Kolovos, D.S., Wei, R., Barmpis, K.: An approach for efficient querying of large relational datasets with OCL-based languages. In: XM 2013-Extreme Modeling Workshop, p. 48 (2013)

    Google Scholar 

  11. Heidenreich, F., Wende, C., Demuth, B.: A framework for generating query language code from ocl invariants. ECEASST 9 (2008)

    Google Scholar 

  12. Parreiras, F.S.: Semantic Web and Model-Driven Engineering. Wiley, Hoboken (2012)

    Book  Google Scholar 

Download references

Acknowledgements

This work is partially supported by the EU Commission with project MONDO (FP7-ICT-2013-10), no. 611125. Authors wish to thank Dr. Dimitris Kolovos.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Xabier Mendialdua .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer International Publishing Switzerland

About this paper

Cite this paper

De Carlos, X., Sagardui, G., Murguzur, A., Trujillo, S., Mendialdua, X. (2015). Runtime Translation of Model-Level Queries to Persistence-Level. In: Desfray, P., Filipe, J., Hammoudi, S., Pires, L. (eds) Model-Driven Engineering and Software Development. MODELSWARD 2015. Communications in Computer and Information Science, vol 580. Springer, Cham. https://doi.org/10.1007/978-3-319-27869-8_6

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-27869-8_6

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-27868-1

  • Online ISBN: 978-3-319-27869-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics