Skip to content

Commit

Permalink
Standard / ISO / DCAT formatters / Shacl rules are now in the same fo…
Browse files Browse the repository at this point in the history
…lder. Fix path in comments
  • Loading branch information
fxprunayre committed Apr 11, 2024
1 parent 40aeb69 commit 4a2df82
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,14 +166,15 @@ public void checkFormatter() throws Exception {
if (isRdf) {
String[] shaclValidation = {};
if ("eu-dcat-ap".equalsIgnoreCase(formatter)) {
// shaclValidation = new String[]{"dcat-ap-2.1.1-base-SHACL.ttl"};
// shaclValidation = new String[]{"shacl/dcat-ap-2.1.1-base-SHACL.ttl"};
// shaclValidation = new String[]{"shacl/dcat-ap-3.0.0-full.ttl"};
// https://github.com/ISAITB/validator-resources-dcat-ap/blob/master/resources/config.properties#L117-L128
//+ shapes.ttl + range.ttl + shapes_recommended.ttl + imports.ttl + deprecateduris.ttl+
// shaclValidation = new String[]{"shacl/eu-dcat-ap-3.0.0/shapes.ttl"};
// } else if("eu-dcat-ap-hvd".equalsIgnoreCase(formatter)){
// shaclValidation = new String[]{"dcat-ap-hvd-2.2.0-SHACL.ttl"};
// shaclValidation = new String[]{"shacl/dcat-ap-hvd-2.2.0-SHACL.ttl"};
// } else if("eu-geodcat-ap".equalsIgnoreCase(formatter)){
// shaclValidation = new String[]{"geodcat-ap-2.0.1-SHACL.ttl"};
// shaclValidation = new String[]{"shacl/geodcat-ap-2.0.1-SHACL.ttl"};
}
for (String shaclShapes : shaclValidation) {
applyShaclValidation(formatter, schema, checkfile, url, shaclShapes);
Expand Down

0 comments on commit 4a2df82

Please sign in to comment.