You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ShEx.js has the beginnings of this in the accessor branch. The idea is that you create UNIQUE constraints scoped to the particular node/shape pair, or (more expensively), across validations of that shape. Unique language tag is a good example where the uniqueness is scoped to the focus node (e.g. two different entities may both have a Spanish dct:description but no single node may do so).
An example of global uniqueness would be that no two Users may have the same combination of givenName and familyName.
It's been a long time since I worked on this feature but let me know of any use cases to keep in mind, or, ideally, if you want to geek through some uses cases/examples.
During a workshop on Distrbuted Knowledge Graph metadata, the need emerged to constrain a property to contain:
Therefore this would be allowed
would be valid, but
would not.
Is it possible to express that kind of constraint using ShEx?
The text was updated successfully, but these errors were encountered: