Geonovum / MIM-Werkomgeving

Werkomgeving van MIM. Bevat werk en alle pre-publicatieversies.
https://geonovum.github.io/MIM-Werkomgeving/
7 stars 16 forks source link

Feasibility of Automatic MIM Annotations for Existing UML Models in EA #547

Closed elena-slavco closed 4 weeks ago

elena-slavco commented 1 month ago

Hello MIM Community,

We are exploring the possibility of enhancing our existing UML models within Enterprise Architect (EA) by implementing automatic MIM annotations. Our aim is to facilitate the transformation of these UML data models into OWL, specifically for models that were not originally created with the MIM standards in mind.

We think the MIM annotations can be based on EA elements . See the table below for our findings:

MIM EA element
Objecttype object of type Class , excluding Relatieklasse objects (see the annotation below)
Attribuutsoort attributes
Generalisatie connector of type Generalization
Relatiesoort connectors of type Aggregation and Association
Relatieklasse objects, whose value is in a PDATA1 for a connector of type Association
Relatierol destination and source of the connectors
Informatiemodel direct children of root directory in EA
Domein children of the direct children of the root directory

We believe this automation could significantly improve our transformation process of UML data models to OWL, but we would appreciate insights and opinions from the community. Do you think it's feasible to implement such automatic annotations for existing UML models? Any feedback or experiences you could share would be invaluable.

Thank you for your input.

PalmJanssen commented 1 month ago

Hi Elena,

This might be a good way to explore. As I understand you want to explore automated attribution of MIM stereotypes and related tagged values to an existing UML. I normally import the MIM profile in an existing UML and then manually assign the stereotypes to individual modelelements and then synchronize each stereotype to attribute the tagged values. Indeed some work to be done. Some automation might be welcome.

What would help if you have the info about stereotype extensions for EA (UML) metaclasses. I can send you the MIM EA development file if needed. This info can also be found in the MIM toolbox file.

This is an example of extensions on UML Attribute: image

Extensions of UML Class:

image

elena-slavco commented 4 weeks ago

Thank you @PalmJanssen !