Ontology Based Verification of UML Class/OCL Model

Abdul Hafeez, Aqeel -ur- Rehman, Hyder Abbas Musavi Syed
2018 Mehran University Research Journal of Engineering and Technology  
Software models describe structures, relationships and features of the software. Modern software development methodologies such as MDE (Model Driven Engineering) use models as core elements. In MDE, the code is automatically generated from the model and model errors can implicitly shift into the code, which are difficult to find and fix. Model verification is a promising solution to this problem. However, coverage of all facets of model verification is a painful job and existing
more » ... al verification methods are greatly inspired by mathematics and difficult to understand by the software practitioners. This work considers particularly UML Class/OCL (Unified Modeling Language Class/Object Constraint Language) model and presents an ontology-based verification method. In the proposed method, a class diagram is transformed into ontology specified in OWL (Web Ontology Language) and constraints into SPARQL NAF (Negation as Failure) queries. This work tries to demonstrate that the proposed approach can efficiently cover all aspects of UML Class/OCL model verification.
doi:10.22581/muet1982.1804.07 fatcat:4fxoi2pkezdcfdim65nxy57ha4