Skip to main content

MOCQL: A Declarative Language for Ad-Hoc Model Querying

  • Conference paper
Book cover Modelling Foundations and Applications (ECMFA 2013)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 7949))

Included in the following conference series:

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 49.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Awad, A.: A Compliance Management Framework for Business Process Models. PhD thesis, Hasso Plattner Institute, Univ. of Potsdam (2010)

    Google Scholar 

  2. Awad, A., Decker, G., Weske, M.: Efficient Compliance Checking Using BPMN-Q and Temporal Logic. In: Dumas, M., Reichert, M., Shan, M.-C. (eds.) BPM 2008. LNCS, vol. 5240, pp. 326–341. Springer, Heidelberg (2008)

    Chapter  Google Scholar 

  3. Beeri, C., Eyal, A., Kamenkovich, S., Milo, T.: Querying Business Processes. In: Proc. 32nd Intl. Conf. Very Large Data Bases (VLDB), pp. 343–354. VLDB Endowment (2006)

    Google Scholar 

  4. Bottoni, P., Koch, M., Parisi-Presicce, F., Taentzer, G.: Consistency Checking and Visualization of OCL Constraints. In: Evans, A., Caskurlu, B., Selic, B. (eds.) UML 2000. LNCS, vol. 1939, pp. 294–308. Springer, Heidelberg (2000)

    Chapter  Google Scholar 

  5. Bottoni, P., Koch, M., Parisi-Presicce, F., Taentzer, G.: A Visualisation of OCL using Collaborations. In: Gogolla, M., Kobryn, C. (eds.) UML 2001. LNCS, vol. 2185, pp. 257–271. Springer, Heidelberg (2001)

    Chapter  Google Scholar 

  6. Chimiak-Opoka, J., Felderer, M., Lenz, C., Lange, C.: Querying UML Models using OCL and Prolog: A Performance Study. In: Faivre, A., Ghosh, S., Pretschner, A. (eds.) Ws. Model Driven Engineering, Verification, and Validation (MoDeVVa 2008), pp. 81–89 (2008)

    Google Scholar 

  7. Costagliola, G., et al. (eds.): Expressing Model Constraints Visually with VMQL. IEEE Computer Society (2011)

    Google Scholar 

  8. Gopher, D., Braune, R.: On the Psychophysics of Workload: Why Bother with Subjective Measures? Human Factors 26(5), 519–532 (1984)

    Google Scholar 

  9. OMG. OMG Unified Modeling Language (OMG UML), Superstructure, V2.4 (ptc/2010-12-06). Technical report, Object Management Group (January 2011)

    Google Scholar 

  10. OMG. OCL Specification v2.3.1 (formal/2012-01-01). Technical report, Object Management Group (January 2012)

    Google Scholar 

  11. Paas, F., Tuovinen, J.E., Tabbers, H., Van Gerven, P.W.M.: Cognitive Load Measurement as a Means to Advance Cognitive Load Theory. Educational Psychologist 38(1), 63–71 (2003)

    Article  Google Scholar 

  12. R Development Core Team. R: A Language and Environment for Statistical Computing. R Foundation for Statistical Computing, Vienna, Austria (2011)

    Google Scholar 

  13. Stein, D., Hanenberg, S., Unland, R.: A Graphical Notation to Specify Model Queries for MDA Transformations on UML Models. In: Aßmann, U., Akşit, M., Rensink, A. (eds.) MDAFA 2003. LNCS, vol. 3599, pp. 77–92. Springer, Heidelberg (2005), available at www.ida.liu.se/~henla/mdafa2004

    Chapter  Google Scholar 

  14. Stein, D., Hanenberg, S., Unland, R.: Query Models. In: Baar, T., Strohmeier, A., Moreira, A., Mellor, S.J. (eds.) UML 2004. LNCS, vol. 3273, pp. 98–112. Springer, Heidelberg (2004)

    Chapter  Google Scholar 

  15. Störrle, H.: VMQL: A Generic Visual Model Query Language. In: Erwig, M., DeLine, R., Minas, M. (eds.) Proc. IEEE Symposium on Visual Languages and Human-Centric Computing (VL/HCC 2009), pp. 199–206. IEEE Computer Society (2009)

    Google Scholar 

  16. Störrle, H.: Towards Clone Detection in UML Domain Models. J. Software and Systems Modeling (2011) (in print)

    Google Scholar 

  17. Störrle, H.: VMQL: A Visual Language for Ad-Hoc Model Querying. J. Visual Languages and Computing 22(1) (February 2011)

    Google Scholar 

  18. Störrle, H.: Making Sense to Modelers - Presenting UML Class Model Differences in Prose. In: Filipe, J., das Neves, R.C., Hammoudi, S., Pires, L.F. (eds.) Proc. 1st Intl. Conf. Model-Driven Engineering and Software Development, pp. 39–48. SCITEPRESS (2013)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Störrle, H. (2013). MOCQL: A Declarative Language for Ad-Hoc Model Querying. In: Van Gorp, P., Ritter, T., Rose, L.M. (eds) Modelling Foundations and Applications. ECMFA 2013. Lecture Notes in Computer Science, vol 7949. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-39013-5_2

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-39013-5_2

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-39012-8

  • Online ISBN: 978-3-642-39013-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics