alyze the consistency of UML class diagrams and
UML statechart diagrams with state invariants. The
approach is fully automated thanks to the translation
tool and the existing OWL 2 reasoners. Since the
translation tool accepts standard UML models seri-
alized using the XMI standard, the approach can be
easily integrated with existing UML modeling tools.
Our approach is decidable because we restrict our-
selves to an admittedly small fragment of OCL. This
strategy has been already used for expressing con-
straints over class diagrams (Cabot et al., 2008; Quer-
alt et al., 2012b). We believe that the use of limited
subsets of OCL do not reduce the merits of this and
similar approaches even if they cannot be used to pro-
cess all possible OCL constraints. An analysis tool
could in fact integrate different analysis approaches
and use the right one depending of the fragment of
OCL used in the models.
The performance experiments show that the pro-
posed approach can process relatively large UML
models in few seconds by using current reasoning
tools on desktop computers. Therefore, we consider
that this approach has the potential to be incorporated
with existing and future UML modeling tools and of-
fer consistency analysis services that go ahead of what
is being offered in current modeling tools.
REFERENCES
Balaban, M. and Maraee, A. (2008). A UML-based method
for deciding finite satisfiability in description logics.
In Description Logics.
Berardi, D., Calvanese, D., and Giacomo, G. D. (2005).
Reasoning on UML class diagrams. Artif. Intell.,
168(1-2):70–118.
Birgit Demuth, C. W. (2009). Model and Object Verifi-
cation by Using Dresden OCL. In Proceedings of
the Russian-German Workshop Innovation Informa-
tion Technologies: Theory and Practice,, pages 81–
89.
Broy, M., Cengarle, M. V., Gr
¨
onniger, H., and Rumpe, B.
(2009). Considerations and Rationale for a UML Sys-
tem Model. In UML 2 Semantics and Applications,
pages 43–60. John Wiley & Sons, Hoboken.
Cabot, J., Clariso, R., and Riera, D. (2008). Verification of
UML OCL class diagrams using constraint program-
ming. ICSTW, pages 73–80.
Garcia, M. and Shidqie, A. J. (2007). OCL Compiler for
EMF. In Eclipse Modeling Symposium at Eclipse
Summit Europe 2007, Stuttgart, Germany.
Hnatkowska, B., Huzar, Z., and Magott, J. (2001). Consis-
tency Checking in UML Models. In ISM’01.
Horrocks, I., Kutz, O., and Sattler, U. (2006). The even
more irresistible SROIQ. In KR, pages 57–67.
Horrocks, I., Peter, F., Schneider, P., and Harmelen, F. V.
(2003). From SH I Q and RDF to OWL: The mak-
ing of a web ontology language. J. of Web Semantics,
1(1):7–26.
Lam, V. S. W. and Padget, J. A. (2005). Consistency check-
ing of statechart diagrams of a class hierarchy. In
ECOOP, pages 412–427.
Maoz, S., Ringert, J. O., and Rumpe, B. (2011). Seman-
tically configurable consistency analysis for class and
object diagrams. In MoDELS, pages 153–167.
OMG (2006). OCL, OMG Available Specification, Version
2.0. http://www.omg.org/spec/OCL/2.0/.
OMG (2011). UML, Superstructure Specification, Ver-
sion 2.4.1. http://www.omg.org/spec/UML/2.4.1/
Superstructure/.
Queralt, A., Artale, A., Calvanese, D., and Teniente, E.
(2012a). OCL-Lite: A decidable (yet expressive)
fragment of OCL. In Proc. of the 25th Int. Work-
shop on Description Logics (DL 2012), volume 846 of
CEUR Electronic Workshop Proceedings, http://ceur-
ws.org/, pages 312–322.
Queralt, A., Artale, A., Calvanese, D., and Teniente, E.
(2012b). OCL-Lite: Finite Reasoning on UML/OCL
Conceptual Schemas. Data and Knowledge Engineer-
ing, 73:1–22.
Rasch, H. and Wehrheim, H. (2003). Checking consis-
tency in uml diagrams: Classes and state machines. In
FMOODS 2003, volume 2884 of LNCS, pages 229–
243. Springer Berlin / Heidelberg.
Sekerinski, E. (2008). Verifying statecharts with state in-
variants. In ICECCS, pages 7–14.
Shearer, R., Motik, B., and Horrocks, I. (2008). HermiT: a
highly-efficient OWL reasoner. OWLED.
Sirin, E., Parsia, B., Grau, B. C., Kalyanpur, A., and Katz,
Y. (2007). Pellet: A practical OWL-DL reasoner.
Journal of Web Semantics, 5:51–53.
Tsarkov, D. and Horrocks, I. (2006). Fact++ description
logic reasoner: system description. In Proceedings of
the Third international joint conference on Automated
Reasoning, IJCAR’06, pages 292–297, Berlin, Hei-
delberg. Springer-Verlag.
Van Der Straeten, R. (2005). Inconsistency Management
in Model-driven Engineering. An Approach using De-
scription Logics. PhD thesis, Vrije Universiteit Brus-
sel, Brussels, Belgium.
W3C (2009a). OWL 2 Web Ontology Language Di-
rect Semantics. http://www.w3.org/TR/owl2-direct-
semantics/.
W3C (2009b). OWL 2 Web Ontology Language
Structural Specification and Functional-Style Syn-
tax. http://www.w3.org/TR/2009/REC-owl2-syntax-
20091027/.
Walter, T., Parreiras, F., and Staab, S. (2012). An ontology-
based framework for domain-specific modeling. Soft-
ware and Systems Modeling, pages 1–26.
Wang, S., Jin, L., and Jin, C. (2006). Ontology definition
metamodel based consistency checking of UML mod-
els. In CSCWD 2006, pages 1–5.
Yeung, W. L. (2004). Checking Consistency between UML
Class and State Models Based on CSP and B. J. UCS,
10(11):1540–1559.
MODELSWARD2013-InternationalConferenceonModel-DrivenEngineeringandSoftwareDevelopment
24