Skip to content

Commit 85cf1d8

Browse files
authored
Merge pull request #123 from casework/BugFix-case_validate-inference-default
case_validate: Default inference flag to None rather than "none"
2 parents 82461b3 + 7353c54 commit 85cf1d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

case_utils/case_validate/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,12 +234,12 @@ def main() -> None:
234234
action="store_true",
235235
help="(As with pyshacl CLI) Allow import of sub-graphs defined in statements with owl:imports.",
236236
)
237+
# NOTE: The "ontology graph" in the --inference help is the mix of the SHACL shapes graph and OWL ontology (or RDFS schema) graph.
237238
parser.add_argument(
238239
"-i",
239240
"--inference",
240241
choices=("none", "rdfs", "owlrl", "both"),
241-
default="none",
242-
help='(As with pyshacl CLI) Choose a type of inferencing to run against the Data Graph before validating. Default is "none".',
242+
help='(As with pyshacl CLI) Choose a type of inferencing to run against the Data Graph before validating. The default behavior if this flag is not provided is to behave as "none", if not using the --metashacl flag. The default behavior when using the --metashacl flag will apply "rdfs" inferencing to the ontology graph, but the data graph will still have no inferencing applied. If the --inference flag is provided, it will apply to both the ontology graph, and the data graph.',
243243
)
244244
parser.add_argument(
245245
"-m",

0 commit comments

Comments
 (0)