Closed VladimirAlexiev closed 2 months ago
Do we need to do this? We are not maintaining OCL anymore as this was replaced by SHACL
If you won't be converting OCL2SHACL anymore, then close it. But this R2ML and the Atlas Transformation Language (ATL) is fascinating.
Svein wrote: OCL was primarily created to prevent a Norwegian and a French person arguing about the meaning of an English word. We wanted to make the rule machine understandable and non-ambiguous. That is still the main purpose of SHACL. It can therefore be good to have a simpler language like LinkML or SHACL Compact Syntax (SHACLC). There is a need to show in EA that there is constraints that is outside UML. However, I do not see EA to be the master of this information. It could be the original source.
So OCL is obsolete: closing
@griddigit-ci @Sveino How do you convert OCL2SHACL? Please give link to documentation since I'll need it for my SHACL tasks
Have you considered this chain:
It's a long shot because SWRL is about Rules not Constraints, but who knows, something interesting may lie here. It goes through R2ML, which is a general metamodel that covers integrity, derivation, reaction, and production rules.
See https://scholar.google.com/citations?user=9DlmJqcAAAAJ&hl=en&oi=ao for a lot of papers