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

Constraints for simple tasks #221

Open
afs opened this issue Jan 26, 2025 · 0 comments
Open

Constraints for simple tasks #221

afs opened this issue Jan 26, 2025 · 0 comments
Labels
Core For SHACL 1.2 Core spec

Comments

@afs
Copy link

afs commented Jan 26, 2025

Having specific forms for simple cases:

  • (users) it makes it clearer to see what a constraint does; less error-prone.
  • (implementers) helps implementation/optimization, avoiding analysis regexes; for light-weight implementations.

e.g. for strings:

  • sh:strContains
  • sh:strStarts, sh:strEnds

This can already be performed by sh:pattern but being able to say them without regexs is easier.

eg. for URIs:

  • some way to say "in namespace" (effectively, URI prefix)
@afs afs added the Core For SHACL 1.2 Core spec label Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core For SHACL 1.2 Core spec
Projects
None yet
Development

No branches or pull requests

1 participant