2014 | OriginalPaper | Buchkapitel
Translating OCL to Graph Patterns
verfasst von : Gábor Bergmann
Erschienen in: Model-Driven Engineering Languages and Systems
Verlag: Springer International Publishing
Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.
Wählen Sie Textabschnitte aus um mit Künstlicher Intelligenz passenden Patente zu finden. powered by
Markieren Sie Textabschnitte, um KI-gestützt weitere passende Inhalte zu finden. powered by
Model-driven tools use model queries for many purposes, including validation of well-formedness rules and specification of derived features. The majority of declarative model query corpus available in industry appears to use the OCL language. Graph pattern based queries, however, would have a number of advantages due to their more abstract specification, such as performance improvements through advanced query evaluation techniques. As query performance can be a key issue with large models, evaluating graph patterns instead of OCL queries could be useful in practice.
The current paper presents an automatic mapping from a large sublanguage of OCL expressions to equivalent graph patterns in the dialect of
EMF-IncQuery
. Validation of benefits is carried out by performance measurements according to an existing benchmark.