TopQuadrant/shacl

Error occurs when using "prefix :" with sequence path

joylix opened this issue · 5 comments

My environment is windows 10 , when I run SHACL Test Suite: path-sequence-001 , it is OK, But when I replace "prefix ex:" with "prefix :" I get an error message:
Unresolved prefixed name: :property1
I don't know if my test environment caused the error, or "prefix :" is not supported.

Can you attach the file that you have tried? I suspect an RDF syntax error.

I just split https://github.com/w3c/data-shapes/blob/gh-pages/data-shapes-test-suite/tests/core/path/path-sequence-001.ttl into two separate file, data.ttl and shacl.ttl, the results were completely normal,
data.ttl.txt
shacl.ttl.txt
then I replace "prefix ex:" with "prefix :", The representation in the corresponding data also replaces "ex:" with ":", and then things go wrong. I believe that RDF syntax is error-free.
data2.ttl.txt
shacl2.ttl.txt

The files look syntactically correct. With the provided information I have no idea what is wrong, but this W3C issue tracker does not sound like the right place to resolve this.

Edit: Sorry I mixed thus up with the W3C issue tracker. Andy is right below that this was an earlier bug.

It doesn't bother me that much, so I just avoid using "prefix :" . I used to use "prefix :" up until now, so it really puzzled me for a long time before I figured it out.
Thanks.