-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Calling the validate() function, even on relatively small graphs takes hours for me. Are there any tips or tricks for reducing the runtime?
this is what I'm currently doing:
def validate_kg_for_brick(kg_turtle):
g = Graph(load_brick=True)
g.parse(data=kg_turtle, format="turtle")
conforms, results_graph, results_text = g.validate()
return conforms, results_text
As I don't use the results_graph I considered messing with the implementation of validate in pyshacl, to take out the generation of the results graph, to cut down on runtime. Is this advisable?
Metadata
Metadata
Assignees
Labels
No labels