the GraBaTs’09 Reverse Engineering Contest. While
model size has a substantial impact on the memory
footprint and loading time using XMI, the impact is
softer in the case of MQT. However, results show that
number of queries to be translated and executed has
direct impact over the execution time. The number of
queries is dependent on the nature of the model.
For future work, we plan to perform a complete
study that will involve: (i) experimenting with dif-
ferent database configurations and with different in-
memory caching strategies; (ii) experimenting with
queries of different types (e.g. more complex, return-
ing more results, etc.); (iii) experimenting with mod-
els of different sizes returning similar results and with
models of same size returning more results; and (iv)
comparing results with other persistence approaches.
Open issues for the future are: (a) implementa-
tion of the Resource interface of EMF to integrate
the approach with EMF-based tools; and (b) analysis
of whether the approach could be generalized to sup-
port additional persistence approaches and querying
languages.
ACKNOWLEDGEMENTS
This work is partially supported by the EC, through
the Scalable Modelling and Model Management on
the Cloud (MONDO) FP7 STREP project (#611125).
Authors wish to thank Dr. Dimitris Kolovos and Ar-
turo Orbegozo for their help on this work.
REFERENCES
Anthony Hunter (2014). EMF Query. http://projects.
eclipse.org/projects/modeling.emf.query. Accessed
June 13, 2014.
Benelallam, A., G
´
omez, A., Suny
´
e, G., Tisi, M., and Lau-
nay, 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.
Bergmann, G., Heged
¨
us, A., Horv
´
ath, A., R
´
ath, I., Ujhelyi,
Z., and Varr
´
o, D. (2012). Integrating efficient model
queries in state-of-the-art emf tools. In Proceedings of
the 50th International Conference on Objects, Mod-
els, Components, Patterns, TOOLS’12, pages 1–8,
Berlin, Heidelberg. Springer-Verlag.
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 Auto-
mated Software Engineering, ASE ’10, pages 173–
174, New York, NY, USA. ACM.
Bryan Hunt (2014). Mongo EMF Wiki.
https://github.com/BryanHunt/mongo-emf/wiki.
Accessed March 17, 2014.
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 ’14.
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, Mod-
eling Languages, Concepts, and Tools, UML ’01,
pages 104–117, London, UK, UK. Springer-Verlag.
Eike Stepper (2014). CDO Model Repository Overview.
http://www.eclipse.org/cdo/documentation/. Ac-
cessed March 17, 2014.
Heidenreich, F., Wende, C., and Demuth, B. (2008). A
framework for generating query language code from
ocl invariants. ECEASST, 9.
Kolovos, D., Rose, L., Garca-Domnguez, A., and Paige, R.,
editors (2014). The Epsilon Book. Enterprise Systems,
University of York.
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.
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.
Pag
´
an, J. E., Cuadrado, J. S., and Molina, J. G. (2013).
A Repository for Scalable Model Management. Soft-
ware & Systems Modeling, pages 1–21.
Pag
´
an, J. E. and Molina, J. G. (2014). Querying large mod-
els efficiently. Information and Software Technology,
56(6):586 – 622.
Parreiras, F. S. (2012). Semantic Web and Model-driven
Engineering. John Wiley & Sons.
Scheidgen, M. (2013). Reference representation techniques
for large models. In Proceedings of the Workshop
on Scalability in Model Driven Engineering, BigMDE
’13, pages 5:1–5:9, New York, NY, USA. ACM.
ModelQueryTranslator-AModel-levelQueryApproachforLarge-scaleModels
73