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
I guess that public/doc/era-shapes.ttl is a concatenation of all individual shape files. Here's a grep of such problems in that file, which confirms the number 4+3:
(Related to #21)
Some ERA shapes use
sh:pattern
with an unanchored regex, eg"foo"
. But:https://w3c.github.io/data-shapes/shacl/#PatternConstraintComponent refers to
https://www.w3.org/TR/sparql11-query/#func-regex which refers to
https://www.w3.org/TR/xpath-functions/#func-matches which says
You can check the same at https://shacl.org/playground/
This means an unanchored pattern doesn't check the whole string. So you always want to use an anchored regex like
"^foo$"
.Count of such problems from search in github:
RINF-sidings-sparql.ttl
: 4 unanchored (one is commented out), 3 anchoredRINF-contact-line-systems-sparql.ttl
: 3 unanchoredI guess that
public/doc/era-shapes.ttl
is a concatenation of all individual shape files. Here's a grep of such problems in that file, which confirms the number 4+3:The text was updated successfully, but these errors were encountered: