Detection of design patterns from class diagram and sequence diagrams using ontology
This paper proposes an alternative scheme to detect design patterns in the early design stage. Both structural and behavioral designs primarily drawn in class diagram and its associated sequence diagrams are considered. Our detection approach exploits the knowledge base defined in ontology and the relevant inference rules to detect the design patterns. The Similar structural design patterns are effectively identified and exposed using ontology. In our approach, the target system design including a class diagram and its associated sequence diagrams are analyzed and translated into knowledge concepts in ontology in terms of RDF/OWL elements. The detection is performed by semantically searching our predefined knowledge base of the expected design patterns and their corresponding detecting inference rules through SWRL and SQWRL. The Protege tool is used to facilitate our demonstration. The design patterns are detected, and the set of the classes and their association are reported correctly.
2016 IEEE/ACIS 15th International Conference on Computer and Information Science (ICIS)