Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The flag --allow-infos should be forward-ported to case_validate #70

Closed
ajnelson-nist opened this issue Sep 2, 2022 · 0 comments · Fixed by #75
Closed

The flag --allow-infos should be forward-ported to case_validate #70

ajnelson-nist opened this issue Sep 2, 2022 · 0 comments · Fixed by #75
Labels
enhancement New feature or request
Milestone

Comments

@ajnelson-nist
Copy link
Member

pySHACL PR 121 added a flag --allow-info (and --allow-infos) to pyshacl. case_validate was supposed to pick this up, but it was apparently forgotten.

UCO Issue 430 raises sh:Info-severity notes that have some reason to be ignored when UCO is used to annotate nodes that operate in the classic-RDF "Treat this URL as an rdfs:Resource" pattern.

case_validate should pick up the --allow-infos flag.

ajnelson-nist added a commit to casework/CASE-Corpora that referenced this issue Sep 2, 2022
One potential bug has been flagged with this shape, implemented in UCO
Issue 406:
`uco-owl:ObjectProperty-shacl-constraints-shape`

The `sh:PropertyShape` raising the bug has been given an IRI in order to
link a deactivation rationale.

A new shapes file `debug.ttl` has been added to disable that shape until
a test is written to confirm the CASE-Corpora shape is correct.

`Facet`s that were blank nodes have been given IRIs, per the
implementation of UCO Issue 430.  New `sh:Info`-severity violations are
reported for some URLs treated in the "URL as an `rdfs:Resource` manner,
which will not be given UUID endings.  `case_validate` is called with
`--allow-warnings`, but is intended to be called with `--alow-infos`;
that will have to wait for `case-utils` Issue 70 to resolve.

Imports of CASE and UCO ontologies now use their `owl:versionIRI`s,
implemented in UCO Issue 437.

A follow-on patch will regenerate Make-managed files.

References:
* casework/CASE-Utilities-Python#70
* ucoProject/UCO#406
* ucoProject/UCO#430
* ucoProject/UCO#437

Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
@ajnelson-nist ajnelson-nist added this to the 0.8.0 milestone Sep 20, 2022
@ajnelson-nist ajnelson-nist changed the title A flag --allow-infos should be added to case_validate The flag --allow-infos should be forward-ported to case_validate Oct 26, 2022
ajnelson-nist added a commit that referenced this issue Nov 7, 2022
References:
* RDFLib/pySHACL#121
* #70

Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
@ajnelson-nist ajnelson-nist added the enhancement New feature or request label Nov 7, 2022
@ajnelson-nist ajnelson-nist linked a pull request Nov 7, 2022 that will close this issue
Repository owner moved this from In Progress to Done in Require all CASE examples to validate permitting only Info-level notices Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

1 participant