w3c / data-shapes

RDF Data Shapes WG repo
87 stars 33 forks source link

sh:name on NodeShape ? #145

Closed barthanssens closed 4 months ago

barthanssens commented 1 year ago

Seems like the domain of sh:name and sh:description is limited to PropertyShape, while they could be useful on NodeShape as well...

Actually it is already being used, by e.g. Semic.eu on the DCAT-AP metadata profile https://github.com/SEMICeu/DCAT-AP/blob/master/releases/2.1.1/dcat-ap_2.1.1_shacl_shapes.ttl

(via https://github.com/eclipse/rdf4j/issues/4289)

HolgerKnublauch commented 1 year ago

The rationale was that rdfs:label and rdfs:comment are already established for node shapes, so there is no reason to introduce new properties for them. And the semantics of sh:name/description are different: they mean the display name and description of the path not the property shape.

HolgerKnublauch commented 4 months ago

In preparation for a potential future SHACL WG I would like to close GitHub issues that were mainly just questions. Please reopen if you disagree.