Abstract
Model transformations provide a powerful capability to automate model refinements. However, the use of model transformation languages may present challenges to those who are unfamiliar with a specific transformation language. This paper presents an approach called model transformation by demonstration (MTBD), which allows an end-user to demonstrate the exact transformation desired by actually editing a source model and demonstrating the changes that evolve to a target model. An inference engine built into the underlying modeling tool records all editing operations and infers a transformation pattern, which can be reused in other models. The paper motivates the need for the approach and discusses the technical contributions of MTBD. A case study with several sample inferred transformations serves as a concrete example of the benefits of MTBD.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Czarnecki, K., Helsen, S.: Feature-based survey of model transformation approaches. IBM Systems Journal 45(3), 621–645 (2006)
Sendall, S., Kozaczynski, W.: Model transformation - The heart and soul of model-driven software development. IEEE Software, Special Issue on Model Driven Software Development 20(5), 42–45 (2003)
Wimmer, M., Strommer, M., Kargl, H., Kramler, G.: Towards model transformation generation by-example. In: Proceedings of the 40th Hawaii International Conference on Systems Science, Big Island, HI, January 2007, p. 285 (2007)
Kappel, G., Kapsammer, E., Kargl, H., Kramler, G., Reiter, T., Retschitzegger, W., Schwinger, W., Wimmer, M.: Lifting metamodels to ontologies - a step to the semantic integration of modeling languages. In: Proceedings of International Conference on Model Driven Engineering Languages and Systems, Genova, Italy, October 2006, pp. 528–542 (2006)
Varró, D.: Model transformation by example. In: Proceedings of Model Driven Engineering Languages and Systems, Genova, Italy, October 2006, pp. 410–424 (2006)
Generic Eclipse Modeling System (GEMS), http://www.eclipse.org/gmt/gems/
Jouault, F., Allilaire, F., Bézivin, J., Kurtev, I.: ATL: A model transformation tool. Science of Computer Programming 72(1/2), 31–39 (2008)
Gray, J., Lin, Y., Zhang, J.: Automating change evolution in model-driven engineering. IEEE Computer, Special Issue on Model-Driven Engineering 39(2), 51–58 (2006)
Balogh, Z., Varró, D.: Model transformation by example using inductive logic programming. In: Software and Systems Modeling. Springer, Heidelberg (2009)
Varró, D., Balogh, Z.: Automating model transformation by example using inductive logic programming. In: Proceedings of the 2007 ACM Symposium on Applied Computing, Seoul, Korea, March 2007, pp. 978–984 (2007)
Strommer, M., Wimmer, M.: A framework for model transformation by-example: Concepts and tool support. In: Proceedings of the 46th International Conference on Technology of Object-Oriented Languages and Systems, Zurich, Switzerland, July 2008, pp. 372–391 (2008)
Strommer, M., Murzek, M., Wimmer, M.: Applying model transformation by-example on business process modeling languages. In: Proceedings of Third International Workshop on Foundations and Practices of UML, Auckland, New Zealand, November 2007, pp. 116–125 (2007)
Zloof, M.: Query-By-Example: The invocation and definition of tables and terms. In: Proceedings of International Conference on Very Large Data Bases, Framingham, Massachusetts, 1975, pp. 1–24 (1975)
Cypher, A. (ed.): Watch what I do: Programming by demonstration. MIT Press, Cambridge (1993)
Lieberman, H.: Special issue on Programming by example. Communication of ACM 43(3), 72–114 (2000)
Lechner, S., Schrefl, M.: Defining web schema transformers by example. In: MaÅ™Ãk, V., Å tÄ›pánková, O., Retschitzegger, W. (eds.) DEXA 2003. LNCS, vol. 2736, pp. 46–56. Springer, Heidelberg (2003)
Robbes, R., Lanza, M.: Example-based program transformation. In: Proceedings of the 11th International Conference on Model Driven Engineering Languages and Systems, Toulouse, France, October 2008, pp. 174–188 (2008)
Zhang, J., Lin, Y., Gray, J.: Generic and domain-specific model refactoring using a model transformation engine. In: Model-driven Software Development, ch. 9, pp. 199–218. Springer, Heidelberg (2005)
Zhang, J., Cottenier, T., Berg, A., Gray, J.: Aspect composition in the Motorola aspect-oriented modeling weaver. Journal of Object Technology, Special Issue on Aspect-Oriented Modeling 6(7), 89–108 (2007)
Balasubramanian, K., Gokhale, A., Lin, Y., Zhang, J., Gray, J.: Weaving deployment aspects into domain-specific models. International Journal on Software Engineering and Knowledge Engineering, Special Issue on Aspect-Oriented Modeling 16(3), 403–424 (2006)
Gray, J., Lin, Y., Zhang, J., Nordstrom, S., Gokhale, A., Neema, S., Gokhale, S.: Replicators: Transformations to address model scalability. In: Proceedings of Model Driven Engineering Languages and Systems, Montego Bay, Jamaica, October 2005, pp. 295–308 (2005)
MTBD Project Page, http://www.cis.uab.edu/softcom/mtbd
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2009 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Sun, Y., White, J., Gray, J. (2009). Model Transformation by Demonstration. In: Schürr, A., Selic, B. (eds) Model Driven Engineering Languages and Systems. MODELS 2009. Lecture Notes in Computer Science, vol 5795. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-04425-0_58
Download citation
DOI: https://doi.org/10.1007/978-3-642-04425-0_58
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-04424-3
Online ISBN: 978-3-642-04425-0
eBook Packages: Computer ScienceComputer Science (R0)