Commit a6a510cf authored by Fajar's avatar Fajar
Browse files

translated declare constraints will always be stored in output

parent 1e3d480c
......@@ -169,11 +169,11 @@ public class ConstraintChecker {
if (result.contains(null, SH.conforms, result.createTypedLiteral(false))) {
if (resultDataset != null)
resultDataset.addNamedModel(declareModelResource.getURI(), result);
if (shaclDataset != null)
shaclDataset.addNamedModel(declareModelResource.getURI(), shaclModel);
}
if (shaclDataset != null)
shaclDataset.addNamedModel(declareModelResource.getURI(), shaclModel);
i++;
}
if (i > 0) {
......@@ -218,11 +218,11 @@ public class ConstraintChecker {
if (result.contains(null, SH.conforms, result.createTypedLiteral(false))) {
if (resultDataset != null)
resultDataset.addNamedModel(declareModelResource.getURI(), result);
if (shaclDataset != null)
shaclDataset.addNamedModel(declareModelResource.getURI(), shaclModel);
}
if (shaclDataset != null)
shaclDataset.addNamedModel(declareModelResource.getURI(), shaclModel);
i++;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment