-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'unstable' into unstable-2.0.0
- Loading branch information
Showing
6 changed files
with
99 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"@context": { | ||
"kb": "http://example.org/kb/", | ||
"action": "https://ontology.unifiedcyberontology.org/uco/action/", | ||
"core": "https://ontology.unifiedcyberontology.org/uco/core/", | ||
"xsd": "http://www.w3.org/2001/XMLSchema#" | ||
}, | ||
"@graph": [ | ||
{ | ||
"@id": "kb:Action-0-03ee1fe6-12cf-4a35-b7dd-06d4e69369b5", | ||
"@type": [ | ||
"action:Action", | ||
"core:Event" | ||
], | ||
"rdfs:comment": "This node will trigger an XFAIL for designating itself an Action and Event, which are disjoint classes." | ||
}, | ||
{ | ||
"@id": "kb:Action-1-763c1ff2-d18d-427b-aa82-30d90701a644", | ||
"@type": "action:Action", | ||
"rdfs:comment": "This node should pass validation." | ||
}, | ||
{ | ||
"@id": "kb:Event-1-ee9450b6-3535-473d-984d-17a91408a54f", | ||
"@type": "event:Event", | ||
"rdfs:comment": "This node should pass validation." | ||
} | ||
] | ||
} |
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,38 @@ | ||
@prefix action: <https://ontology.unifiedcyberontology.org/uco/action/> . | ||
@prefix core: <https://ontology.unifiedcyberontology.org/uco/core/> . | ||
@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 xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
|
||
[] | ||
a sh:ValidationReport ; | ||
sh:conforms "false"^^xsd:boolean ; | ||
sh:result [ | ||
a sh:ValidationResult ; | ||
sh:detail [ | ||
a sh:ValidationResult ; | ||
sh:focusNode <http://example.org/kb/Action-0-03ee1fe6-12cf-4a35-b7dd-06d4e69369b5> ; | ||
sh:resultMessage "Node kb:Action-0-03ee1fe6-12cf-4a35-b7dd-06d4e69369b5 conforms to shape [ rdf:type sh:NodeShape ; sh:class core:Event ]" ; | ||
sh:resultSeverity sh:Violation ; | ||
sh:sourceConstraintComponent sh:NotConstraintComponent ; | ||
sh:sourceShape [ | ||
a sh:NodeShape ; | ||
rdfs:comment "This blank node is provided to avoid a SHACL multiple-inheritance issue."@en ; | ||
sh:not [ | ||
a sh:NodeShape ; | ||
sh:class core:Event ; | ||
] ; | ||
] ; | ||
sh:value <http://example.org/kb/Action-0-03ee1fe6-12cf-4a35-b7dd-06d4e69369b5> ; | ||
] ; | ||
sh:focusNode <http://example.org/kb/Action-0-03ee1fe6-12cf-4a35-b7dd-06d4e69369b5> ; | ||
sh:resultMessage "action:Action and core:event are disjoint classes."@en ; | ||
sh:resultSeverity sh:Violation ; | ||
sh:sourceConstraintComponent sh:NodeConstraintComponent ; | ||
sh:sourceShape action:Action-disjointWith-Event-shape ; | ||
sh:value <http://example.org/kb/Action-0-03ee1fe6-12cf-4a35-b7dd-06d4e69369b5> ; | ||
] ; | ||
. | ||
|
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