sparna-git / shacl-play

SHACL validation UI, SHACL documentation generator, SHACL generator from RDF.
http://shacl-play.sparna.fr
GNU Lesser General Public License v3.0
24 stars 15 forks source link

Suggestion Doc Generator: Consider reading label and description from SKOS metadata if RDFS metadata not found #99

Closed oising closed 1 year ago

oising commented 1 year ago

Right now you're only looking for rdfs:label ("property name") and rdfs:comments ("description") when filling out the following table in the documentation generator:

image

Consider also looking for skos:prefLabel and skos:definition respectively if the rdfs equivalents are not found.

tfrancart commented 1 year ago

Done. SKOS prefLabel/definition are read first, and if not found, rdfs:label/comment. sh:name/description always have precedence.

Let me know how it works for you. Test especially sorting.