Diagrams are often studied as visual languages with an abstract and a concrete syntax (concrete syntax is often referred to as visual syntax), where the latter contains the visual representations of the concepts in the former. A formal specification of the concrete syntax is useful in diagram processing applications as well as in achieving unambiguous understanding of diagrams. Unified Modeling Language (UML) is a commonly used modeling language to represent software models using its diagrams. Class and package diagrams are two diagrams of UML. The motivation for this work is twofold; UML lacks a formal visual syntax specification and ontologies are under-explored for visual syntax specifications. The work in this paper, therefore, explores using ontologies for visual syntax specifications by specifying the visual syntax of a set of UML class and package diagram constructs as an ontology in the Web ontology language, OWL. The reasoning features of the ontology reasoners are then used to verify the visual syntax specification. Besides formally encoding the visual syntax of numerous UML constructs, the work also demonstrates the general value of using OWL for visual syntax specifications.
Reference:
Thomas, A, Gerber, AJ and Van der Merwe, A. 2015. Visual syntax of UML class and package diagram constructs as an ontology. In: 7th International Joint Conference on Knowledge Discovery, Knowledge Engineering and Knowledge Management, Lisbon, Portugal, 12-14 November 2015
Thomas, A., Gerber, A., & Van der Merwe, A. (2015). Visual syntax of UML class and package diagram constructs as an ontology. Science and Technology Publications, Lda. http://hdl.handle.net/10204/8715
Thomas, A, AJ Gerber, and A Van der Merwe. "Visual syntax of UML class and package diagram constructs as an ontology." (2015): http://hdl.handle.net/10204/8715
Thomas A, Gerber A, Van der Merwe A, Visual syntax of UML class and package diagram constructs as an ontology; Science and Technology Publications, Lda; 2015. http://hdl.handle.net/10204/8715 .