MOCQL: a declarative language for ad-hoc model querying

  • Authors:
  • Harald Störrle

  • Affiliations:
  • Institute of Applied Mathematics and Computer Science, Technical University of Denmark, Denmark

  • Venue:
  • ECMFA'13 Proceedings of the 9th European conference on Modelling Foundations and Applications
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

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.