Means to amend documentation #9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Whenever someone sees the need to adjust the description of class properties, or a class itself, for the purpose of provided context-specific hints for annotation they appear to have to create a derived class. This seems overly complicated.
Use case: For TRR379
Personrecords, I'd want to say that the URL of a contributor page on the main website is a suitable (and preferred)dlthings:id. There is no other change in semantics, property composition or otherwise. I'd have to subclass, just for being able to leave a usage hint.It would be beneficial to inform shacl-vue about class(-property) specific "hints". Those should be displayed in a dedicate place/fashion, separate from
sh:nameorsh:description. It would make sense to me that such hints come from a different document (not the schema), and are shacl-vue instance specific.I agree this would be a useful functionality to have. From a
shacl-vueperspective it would fit into the overall design to have this in SHACL format as well. I browsed around a bit and remembered this vocabulary: https://datashapes.org/propertyroles.html#example. I'm wondering whether it's feasible to have a separate linkml document that specifies such roles for a given property, then generate the SHACL from that and feed that into shacl-vue as well, in parallel to any particular schema. One thing that I need to consider in more depth is the fact that a given property could have a different purpose or presentation within a different context; this is exemplified byslot_usagein linkml, and I need to check how this manifests in SHACL (specificsh:PropertyShapes are defined in the context of specificsh:NodeShapes). It wouldn't be useful, like you say, to have to subclass the whole class or multiple classes just to add annotations, or in this case roles.But yes, even without approaching it in this suggested way, this is a useful and needed feature.
Some further reading brought me to this https://datashapes.org/reification.html, which provides a means to make statements about property shapes. I'll dig some more.