Open VirginiaBalseiro opened 1 year ago
Apart from what's arleady in the document, I think it might also be interesting to add a small NodeShape for the PersonalProfileDocument entry linking to WebID Document to the Person. Something along the following lines.
:ProfileDocShape a sh:NodeShape;
dct:title "ShaCL shape for a PersonalProfileDocument";
sh:targetClass foaf:PersonalProfileDocument;
sh:property [
sh:path foaf:primaryTopic;
sh:node :ProfileShape;
].
I will just ask: should this not be a .shacl file?
@timea .shacl
is reserved for SHACL compact syntax; the file in this PR uses Turtle syntax.
I will just ask: should this not be a .shacl file?
@timea
.shacl
is reserved for SHACL compact syntax; the file in this PR uses Turtle syntax.
@jeswr - just being pedantic, but that draft SHACL compact syntax spec you reference states that the reserved file extensions are either .shc
and .shaclc
(i.e., with a trailing 'c'). But yeah, your point is still valid though - i.e., this file is indeed using the Turtle syntax, and so .ttl
is what I'd expect - but @timea-solid, have you ever come across a use of .shacl
as a file extension (I can't find any from a quick Google search)...?
Based off: https://github.com/solid/webid-profile/blob/main/shapes/profile-shapes.ttl