Verifying static aspects of UML models using prolog

Feng Sheng, Huibiao Zhu*, Zongyuan Yang, Jiaqi Yin, Gang Lu

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

1 Scopus citations

Abstract

The Unified Modeling Language (UML) provides a number of diagrams to describe the modeling system from different perspectives, which contain overlapping information about the systems. However, it does not provide any means of meticulously checking consistencies among the overlapping elements. In this study, we propose an approach for consistency checking of UML class diagrams and object diagrams using Prolog. First we formalize the model elements based on metamodel and convert the models into Prolog facts. Then we define some consistency rules that are encoded into Prolog. The Prolog's reasoning engine automatically checks the consistencies of models. In addition, we provide interfaces to query models for properties, elements and submodels. The design errors can be effectively avoided and the correctness of code-generalization can be guaranteed according to our approach.

Original languageEnglish
Title of host publicationProceedings - SEKE 2019
Subtitle of host publication31st International Conference on Software Engineering and Knowledge Engineering
PublisherKnowledge Systems Institute Graduate School
Pages259-264
Number of pages6
ISBN (Electronic)1891706489
DOIs
StatePublished - 2019
Event31st International Conference on Software Engineering and Knowledge Engineering, SEKE 2019 - Lisbon, Portugal
Duration: 10 Jul 201912 Jul 2019

Publication series

NameProceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE
Volume2019-July
ISSN (Print)2325-9000
ISSN (Electronic)2325-9086

Conference

Conference31st International Conference on Software Engineering and Knowledge Engineering, SEKE 2019
Country/TerritoryPortugal
CityLisbon
Period10/07/1912/07/19

Keywords

  • Class diagram
  • Consistency checking
  • Object diagram
  • Prolog

Fingerprint

Dive into the research topics of 'Verifying static aspects of UML models using prolog'. Together they form a unique fingerprint.

Cite this