|||"Representation of UML Class Diagrams in OWL 2 on the Background of Domain Ontologies", In e-Informatica Software Engineering Journal, vol. 13, no. 1, pp. 63–103, 2019.
DOI: , 10.5277/e-Inf190103.|
Get article (PDF)View article entry (BibTeX)
Małgorzata Sadowska, Zbigniew Huzar
Background: UML class diagrams can be automatically validated if they are compliant with a domain knowledge specified in a selected OWL 2 domain ontology. The method requires translation of the diagrams into their OWL 2 representation.
Aim: The aim of this paper is to present transformation and verification rules of UML class diagrams to their OWL 2 representation.
Method: The analysis of the results of the systematic literature review on the topic of transformation rules between elements of UML class diagrams and OWL 2 constructs. The purpose of the analysis is to present the extent to which state-of-the-art transformation rules cover the semantics expressed in class diagrams. On the basis of the analysis, new transformation rules expressing the semantics not yet covered but expected from the point of view of domain modelling pragmatics have been defined.
Results: The first result is the revision and extension of the transformation rules identified in the literature. The second original result is a proposition of verification rules necessary to check if a UML class diagram is compliant with the OWL 2 domain ontology.
Conclusion: The proposed transformations can be used for automatic validation of compliance of UML class diagrams with respect to OWL 2 domain ontologies.
UML, OWL 2, transformation rules, verification rules
 M. Sadowska and Z. Huzar, “Semantic validation of UML class diagrams with the use of domain ontologies expressed in OWL 2,” in Software Engineering: Challenges and Solutions. Springer International Publishing, 2016, pp. 47–59.
 Unified Modeling Language, Version 2.5, OMG, 2015. [Online]. http://www.omg.org/spec/UML/2.5
 OWL 2 Web Ontology Language Document Overview (Second Edition), W3C, 2012. [Online]. https://www.w3.org/TR/owl2-overview/
 M. Sadowska, “A prototype tool for semantic validation of UML class diagrams with the use of domain ontologies expressed in OWL 2,” in Towards a Synergistic Combination of Research and Practice in Software Engineering. Springer International Publishing, 2017, pp. 49–62.
 E.D. Nitto, L. Lavazza, M. Schiavoni, E. Tracanella, and M. Trombetta, “Deriving executable process descriptions from UML,” in Proceedings of the 24th International Conference on Software Engineering, ser. ICSE ’02. New York, NY, USA: ACM, 2002, pp. 155–165.
 C. Fu, D. Yang, X. Zhang, and H. Hu, “An approach to translating OCL invariants into OWL 2 DL axioms for checking inconsistency,” Automated Software Engineering, Vol. 24, No. 2, 2017, pp. 295–339.
 B. Kitchenham and S. Charters, “Guidelines for performing systematic literature reviews in software engineering,” Keele University & University of Durham, EBSE Technical Report EBSE 2007-01, 2007.
 X. Zhou, Y. Jin, H. Zhang, S. Li, and X. Huang, “A map of threats to validity of systematic literature reviews in software engineering,” in 23rd Asia-Pacific Software Engineering Conference (APSEC). IEEE, 2016, pp. 153–160.
 Z. Xu, Y. Ni, L. Lin, and H. Gu, “A semantics-preserving approach for extracting OWL ontologies from UML class diagrams,” in Database Theory and Application, ser. Communications in Computer and Information Science. Berlin, Heidelberg: Springer, 2009, pp. 122–136.
 M. Mehrolhassani and A. Elçi, “Developing ontology based applications of semantic web using UML to OWL conversion,” in The Open Knowlege Society. A Computer Science and Information Systems Manifesto, ser. Communications in Computer and Information Science. Berlin, Heidelberg: Springer, 2008, pp. 566–577.
 C. Zhang, Z.R. Peng, T. Zhao, and W. Li, “Transformation of transportation data models from Unified Modeling Language to Web Ontology Language,” Transportation Research Record: Journal of the Transportation Research Board, Vol. 2064, No. 1, 2008, pp. 81–89.
 A.H. Khan, I. Rauf, and I. Porres, “Consistency of UML class and statechart diagrams with state invariants,” in Proceedings of the 1st International Conference on Model-Driven Engineering and Software Development, S. Hammoudi, L.F. Pires, J. Filipe, and R.C. das Neves, Eds., Vol. 1. SciTePress Digital Library, 2013, p. 1–11.
 W. Xu, A. Dilo, S. Zlatanova, and P. van Oosterom, “Modelling emergency response processes: Comparative study on OWL and UML,” in Proceedings of the Joint ISCRAM-CHINA and GI4DM Conference, Harbin, China, 2008, pp. 493–504.
 N. Gherabi and M. Bahaj, “A new method for mapping UML class into OWL ontology,” International Journal of Computer Applications Special Issue on Software Engineering, Databases and Expert Systems, Vol. SEDEXS, No. 1, 2012, pp. 5–9. [Online]. https://research.ijcaonline.org/sedex/number1/sedex1002.pdf
 H.S. Na, O.H. Choi, and J.E. Lim, “A method for building domain ontologies based on the transformation of UML models,” in Fourth International Conference on Software Engineering Research, Management and Applications (SERA’06), D.K. Baik, D. Primeaux, N. Ishii, and R. Lee, Eds. IEEE, 2006, pp. 332–338.
 M. Bahaj and J. Bakkas, “Automatic conversion method of class diagrams to ontologies maintaining their semantic features,” International Journal of Soft Computing and Engineering, Vol. 2, No. 6, 2013, pp. 65–69.
 A. Belghiat and M. Bourahla, “Transformation of UML models towards OWL ontologies,” in 2012 6th International Conference on Sciences of Electronics, Technologies of Information and Telecommunications (SETIT), 2012, pp. 840–846.
 S. Höglund, A.H. Khan, Y. Liu, and I. Porres, “Representing and validating metamodels using OWL 2 and SWRL,” in Proceedings of the 9th Joint Conference on Knowledge-Based Software Engineering, 2010.
 OWL 2 Web Ontology Language Structural Specification and Functional-Style Syntax (Second Edition), W3C, 2012. [Online]. https://www.w3.org/TR/owl2-syntax/
 OWL 2 Web Ontology Language New Features and Rationale (Second Edition), W3C, 2012. [Online]. https://www.w3.org/TR/owl2-new-features/
 N. Noy and A. Rector, Defining N-ary Relations on the Semantic Web, W3C, 2006. [Online]. https://www.w3.org/TR/swbp-n-aryRelations/
 W3C XML Schema Definition Language (XSD) 1.1 Part 2: Datatypes, W3C, 2012. [Online]. https://www.w3.org/TR/xmlschema11-2/
 OWL 2 Web Ontology Language Primer (Second Edition), W3C, 2012. [Online]. https://www.w3.org/TR/owl2-primer/
 I. Dubielewicz, B. Hnatkowska, Z. Huzar, and L. Tuzinkiewicz, “Domain modeling in the context of ontology,” Foundations of Computing and Decision Sciences, Vol. 40, No. 1, 2015, pp. 3–15. [Online]. https://content.sciendo.com/view/journals/fcds/40/1/article-p3.xml
 B. Hnatkowska, Z. Huzar, L. Tuzinkiewicz, and I. Dubielewicz, “A new ontology-based approach for construction of domain model,” in Intelligent Information and Database Systems, N.T. Nguyen, S. Tojo, L.M. Nguyen, and B. Trawiński, Eds. Cham: Springer International Publishing, 2017, pp. 75–85.
 I. Dubielewicz, B. Hnatkowska, Z. Huzar, and L. Tuzinkiewicz, “Domain modeling based on requirements specification and ontology,” in Software Engineering: Challenges and Solutions, L. Madeyski, M. Śmiałek, B. Hnatkowska, and Z. Huzar, Eds. Cham: Springer International Publishing, 2017, pp. 31–45.