Skip to content

Commit

Permalink
Merge branch 'Feature-CP-43' into unstable
Browse files Browse the repository at this point in the history
  • Loading branch information
ajnelson-nist committed Aug 19, 2022
2 parents fa3da83 + a12aed4 commit 22da00c
Show file tree
Hide file tree
Showing 2 changed files with 187 additions and 0 deletions.
174 changes: 174 additions & 0 deletions ontology/uco/observable/observable.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -5496,6 +5496,141 @@ observable:RasterPictureFacet
sh:targetClass observable:RasterPictureFacet ;
.

observable:RecoveredObject
a
owl:Class ,
sh:NodeShape
;
rdfs:subClassOf observable:ObservableObject ;
rdfs:label "RecoveredObject"@en ;
rdfs:comment "An observable object that was the result of a recovery operation."@en ;
sh:targetClass observable:RecoveredObject ;
.

observable:RecoveredObjectFacet
a
owl:Class ,
sh:NodeShape
;
rdfs:subClassOf core:Facet ;
rdfs:label "RecoveredObjectFacet"@en ;
rdfs:comment "Recoverability status of name, metadata, and content."@en ;
sh:property
[
sh:datatype vocabulary:RecoveredObjectStatusVocab ;
sh:message "Value is outside the default vocabulary RecoveredObjectStatusVocab." ;
sh:path observable:contentRecoveredStatus ;
sh:severity sh:Info ;
] ,
[
sh:datatype vocabulary:RecoveredObjectStatusVocab ;
sh:message "Value is outside the default vocabulary RecoveredObjectStatusVocab." ;
sh:path observable:metadataRecoveredStatus ;
sh:severity sh:Info ;
] ,
[
sh:datatype vocabulary:RecoveredObjectStatusVocab ;
sh:message "Value is outside the default vocabulary RecoveredObjectStatusVocab." ;
sh:path observable:nameRecoveredStatus ;
sh:severity sh:Info ;
] ,
[
sh:maxCount "1"^^xsd:integer ;
sh:nodeKind sh:Literal ;
sh:or (
[
sh:datatype vocabulary:RecoveredObjectStatusVocab ;
]
[
sh:datatype xsd:string ;
]
) ;
sh:path observable:nameRecoveredStatus ;
] ,
[
sh:maxCount "1"^^xsd:integer ;
sh:nodeKind sh:Literal ;
sh:or (
[
sh:datatype vocabulary:RecoveredObjectStatusVocab ;
]
[
sh:datatype xsd:string ;
]
) ;
sh:path observable:metadataRecoveredStatus ;
] ,
[
sh:maxCount "1"^^xsd:integer ;
sh:nodeKind sh:Literal ;
sh:or (
[
sh:datatype vocabulary:RecoveredObjectStatusVocab ;
]
[
sh:datatype xsd:string ;
]
) ;
sh:path observable:contentRecoveredStatus ;
] ,
[
sh:message "Value is not member of the vocabulary RecoveredObjectStatusVocab." ;
sh:or (
[
sh:datatype vocabulary:RecoveredObjectStatusVocab ;
sh:in (
"recovered"^^vocabulary:RecoveredObjectStatusVocab
"partially recovered"^^vocabulary:RecoveredObjectStatusVocab
"overwritten"^^vocabulary:RecoveredObjectStatusVocab
"unknown"^^vocabulary:RecoveredObjectStatusVocab
) ;
]
[
sh:datatype xsd:string ;
]
) ;
sh:path observable:nameRecoveredStatus ;
] ,
[
sh:message "Value is not member of the vocabulary RecoveredObjectStatusVocab." ;
sh:or (
[
sh:datatype vocabulary:RecoveredObjectStatusVocab ;
sh:in (
"recovered"^^vocabulary:RecoveredObjectStatusVocab
"partially recovered"^^vocabulary:RecoveredObjectStatusVocab
"overwritten"^^vocabulary:RecoveredObjectStatusVocab
"unknown"^^vocabulary:RecoveredObjectStatusVocab
) ;
]
[
sh:datatype xsd:string ;
]
) ;
sh:path observable:metadataRecoveredStatus ;
] ,
[
sh:message "Value is not member of the vocabulary RecoveredObjectStatusVocab." ;
sh:or (
[
sh:datatype vocabulary:RecoveredObjectStatusVocab ;
sh:in (
"recovered"^^vocabulary:RecoveredObjectStatusVocab
"partially recovered"^^vocabulary:RecoveredObjectStatusVocab
"overwritten"^^vocabulary:RecoveredObjectStatusVocab
"unknown"^^vocabulary:RecoveredObjectStatusVocab
) ;
]
[
sh:datatype xsd:string ;
]
) ;
sh:path observable:contentRecoveredStatus ;
]
;
sh:targetClass observable:RecoveredObjectFacet ;
.

