MOCQL: A Declarative Language for Ad-Hoc Model Querying

Harald Störrle

Research output: Chapter in Book/Report/Conference proceedingArticle in proceedingsResearchpeer-review


This paper starts from the observation that existing model query facilities are not easy to use, and are thus not suitable for users without substantial IT/Computer Science background. In an attempt to highlight this issue and explore alternatives, we have created the Model Constraint and Query Language (MOCQL), an experimental declarative textual language to express queries (and constraints) on models. We introduce MOCQL by examples and its grammar, evaluate its usability by means of controlled experiments, and find that modelers perform better and experience less cognitive load when working with MOCQL than when working with OCL. While MOCQL is currently only implemented and validated for the different notations defined by UML, its concepts should be universally applicable.
Original languageEnglish
Title of host publicationModelling Foundations and Applications : 9th European Conference, ECMFA 2013, Montpellier, France, July 1-5, 2013. Proceedings
Publication date2013
ISBN (Print)978-3-642-39012-8
ISBN (Electronic)978-3-642-39013-5
Publication statusPublished - 2013
Event9th European Conference on Modelling Foundations and Applications (ECMFA 2013) - Montpellier, France
Duration: 1 Jul 20135 Jul 2013


Conference9th European Conference on Modelling Foundations and Applications (ECMFA 2013)
Internet address
SeriesLecture Notes in Computer Science


Dive into the research topics of 'MOCQL: A Declarative Language for Ad-Hoc Model Querying'. Together they form a unique fingerprint.

Cite this