solid / webid-profile

Discovery based on Solid Social Agent WebID
https://solid.github.io/webid-profile/
MIT License
12 stars 9 forks source link

Profile SHACL shape #84

Open VirginiaBalseiro opened 1 year ago

VirginiaBalseiro commented 1 year ago

Based off: https://github.com/solid/webid-profile/blob/main/shapes/profile-shapes.ttl

woutermont commented 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;
    ].
jeswr commented 1 year ago

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.

pmcb55 commented 1 year ago

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)...?