Skip to content

Commit

Permalink
Merge pull request #635 from ucoProject/Features-Issues-549-593-612-2…
Browse files Browse the repository at this point in the history
….0.0

Issues 549, 593, 612: Catch `develop-2.0.0` up to `develop`
  • Loading branch information
plbt5 authored Oct 18, 2024
2 parents 6c2bb52 + 04e4678 commit cacf73b
Show file tree
Hide file tree
Showing 9 changed files with 187 additions and 44 deletions.
37 changes: 37 additions & 0 deletions ontology/uco/core/core.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,19 @@ core:ModusOperandi
sh:targetClass core:ModusOperandi ;
.

core:ObjectStatusVocab
a rdfs:Datatype ;
rdfs:label "Object Status Vocabulary"@en-US ;
owl:equivalentClass [
a rdfs:Datatype ;
owl:oneOf (
"Draft"^^core:ObjectStatusVocab
"Final"^^core:ObjectStatusVocab
"Deprecated"^^core:ObjectStatusVocab
) ;
] ;
.

core:Relationship
a
owl:Class ,
Expand Down Expand Up @@ -450,6 +463,17 @@ 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 Expand Up @@ -696,6 +720,19 @@ core:objectMarking
rdfs:range core:MarkingDefinitionAbstraction ;
.

core:objectStatus
a owl:AnnotationProperty ;
rdfs:label "objectStatus"@en ;
rdfs:comment "The current state of formality and acceptance for a UCO object."@en-US ;
rdfs:range core:ObjectStatusVocab ;
.

core:objectStatus-subjects-shape
a sh:NodeShape ;
sh:class core:UcoObject ;
sh:targetSubjectsOf core:objectStatus ;
.

core:referenceURL
a owl:DatatypeProperty ;
rdfs:label "referenceURL"@en ;
Expand Down
8 changes: 8 additions & 0 deletions ontology/uco/observable/observable.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -2430,6 +2430,14 @@ observable:Disk
rdfs:subClassOf observable:ObservableObject ;
rdfs:label "Disk"@en ;
rdfs:comment "A disk is a storage mechanism where data is recorded by various electronic, magnetic, optical, or mechanical changes to a surface layer of one or more rotating disks."@en ;
rdfs:seeAlso [
a sh:NodeShape ;
rdfs:comment "This anonymous shape is attached with rdfs:seeAlso in order to associate a warning-severity class constraint, that will only be necessary as an independent shape until UCO 2.0.0."@en ;
sh:class observable:StorageMedium ;
sh:message "In UCO 2.0.0, uco-observable:Disk will be a subclass of uco-observable:StorageMedium. In preparation for UCO 2.0.0, the additional type uco-observable:StorageMedium should be assigned to this node."@en ;
sh:severity sh:Warning ;
sh:targetClass observable:Disk ;
] ;
sh:targetClass observable:Disk ;
.

Expand Down
Loading

0 comments on commit cacf73b

Please sign in to comment.