observable:RegistryDatatype
a rdfs:Datatype ;
owl:equivalentClass [
Expand Down Expand Up @@ -9635,6 +9770,19 @@ observable:contentDisposition
rdfs:range xsd:string ;
.

observable:contentRecoveredStatus
a owl:DatatypeProperty ;
rdfs:label "contentRecoveredStatus"@en ;
rdfs:comment "Specifies the recoverability status of the content of an object."@en ;
rdfs:range [
a rdfs:Datatype ;
owl:unionOf (
vocabulary:RecoveredObjectStatusVocab
xsd:string
) ;
] ;
.

observable:contentType
a owl:DatatypeProperty ;
rdfs:label "contentType"@en ;
Expand Down Expand Up @@ -11123,6 +11271,19 @@ observable:metadataChangeTime
rdfs:range xsd:dateTime ;
.

observable:metadataRecoveredStatus
a owl:DatatypeProperty ;
rdfs:label "metadataRecoveredStatus"@en ;
rdfs:comment "Specifies the recoverability status of the metadata of an object."@en ;
rdfs:range [
a rdfs:Datatype ;
owl:unionOf (
vocabulary:RecoveredObjectStatusVocab
xsd:string
) ;
] ;
.

observable:mftFileID
a owl:DatatypeProperty ;
rdfs:label "mftFileID"@en ;
Expand Down Expand Up @@ -11330,6 +11491,19 @@ observable:namePrefix
rdfs:range xsd:string ;
.

observable:nameRecoveredStatus
a owl:DatatypeProperty ;
rdfs:label "nameRecoveredStatus"@en ;
rdfs:comment "Specifies the recoverability status of the name of an object."@en ;
rdfs:range [
a rdfs:Datatype ;
owl:unionOf (
vocabulary:RecoveredObjectStatusVocab
xsd:string
) ;
] ;
.

observable:nameServer
a owl:ObjectProperty ;
rdfs:label "nameServer"@en ;
Expand Down
13 changes: 13 additions & 0 deletions ontology/uco/vocabulary/vocabulary.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -813,6 +813,19 @@ vocabulary:ProcessorArchVocab
) ;
.

vocabulary:RecoveredObjectStatusVocab
a rdfs:Datatype ;
rdfs:subClassOf rdfs:Resource ;
rdfs:label "Recovered Object Status Vocabulary"@en-US ;
rdfs:comment "Defines the vocabulary for Recovered Object status of data."@en ;
owl:oneOf (
"recovered"^^vocabulary:RecoveredObjectStatusVocab
"partially recovered"^^vocabulary:RecoveredObjectStatusVocab
"overwritten"^^vocabulary:RecoveredObjectStatusVocab
"unknown"^^vocabulary:RecoveredObjectStatusVocab
) ;
.

vocabulary:RegionalRegistryTypeVocab
a rdfs:Datatype ;
rdfs:subClassOf rdfs:Resource ;
Expand Down

0 comments on commit 22da00c

Please sign in to comment.