Textual-based DSL for Conceptual Database Modeling: A Controlled Experiment


The variety of database system technologies that have become available in recent years makes it difficult to select tools for entity-relationship modeling (ER) in the teaching-learning context. This paper reports a replicated controlled experiment carried out with 33 subjects in order to compare effort spent (time) and quality, using the harmonic average between precision and recall, of the models produced with two different approaches. The models were produced in a proposed tool (ERtext) with a textual-based DSL and in another tool with a graphical approach (brModelo). Briefly, the data obtained indicate: i) both approaches present similar performance in relation to associated effort, and; ii) that there is a statistically significant difference in relation to the quality of the generated models, with a slightly advantage for the textual approach. Therefore, we conclude that the use of a textual-based DSL is feasible and our proposal is an acceptable solution in the context of conceptual database modeling.
Palavras-chave: Domain specific language, Conceptual data model, Conceptual model, Database modeling


Brambilla, M., Cabot, J., and Wimmer, M. (2017). Model-Driven Software Engineering in Practice, Second Edition. Synthesis Lectures on Software Engineering. Morgan & Claypool.

Celikovic, M., Dimitrieski, V., Aleksic, S., Ristic, S., and Lukovic, I. (2014). A DSL for EER data model specification. In 23rd Int. Conf. on Information Systems Development, pages 290–297, Varaždin, Croatia. Springer.

Cook, T. D. and Campbell, D. T. (1979). Quasi-Experimentation: Design and Analysis Issues for Field Settings. Houghton Mifflin, Chicago, IL, USA.

Davis, F. D. (1989). Perceived Usefulness, Perceived Ease of Use, and User Acceptance of Information Technology. Management Inf. Systems Quarterly, 13(3):319–340.

Derczynski, L. (2016). Complementarity, f-score, and NLP evaluation. In 10th Int. Conf. on Language Resources and Evaluation, pages 261–266. ELRA.

Dimitrieski, V., Celikovic, M., Aleksic, S., Ristic, S., Alargt, A., and Lukovic, I. (2015). Concepts and evaluation of the extended entity-relationship approach to database design in a multi-paradigm information system modeling tool. Comput. Lang. Syst. Struct., 44:299–318.

Kelly, S. and Tolvanen, J.-P. (2008). Domain Specific Modeling: Enabling Full Code Generation. John Wiley & Sons.

Kessler, J., Tschuggnall, M., and Specht, G. (2019). Relax: A webbased execution and learning tool for relational algebra. In Datenbanksysteme für Business, Technologie und Web, pages 503–506. Gesellschaft für Informatik.

Lopes, J., Bernardino, M., Basso, F., and Rodrigues, E. (2021). Empirical evaluation of a textual approach to database design in a modeling tool. In Proc. of the 23th International Conference on Enterprise Information Systems (ICEIS), page 8. SciTePress.

Lopes, J. R. (2019). Ertext: uma linguagem específica de domínio para a representação de modelos conceituais de bancos de dados relacionais (in portuguese).

Obeo and TypeFox (2020). Xtext/sirius-integration the main use-cases. Technical report, Obeo and TypeFox.

Persico, D., Manca, S., and Pozzi, F. (2014). Adapting the technology acceptance model to evaluate the innovative potential of e-learning systems. Computers in Human Behavior, 30:614–622.

Triola, M. (2018). Elementary Statistics. Pearson.
LOPES, Jonnathan; BERNARDINO, Maicon; BASSO, Fábio; RODRIGUES, Elder. Textual-based DSL for Conceptual Database Modeling: A Controlled Experiment. In: SIMPÓSIO BRASILEIRO DE BANCO DE DADOS (SBBD), 36. , 2021, Rio de Janeiro. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2021 . p. 169-180. ISSN 2763-8979. DOI: https://doi.org/10.5753/sbbd.2021.17875.