Skip to content

Commit

Permalink
Merge pull request #123 from casework/BugFix-case_validate-inference-…
Browse files Browse the repository at this point in the history
…default

case_validate: Default inference flag to None rather than "none"
  • Loading branch information
kchason authored Aug 23, 2023
2 parents 82461b3 + 7353c54 commit 85cf1d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions case_utils/case_validate/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,12 +234,12 @@ def main() -> None:
action="store_true",
help="(As with pyshacl CLI) Allow import of sub-graphs defined in statements with owl:imports.",
)
# NOTE: The "ontology graph" in the --inference help is the mix of the SHACL shapes graph and OWL ontology (or RDFS schema) graph.
parser.add_argument(
"-i",
"--inference",
choices=("none", "rdfs", "owlrl", "both"),
default="none",
help='(As with pyshacl CLI) Choose a type of inferencing to run against the Data Graph before validating. Default is "none".',
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.',
)
parser.add_argument(
"-m",
Expand Down

0 comments on commit 85cf1d8

Please sign in to comment.