Open blcham opened 1 month ago
How hard is to validate with shapes?
Simple answer: easy.
POST /rest/repositories/{dataRepositoryID}/validate/repository/{shapesRepositoryID}
POST /rest/repositories/{repositoryID}/validate/file
INSERT DATA
{
GRAPH <http://example.com> {
ex:dataGraph sh:shapesGraph <http://example.com> .
}
}
Motivation: it is very complicated to create examples for FTA/FMEA tool. If it would be simple way to validate it according to SHACL rules generated from Java files it would help a lot.
A/C: