Skip to content

Commit

Permalink
extend loops to complete the inference
Browse files Browse the repository at this point in the history
  • Loading branch information
gtfierro committed Feb 1, 2025
1 parent 3b7bd19 commit 9163bea
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tools/compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
import argparse
import ontoenv
import rdflib
#import brickschema
#from brickschema import topquadrant_shacl
from brick_tq_shacl import topquadrant_shacl
from brick_tq_shacl.topquadrant_shacl import infer, validate
import rdflib

Expand Down Expand Up @@ -40,7 +39,7 @@
graph.serialize("graph.ttl", format="turtle")

if args.reason:
#topquadrant_shacl._MAX_EXTERNAL_LOOPS = 2
topquadrant_shacl._MAX_EXTERNAL_LOOPS = 10
graph = infer(graph, graph)
#graph.expand(profile="shacl", backend="topquadrant")
if args.output:
Expand Down

0 comments on commit 9163bea

Please sign in to comment.