You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The shape in question has a sh:maxCount 0 constraint. So, all of the other constraints, including the one that seemed to induce the semi-open vocabulary problem, are irrelevant.
This would have been made more clear if the SHIR update proposal had had a follow-on Issue enacted to remove redundant constraints.
I came across the "mootness" while implementing a resolution to Issue 445.
These property shapes were identified by visual review of the results of
this query:
```sparql
SELECT DISTINCT ?nClass ?nSubClass ?nProperty
WHERE {
?nClass
sh:property/sh:path ?nProperty ;
.
?nSubClass
rdfs:subClassOf+ ?nClass ;
sh:property/sh:path ?nProperty ;
.
}
ORDER BY ?nClass
```
(The difference since the last patch is `?nClass` is no longer tied to
`Facet`s.)
This patch alone will trigger a CI failure from the SHIR code base, due
to SHIR 0.2.0 flagging dropped constraints as errors. A follow-on patch
will merge in the resolution to PR 417 in order to resolve this bug
without needing to work through addressing semi-open vocabulary issues
when subclasses are involved. Incidentally, Issue 442 is now mooted.
References:
* #417
* #442
* #445
Signed-off-by: Alex Nelson <[email protected]>
Bug description
The current SHACL property shape for action:actionStatus on action:ActionLifecycle is
[ sh:datatype vocabulary:ActionStatusTypeVocab ; sh:maxCount "0"^^xsd:integer ; sh:nodeKind sh:Literal ; sh:path action:actionStatus ; ]
This is the old style.
It should be the following like it is on action:Action
Steps to reproduce
Any use of action:actionStatus on action:ActionLifecyle that is not a valid string member of ActionStatusTypeVocab should demonstrate the bug.
Coordination
develop
The text was updated successfully, but these errors were encountered: