Skip to main content

Model Querying with FunnyQT

(Extended Abstract)

  • Conference paper
Theory and Practice of Model Transformations (ICMT 2013)

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

Abstract

FunnyQT is a new model querying and transformation approach. It is designed as an extensible API in the functional, JVM-based Lisp dialect Clojure. FunnyQT targets the modeling frameworks JGraLab and EMF, and it is extensible to other frameworks as well. Its querying parts are already stable while its transformation parts are still in early stages of development, so this paper focuses on the former.

Clojure API. FunnyQT is not a separate language with its own concrete syntax and semantics, but a Clojure API, i.e., FunnyQT queries are essentially Clojure expressions. Clojure’s JVM-basing guarantees efficient and wrapper-free interoperability with existing Java libraries including almost all modeling frameworks. Clojure provides a large set of features including higher-order functions and control structures that can be used directly. Clojure programs also tend to be much more concise than equivalent programs in imperative languages. A first case study involving complex, parallelized FunnyQT queries on large models has been released as a whitepaper [2].

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 54.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 72.00
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

References

  1. Ebert, J., Bildhauer, D.: Reverse Engineering Using Graph Queries. In: Engels, G., Lewerentz, C., Schäfer, W., Schürr, A., Westfechtel, B. (eds.) Nagl Festschrift. LNCS, vol. 5765, pp. 335–362. Springer, Heidelberg (2010)

    Chapter  Google Scholar 

  2. Horn, T.: FunQL: A Functional Graph Query Language. Whitepaper (January 2012), http://www.uni-koblenz.de/~horn/funql-whitepaper.pdf

  3. JGraLab Hompage (March 2013), http://jgralab.uni-koblenz.de

  4. Kolovos, D., Rose, L., Paige, R.: The Epsilon Book (March 2013), http://www.eclipse.org/epsilon/doc/book/

  5. Steinberg, D., Budinsky, F., Paternostro, M., Merks, E.: EMF: Eclipse Modeling Framework, 2nd edn. Addison-Wesley Professional (2008)

    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

Horn, T. (2013). Model Querying with FunnyQT. In: Duddy, K., Kappel, G. (eds) Theory and Practice of Model Transformations. ICMT 2013. Lecture Notes in Computer Science, vol 7909. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-38883-5_7

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-38883-5_7

  • Publisher Name: Springer, Berlin, Heidelberg

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

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

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics