Skip to content

Commit

Permalink
Merge branch 'BugFix-Issue-629-2.0.0' into unstable-2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ajnelson-nist committed Feb 19, 2025
2 parents be570b0 + a17a2eb commit 4c782a9
Show file tree
Hide file tree
Showing 16 changed files with 1,344 additions and 1,877 deletions.
76 changes: 18 additions & 58 deletions ontology/uco/action/action.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -108,44 +108,24 @@ action:Action
sh:path action:actionCount ;
] ,
[
sh:datatype vocabulary:ActionStatusTypeVocab ;
sh:message "Value is outside the default vocabulary ActionStatusTypeVocab." ;
sh:path action:actionStatus ;
sh:severity sh:Info ;
] ,
[
sh:datatype xsd:string ;
sh:maxCount "1"^^xsd:integer ;
sh:nodeKind sh:Literal ;
sh:or (
[
sh:datatype vocabulary:ActionStatusTypeVocab ;
]
[
sh:datatype xsd:string ;
]
) ;
sh:path action:actionStatus ;
] ,
[
sh:message "Value is not member of the vocabulary ActionStatusTypeVocab." ;
sh:or (
[
sh:datatype vocabulary:ActionStatusTypeVocab ;
sh:in (
"Complete/Finish"^^vocabulary:ActionStatusTypeVocab
"Error"^^vocabulary:ActionStatusTypeVocab
"Fail"^^vocabulary:ActionStatusTypeVocab
"Ongoing"^^vocabulary:ActionStatusTypeVocab
"Pending"^^vocabulary:ActionStatusTypeVocab
"Success"^^vocabulary:ActionStatusTypeVocab
"Unknown"^^vocabulary:ActionStatusTypeVocab
) ;
]
[
sh:datatype xsd:string ;
]
sh:in (
"Complete/Finish"
"Error"
"Fail"
"Ongoing"
"Pending"
"Success"
"Unknown"
) ;
sh:message "Value is not member of the vocabulary ActionStatusTypeVocab." ;
sh:path action:actionStatus ;
sh:severity sh:Info ;
]
;
sh:targetClass action:Action ;
Expand Down Expand Up @@ -253,43 +233,23 @@ action:ActionFrequencyFacet
sh:maxCount "1"^^xsd:integer ;
sh:minCount "1"^^xsd:integer ;
sh:nodeKind sh:Literal ;
sh:path action:units ;
] ,
[
sh:datatype vocabulary:TrendVocab ;
sh:message "Value is outside the default vocabulary TrendVocab." ;
sh:path action:trend ;
sh:severity sh:Info ;
] ,
[
sh:datatype xsd:string ;
sh:maxCount "1"^^xsd:integer ;
sh:minCount "1"^^xsd:integer ;
sh:nodeKind sh:Literal ;
sh:or (
[
sh:datatype vocabulary:TrendVocab ;
]
[
sh:datatype xsd:string ;
]
) ;
sh:path action:trend ;
sh:path action:units ;
] ,
[
sh:message "Value is not member of the vocabulary TrendVocab." ;
sh:or (
[
sh:datatype vocabulary:TrendVocab ;
sh:in (
"Decreasing"^^vocabulary:TrendVocab
"Increasing"^^vocabulary:TrendVocab
) ;
]
[
sh:datatype xsd:string ;
]
sh:in (
"Decreasing"
"Increasing"
) ;
sh:message "Value is not member of the vocabulary TrendVocab." ;
sh:path action:trend ;
sh:severity sh:Info ;
]
;
sh:targetClass action:ActionFrequencyFacet ;
Expand Down
28 changes: 14 additions & 14 deletions ontology/uco/core/core.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -353,9 +353,9 @@ core:ObjectStatusVocab
owl:equivalentClass [
a rdfs:Datatype ;
owl:oneOf (
"Draft"^^core:ObjectStatusVocab
"Final"^^core:ObjectStatusVocab
"Deprecated"^^core:ObjectStatusVocab
"Draft"
"Final"
"Deprecated"
) ;
] ;
.
Expand Down Expand Up @@ -489,6 +489,17 @@ core:UcoObject
sh:nodeKind sh:Literal ;
sh:path core:modifiedTime ;
] ,
[
sh:datatype xsd:string ;
sh:in (
"Draft"
"Final"
"Deprecated"
) ;
sh:maxCount "1"^^xsd:integer ;
sh:nodeKind sh:Literal ;
sh:path core:objectStatus ;
] ,
[
sh:datatype xsd:string ;
sh:maxCount "1"^^xsd:integer ;
Expand All @@ -510,17 +521,6 @@ core:UcoObject
sh:datatype xsd:string ;
sh:nodeKind sh:Literal ;
sh:path core:tag ;
] ,
[
sh:datatype core:ObjectStatusVocab ;
sh:in (
"Draft"^^core:ObjectStatusVocab
"Final"^^core:ObjectStatusVocab
"Deprecated"^^core:ObjectStatusVocab
) ;
sh:maxCount "1"^^xsd:integer ;
sh:nodeKind sh:Literal ;
sh:path core:objectStatus ;
]
;
sh:targetClass core:UcoObject ;
Expand Down
Loading

0 comments on commit 4c782a9

Please sign in to comment.