A graph query language for EMF models

  • Authors:
  • Gábor Bergmann;Zoltán Ujhelyi;István Ráth;Dániel Varró

  • Affiliations:
  • Budapest University of Technology and Economics, Department of Measurement and Information Systems, Budapest;Budapest University of Technology and Economics, Department of Measurement and Information Systems, Budapest;Budapest University of Technology and Economics, Department of Measurement and Information Systems, Budapest;Budapest University of Technology and Economics, Department of Measurement and Information Systems, Budapest

  • Venue:
  • ICMT'11 Proceedings of the 4th international conference on Theory and practice of model transformations
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

While model queries are important components in modeldriven tool chains, they are still frequently implemented using traditional programming languages, despite the availability of model query languages due to performance and expressiveness issues. In the current paper, we propose EMF-INCQUERY as a novel, graph-based query language for EMF models by adapting the query language of the VIATRA2 model transformation framework to inherit its concise, declarative nature, but to properly tailor the new query language to the modeling specificities of EMF. The EMF-INCQUERY language includes (i) structural restrictions for queries imposed by EMF models, (ii) syntactic sugar and notational shorthand in queries, (iii) true semantic extensions which introduce new query features, and (iv) a constraint-based static type checking method to detect violations of EMF-specific type inference rules.