You would like to edit SHACL, but you are wondering how to get started ? Start from Excel.
Start by downloading the template file here
The file has the following structure:
sh:targetClass
and other constraints^sh:property
.sh:path
. SHACL property paths are supported, you need to write them as in Turtle, e.g. [sh:inversePath foaf:knows]
.URI
, based on the line number.sh:minCount
, sh:maxCount
, sh:nodeKind
, sh:datatype
, sh:class
, sh:node
, etc.Once you have filled in the Excel file, you can convert it to SHACL using the xsl2rdf converter. The converter is available in different packagings : online API, command-line app, Java lib, and also an online Excel conversion form which is the most practical solution to start with :
Test how your SHACL looks like by uploading it in the documentation generator.