Skip to content

Commit

Permalink
Remove wholly-duplicate property shapes in non-Facet sub-subclasses
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
ajnelson-nist committed Aug 18, 2022
1 parent 85b8be5 commit 5d8f97c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ontology/uco/action/action.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -321,9 +321,7 @@ action:ActionLifecycle
sh:path action:actionCount ;
] ,
[
sh:datatype vocabulary:ActionStatusTypeVocab ;
sh:maxCount "0"^^xsd:integer ;
sh:nodeKind sh:Literal ;
sh:path action:actionStatus ;
]
;
Expand Down

0 comments on commit 5d8f97c

Please sign in to comment.