-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
References: * #549 Signed-off-by: Alex Nelson <[email protected]>
- Loading branch information
1 parent
f7a0f30
commit 8e09ce5
Showing
2 changed files
with
67 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
@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 "true"^^xsd:boolean ; | ||
. | ||
|
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,56 @@ | ||
@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:focusNode <http://example.org/kb/UcoObject-6ae2b245-a8cd-45dc-9f40-5b2738879351> ; | ||
sh:resultMessage "Value is not member of the vocabulary ObjectStatusVocab." ; | ||
sh:resultPath core:objectStatus ; | ||
sh:resultSeverity sh:Violation ; | ||
sh:sourceConstraintComponent sh:DatatypeConstraintComponent ; | ||
sh:sourceShape [ | ||
sh:datatype core:ObjectStatusVocab ; | ||
sh:in ( | ||
"Draft"^^core:ObjectStatusVocab | ||
"Final"^^core:ObjectStatusVocab | ||
"Deprecated"^^core:ObjectStatusVocab | ||
) ; | ||
sh:maxCount "1"^^xsd:integer ; | ||
sh:message "Value is not member of the vocabulary ObjectStatusVocab." ; | ||
sh:nodeKind sh:Literal ; | ||
sh:path core:objectStatus ; | ||
] ; | ||
sh:value "Initial draft" ; | ||
] , | ||
[ | ||
a sh:ValidationResult ; | ||
sh:focusNode <http://example.org/kb/UcoObject-6ae2b245-a8cd-45dc-9f40-5b2738879351> ; | ||
sh:resultMessage "Value is not member of the vocabulary ObjectStatusVocab." ; | ||
sh:resultPath core:objectStatus ; | ||
sh:resultSeverity sh:Violation ; | ||
sh:sourceConstraintComponent sh:InConstraintComponent ; | ||
sh:sourceShape [ | ||
sh:datatype core:ObjectStatusVocab ; | ||
sh:in ( | ||
"Draft"^^core:ObjectStatusVocab | ||
"Final"^^core:ObjectStatusVocab | ||
"Deprecated"^^core:ObjectStatusVocab | ||
) ; | ||
sh:maxCount "1"^^xsd:integer ; | ||
sh:message "Value is not member of the vocabulary ObjectStatusVocab." ; | ||
sh:nodeKind sh:Literal ; | ||
sh:path core:objectStatus ; | ||
] ; | ||
sh:value "Initial draft" ; | ||
] | ||
; | ||
. | ||
|