Model Query Translator - A Model-level Query Approach for Large-scale Models

Xabier De Carlos, Goiuria Sagardui, Aitor Murguzur, Salvador Trujillo, Xabier Mendialdua

2015

Abstract

Persisting and querying models larger than a few tens of megabytes using XMI introduces a significant time and memory footprint overhead to MDD workflows. In this paper, we present an approach that attempts to address this issue using an embedded relational database as an alternative persistence layer for EMF models, and runtime translation of OCL-like expressions for efficiently querying such models. We have performed an empirical study of the approach using a set of large-scale reverse engineered models and queries from the Grabats 2009 Reverse Engineering Contest. Main contribution of this paper is the Model Query Translator, an approach that translates (and executes) at runtime queries from model-level (EOL) to persistence-level (SQL).

References

  1. Anthony Hunter (2014). EMF Query. http://projects. eclipse.org/projects/modeling.emf.query. Accessed June 13, 2014.
  2. Benelallam, A., G ómez, A., Sunyé, G., Tisi, M., and Launay, D. (2014). Neo4EMF, A Scalable Persistence Layer for EMF Models. In Cabot, J. and Rubin, J., editors, Modelling Foundations and Applications, volume 8569 of Lecture Notes in Computer Science, pages 230-241. Springer International Publishing.
  3. Bergmann, G., Hegedüs, A., Horváth, A., Ráth, I., Ujhelyi, Z., and Varró, D. (2012). Integrating efficient model queries in state-of-the-art emf tools. In Proceedings of the 50th International Conference on Objects, Models, Components, Patterns, TOOLS'12, pages 1-8, Berlin, Heidelberg. Springer-Verlag.
  4. Bruneliere, H., Cabot, J., Jouault, F., and Madiot, F. (2010). Modisco: A generic and extensible framework for model driven reverse engineering. In Proceedings of the IEEE/ACM International Conference on Automated Software Engineering, ASE 7810, pages 173- 174, New York, NY, USA. ACM. Hunt (2014). Mongo EMF https://github.com/BryanHunt/mongo-emf/wiki.
  5. Accessed March 17, 2014.
  6. De Carlos, X., Sagardui, G., and Trujillo, S. (2014). 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 7814.
  7. Demuth, B., Hussmann, H., and Loecher, S. (2001). Ocl as a specification language for business rules in database applications. In Proceedings of the 4th International Conference on The Unified Modeling Language, Modeling Languages, Concepts, and Tools, UML 7801, pages 104-117, London, UK, UK. Springer-Verlag.
  8. Eike Stepper (2014). CDO Model Repository Overview. http://www.eclipse.org/cdo/documentation/. Accessed March 17, 2014.
  9. Heidenreich, F., Wende, C., and Demuth, B. (2008). A framework for generating query language code from ocl invariants. ECEASST, 9.
  10. Kolovos, D., Rose, L., Garca-Domnguez, A., and Paige, R., editors (2014). The Epsilon Book. Enterprise Systems, University of York.
  11. Kolovos, D. S., Wei, R., and Barmpis, K. (2013). An Approach for Efficient Querying of Large Relational Datasets with OCL-based Languages. In XM 2013- Extreme Modeling Workshop, page 48.
  12. Marder, U., Ritter, N., and Steiert, H. (1999). A dbms-based approach for automatic checking of ocl constraints. In Proceedings of Rigourous Modeling and Analysis with the UML: Challenges and Limitations, OOPSLA.
  13. Pagán, J. E., Cuadrado, J. S., and Molina, J. G. (2013). A Repository for Scalable Model Management. Software & Systems Modeling, pages 1-21.
  14. Pagán, J. E. and Molina, J. G. (2014). Querying large models efficiently. Information and Software Technology, 56(6):586 - 622.
  15. Parreiras, F. S. (2012). Semantic Web and Model-driven Engineering. John Wiley & Sons.
  16. Scheidgen, M. (2013). Reference representation techniques for large models. In Proceedings of the Workshop on Scalability in Model Driven Engineering, BigMDE 7813, pages 5:1-5:9, New York, NY, USA. ACM.
Download


Paper Citation


in Harvard Style

De Carlos X., Sagardui G., Murguzur A., Trujillo S. and Mendialdua X. (2015). Model Query Translator - A Model-level Query Approach for Large-scale Models . In Proceedings of the 3rd International Conference on Model-Driven Engineering and Software Development - Volume 1: MODELSWARD, ISBN 978-989-758-083-3, pages 62-73. DOI: 10.5220/0005238000620073


in Bibtex Style

@conference{modelsward15,
author={Xabier De Carlos and Goiuria Sagardui and Aitor Murguzur and Salvador Trujillo and Xabier Mendialdua},
title={Model Query Translator - A Model-level Query Approach for Large-scale Models},
booktitle={Proceedings of the 3rd International Conference on Model-Driven Engineering and Software Development - Volume 1: MODELSWARD,},
year={2015},
pages={62-73},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0005238000620073},
isbn={978-989-758-083-3},
}


in EndNote Style

TY - CONF
JO - Proceedings of the 3rd International Conference on Model-Driven Engineering and Software Development - Volume 1: MODELSWARD,
TI - Model Query Translator - A Model-level Query Approach for Large-scale Models
SN - 978-989-758-083-3
AU - De Carlos X.
AU - Sagardui G.
AU - Murguzur A.
AU - Trujillo S.
AU - Mendialdua X.
PY - 2015
SP - 62
EP - 73
DO - 10.5220/0005238000620073