Model querying with query models

Carlos Francisco Noguera Garcia, Viviane Jonckers

Onderzoeksoutput: Conference paperResearch

Samenvatting

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-purpose 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 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.
Originele taal-2English
TitelProceedings of the 2015 ACM SIGPLAN International Conference on Generative Programming: Concepts and Experiences
Plaats van productieNew York, NY, USA
UitgeverijACM
Pagina's181-184
Aantal pagina's4
ISBN van geprinte versie978-1-4503-3687-1
DOI's
StatusPublished - 2015
EvenementGPCE - 2015 ACM SIGPLAN International Conference on Generative Programming: Concepts and Experiences - Pittsburgh, United States
Duur: 26 okt 201527 okt 2015

Conference

ConferenceGPCE - 2015 ACM SIGPLAN International Conference on Generative Programming: Concepts and Experiences
LandUnited States
StadPittsburgh
Periode26/10/1527/10/15

Vingerafdruk Duik in de onderzoeksthema's van 'Model querying with query models'. Samen vormen ze een unieke vingerafdruk.

Citeer dit