Skip to main content

SHACL Generation

In the header on the landing page (or the query page), there is another tool available: shacl generation. Here you can upload any rdf file and define a namespace. When pressing Generate , a shacl file is generated from the uploaded rdf file. This can be used as a starting point to configure a collection to display the data of the uploaded file.

fig 12: shacl generation tool

fig 12: shacl generation tool

The generated shacl includes the necessary properties for working shacl, like sh:targetClass and sh:datatype. It will also pick up some important patterns like sh:minCount , sh:maxCount , sh:languageIn

The generated SHACL will give you a good understanding of your data but it is by no means perfect and a good modeler can always improve on its output.