-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Review of CASE-Corpora with RDFS entailments disabled showed some needs to designate nodes as both `org:Organization` and `uco-identity:Organization`. The particular nodes where this occurs are those used with DCAT-US and non-DCAT-US properties. This patch adds a new class `case-corpora:Organization` to join UCO's Organization with ORG's Organization, and uses this more specific class on individuals flagged by SHACL validation. SHACL shapes for ORG are started by reviewing class-disjointedness centered on `org:Organization`. One unexpected effect is this triple in ORG: ```turtle org:Organization owl:equivalentClass foaf:Organization ; . ``` A new SHACL shape practice is being trialed to handle this. A follow-on patch will regenerate Make-managed files. References: * https://resources.data.gov/resources/dcat-us/#publisher Signed-off-by: Alex Nelson <[email protected]>
- Loading branch information
1 parent
d5286d2
commit d70229a
Showing
7 changed files
with
99 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# imports: http://example.org/shapes/foaf | ||
# imports: http://www.w3.org/ns/org# | ||
|
||
@prefix foaf: <http://xmlns.com/foaf/0.1/> . | ||
@prefix org: <http://www.w3.org/ns/org#> . | ||
@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
@prefix sh: <http://www.w3.org/ns/shacl#> . | ||
@prefix sh-org: <http://example.org/shapes/org/> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
|
||
<http://example.org/shapes/org> | ||
a owl:Ontology ; | ||
owl:imports | ||
<http://example.org/shapes/foaf> , | ||
<http://www.w3.org/ns/org#> | ||
; | ||
. | ||
|
||
sh-org:ChangeEvent-disjointWith-Organization-shape | ||
a sh:NodeShape ; | ||
sh:message "org:ChangeEvent and org:Organization are disjoint classes."@en ; | ||
sh:not [ | ||
a sh:NodeShape ; | ||
sh:class org:Organization ; | ||
] ; | ||
sh:targetClass org:ChangeEvent ; | ||
. | ||
|
||
sh-org:Membership-disjointWith-Organization-shape | ||
a sh:NodeShape ; | ||
sh:message "org:Membership and org:Organization are disjoint classes."@en ; | ||
sh:not [ | ||
a sh:NodeShape ; | ||
sh:class org:Organization ; | ||
] ; | ||
sh:targetClass org:Membership ; | ||
. | ||
|
||
sh-org:Organization-disjointWith-Role-shape | ||
a sh:NodeShape ; | ||
sh:message "org:Organization and org:Role are disjoint classes."@en ; | ||
sh:not [ | ||
a sh:NodeShape ; | ||
sh:class org:Role ; | ||
] ; | ||
sh:targetClass org:Organization ; | ||
. | ||
|
||
sh-org:Organization-disjointWith-Site-shape | ||
a sh:NodeShape ; | ||
sh:message "org:Organization and org:Site are disjoint classes."@en ; | ||
sh:not [ | ||
a sh:NodeShape ; | ||
sh:class org:Site ; | ||
] ; | ||
sh:targetClass org:Organization ; | ||
. | ||
|
||
sh-org:Organization-shape | ||
a sh:NodeShape ; | ||
rdfs:comment "org:Organization declares itself an equivalent class with foaf:Organization."@en ; | ||
sh:class foaf:Organization ; | ||
sh:targetClass org:Organization ; | ||
. | ||
|