Open RadStr opened 1 week ago
If you consider the model hierarchy with SGOV at the top (as the source of existing classes) and your own model at the bottom (as something you are working on), the SGOV model should not depend in any way on the models below.
Of course, you can inform the user that removing a class will break the model, and you can try to prevent them from doing that or implement your proposed solution. However, in theory, due to the hierarchy, it may happen that any model at the top introduces changes that break the models below.
This should be handled through an evolution process (which is work in progress):
In this case however, since you aim to make the process as simple as possible and both models are in the same specification, your solution is viable.
By the way, it would be great if the tool remained robust. This means that if there are inconsistencies or errors in the models (associations without an end, attributes without a class, etc.), the user should be informed about them but still be able to work with the model within reasonable limits. (i.e., the application should not crash)
The issue
When profiled class from SGOV is "removed", meaning undoing expansion of class in whose surrounding's the class lies. The profile no longer shows that it is profile, since the profiled class is no longer present.
How to replicate:
Add new vocabulary
Well-known vocabularies
tabCzech Semantic Dictionary of terms
classes
tab❌ Expand
onNatural person
Human
with 🧲 The result should look like this:✅ Expand
onNatural person
The result should look like this:One of possible solutions:
Profiled SGOV entities are always present in the catalog, even after the removal of surroundings of source class.