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

Add "IRI" as a type annotation in the diagrams, when the nodeKind is IRI without any further information #118

Closed tfrancart closed 4 months ago

tfrancart commented 6 months ago

Original comment from #116

Cases like:

        sh:property     [ sh:nodeKind  sh:IRI ;
                          sh:path      rov:orgActivity ;
                          sh:pattern   "^http://data.businessgraph.io/nace/.+"
                        ] ;

The property is displayed inside the box on the diagram, but we loose the information that it is actually an IRI.

tfrancart commented 4 months ago

Test SHACL : https://github.com/euBusinessGraph/eubg-data/raw/master/model/ebg-shapes.shacl Property rov:orgActivity : on veut afficher "IRI" s'il n'y a rien d'autre à afficher sur cette propriété (comme dans les tableaux de documentation)