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

Support dash:uniqueValueForClass #5246

Open
hmottestad opened this issue Feb 5, 2025 · 0 comments
Open

Support dash:uniqueValueForClass #5246

hmottestad opened this issue Feb 5, 2025 · 0 comments
Assignees
Labels
📶 enhancement issue is a new feature or improvement 📦 SHACL affects the SHACL validator
Milestone

Comments

@hmottestad
Copy link
Contributor

It's possible to model the concept of a key (unique identifier) in SHACL, but it's not possible to make the key local to subjects of a particular class.

Dash has the dash:uniqueValueForClass constraint that allows us to model that all ex:Person has to have a unique value for ex:uniqueID, but this value does not have to be unique for other classes, so ex:Cat can have overlapping values for ex:uniqueID.

It might be useful with other concepts of uniqueness based on some grouping. For instance it might be useful to say that a skos:Concept is unique based on the skos:definition within a a particular skos:ConceptScheme. This is not supported by dash:uniqueValueForClass.

@hmottestad hmottestad added 📦 SHACL affects the SHACL validator 📶 enhancement issue is a new feature or improvement labels Feb 5, 2025
@hmottestad hmottestad added this to the 5.2.0 milestone Feb 5, 2025
@hmottestad hmottestad self-assigned this Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📶 enhancement issue is a new feature or improvement 📦 SHACL affects the SHACL validator
Projects
None yet
Development

No branches or pull requests

1 participant