Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transformation Rule D.05 for enumeration items needs refining #197

Open
sixdiamants opened this issue Feb 13, 2024 · 2 comments
Open

Transformation Rule D.05 for enumeration items needs refining #197

sixdiamants opened this issue Feb 13, 2024 · 2 comments
Assignees

Comments

@sixdiamants
Copy link

Transformation rule D.05. Enumeration items — in core ontology layer says Specify SKOS concept instantiation axiom for each UML enumeration item.

The example in said rule shows
:itemA a skos:Concept ; skos:inScheme :EnumerationName ; ... .
Implying that itemA is a first-class citizen of its namespace.

As opposed to attributes and association role names, no provision is made for the reuse of enumeration items so there's a serious risk of conflicting concepts in the namespace. I doubt whether "standard" should become a standalone or shared concept.

The eProcurement model shows this enumeration.
image

Proposed solution:
I suggest that the enumeration items be mapped by postfixing the name of the item to the owning Enumeration like so:

  • epo:legal_regime.light -> epo:legal_regime_light (note that I changed light_regime to light to avoid duplication)
  • epo:legal_regime.design-contest -> epo:legal_regime_contest (prefer _ to -)
  • epo:legal_regime.standard -> epo:legal_regime_standard.

Last but not least, the definition of the enumeration items are stored in the "initial value" field, To be consistent, these should be stored as Notes.

@sixdiamants
Copy link
Author

Initial value fields should map to sh:defaultvalue. Imho such a transformation rule is currently missing and probably best allocated to an application profile.

@andreea-pasare andreea-pasare self-assigned this Feb 23, 2024
@sixdiamants
Copy link
Author

ping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants