Querying UML Class Diagrams


UML Class Diagrams (UCDs) are the best known class-based formalism for conceptual modeling. They are used by software engineers to model the intensional structure of a system in terms of classes, attributes and operations, and to express constraints that must hold for every instance of the system. Reasoning over UCDs is of paramount importance in design, validation, maintenance and system analysis; however, for medium and large software projects, reasoning over UCDs may be impractical. Query answering, in particular, can be used to verify whether a (possibly incomplete) instance of the system modeled by the UCD, i.e., a snapshot, enjoys a certain property. In this work, we study the problem of querying UCD instances, and we relate it to query answering under guarded Datalog±, that is, a powerful Datalog-based language for ontological modeling. We present an expressive and meaningful class of UCDs, named Lean UCD, under which conjunctive query answering is tractable in the size of the instances.

DOI: 10.1007/978-3-642-28729-9_1

12 Figures and Tables

Cite this paper

@inproceedings{Cal2012QueryingUC, title={Querying UML Class Diagrams}, author={Andrea Cal{\`i} and Georg Gottlob and Giorgio Orsi and Andreas Pieris}, booktitle={FoSSaCS}, year={2012} }