GPCE 2015
Mon 26 - Tue 27 October 2015 Pittsburgh, Pennsylvania, United States
co-located with SPLASH 2015
Tue 27 Oct 2015 17:00 - 17:20 at Grand Station 1 - Session 8 Chair(s): Jaakko Järvi

Model querying is an integral part of Model-Driven Engineering. Developers query models when specifying model transformations, when defining model constraints, or simply when they need to extract some information from the model. Model queries are often specified in a general programming language, with developers just navigating models through their programming interfaces. OCL is the best known model query language, and while successful, it is difficult to express complex structural properties featured in target model elements. In this paper we describe a model query facility that aims at easing the description of structural features in a query. In our approach, developers model their queries by reusing fragments of the target model to specify the invariant parts of the template, augmented with variables and special relations to specify what can vary. The query itself conforms to a meta-model that extends the meta-model under-query. By reusing the queried meta-model developers can maintain reduce the mental overhead that comes from using a different language to specify the queries. We have developed a proof of concept tool for the Eclipse Modeling Framework (EMF) that (1) generates a query meta-model from a target meta-model, (2) allows the construction of queries using a graphical, graph-based editor and (3) executes the queries by translating them to a set of logic predicates that are then evaluated using an extension of the logic-based query language Ekeko.

Tue 27 Oct

15:30 - 17:30: GPCE - Session 8 at Grand Station 1
Chair(s): Jaakko JärviTexas A&M University
gpce201515:30 - 16:00
Pablo InostrozaCentrum Wiskunde & Informatica, Tijs van der StormCWI
gpce201516:00 - 16:30
Jaime FontSan Jorge University, Lorena ArcegaSan Jorge University, Oystein HaugenØstfold University College, Carlos CetinaSan Jorge University
gpce201516:30 - 17:00
Christoph SeidlTechnische Universität Braunschweig, Sven SchusterTechnische Universität Braunschweig, Ina Schaefer
gpce201517:00 - 17:20
Carlos NogueraVrije Universiteit Brussel, Viviane JonckersVrije Universiteit Brussel
gpce201517:20 - 17:30
Day closing