Skip to content

Commit bc50e42

Browse files
committed
feat:print results graph in action output if there are validation results
1 parent 16120b6 commit bc50e42

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tools/python/checks/shacl.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ def run_shacl_validation(data_file, shapes_file):
2727
print("The ontology conforms to the shacl-shacl shapes.")
2828
else:
2929
print("The ontology does not conform to the shacl-shacl shapes.")
30+
print("Results graph:")
31+
print(results_graph.serialize(format='turtle'))
3032
return conforms
3133
except Exception as e:
3234
print(f"An error occurred during SHACL validation: {e}")

0 commit comments

Comments
 (0)