observable:ContentDataFacet leaf node


URI

https://ontology.unifiedcyberontology.org/uco/observable/ContentDataFacet

Label

ContentDataFacet

Description

A content data facet is a grouping of characteristics unique to a block of digital data.

Usage

Instances of observable:ContentDataFacet can have the following properties:

PROPERTYTYPEDESCRIPTIONRANGE
From class owl:Thing
core:informalType owl:DatatypeProperty Informal Type serves as a parent property for string-valued properties meant to describe a type without implementing a class design. This property hierarchy supports a balancing point between semantic specificity and operational agility. The known benefits of describing types rather than implementing them include swift extensibility of some existing, or possibly non-existing, subclass hierarchy in UCO without requiring training in ontological development, taxonomic specification, or OWL, SHACL, or RDF maintenance logistics. The known detractions of using string-literals for type descriptions include that used vocabularies may require careful maintenance among data-sharing parties; that vocabularies require independent logistics (external to UCO) for providing definitions (i.e., dictionary-style semantics) to string-literals chosen; and that string-literals cannot by themselves encode hierarchical structure or entailments, such as the informal device type string 'ExamplePhone 8 P4321' entailing 'ExamplePhone 8', 'ExamplePhone', or 'ExamplePhone models discontinued in 2020'. Usage of Informal Type to house strings should be weighed against usage of classes when classes are available, and should periodically be reviewed for potential additions to UCO's class hierarchy or downstream extensions thereof. owl:Thing
types:threadNextItem owl:ObjectProperty The link to a next item in a thread. owl:Thing
types:threadPreviousItem owl:ObjectProperty A direct link to a previous item in a thread. owl:Thing

Property Shapes

By the associated SHACL property shapes, instances of observable:ContentDataFacet can have the following properties:

PROPERTY

PROPERTY TYPE

DESCRIPTION

MIN COUNT

MAX COUNT

LOCAL RANGE
(type range for property on this class)

GLOBAL RANGE
(type range for property globally)

observable:ContentDataFacet
observable:byteOrder owl:DatatypeProperty
1 xsd:string
owl:Thing
observable:dataPayload owl:DatatypeProperty
1 xsd:string
xsd:string
observable:dataPayloadReferenceURL owl:ObjectProperty
1 observable:ObservableObject
observable:ObservableObject
observable:entropy owl:DatatypeProperty Shannon entropy (a measure of randomness) of the data.
1 xsd:decimal
xsd:decimal
observable:hash owl:ObjectProperty Hash values of the data.
types:Hash
types:Hash
observable:isEncrypted owl:DatatypeProperty
1 xsd:boolean
xsd:boolean
observable:magicNumber owl:DatatypeProperty
1 xsd:string
xsd:string
observable:mimeClass owl:DatatypeProperty
1 xsd:string
xsd:string
observable:mimeType owl:DatatypeProperty MIME type of the data. For example 'text/html' or 'audio/mp3'.
xsd:string
xsd:string
observable:sizeInBytes owl:DatatypeProperty The size of the data in bytes.
1 xsd:integer
xsd:integer

Implementation

@prefix core: <https://ontology.unifiedcyberontology.org/uco/core/> .
@prefix observable: <https://ontology.unifiedcyberontology.org/uco/observable/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix types: <https://ontology.unifiedcyberontology.org/uco/types/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

observable:ContentDataFacet a owl:Class,
        sh:NodeShape ;
    rdfs:label "ContentDataFacet"@en ;
    rdfs:comment "A content data facet is a grouping of characteristics unique to a block of digital data."@en ;
    rdfs:subClassOf core:Facet ;
    sh:property [ sh:class observable:ObservableObject ;
            sh:maxCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:path observable:dataPayloadReferenceURL ],
        [ sh:class types:Hash ;
            sh:nodeKind sh:IRI ;
            sh:path observable:hash ],
        [ sh:datatype xsd:boolean ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:isEncrypted ],
        [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:entropy ],
        [ sh:datatype xsd:integer ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:sizeInBytes ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:dataPayload ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:magicNumber ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:mimeClass ],
        [ sh:datatype xsd:string ;
            sh:message "As of UCO 1.4.0, the datatype to use for observable:byteOrder should be xsd:string.  Not using xsd:string will be an error in UCO 2.0.0." ;
            sh:path observable:byteOrder ;
            sh:severity sh:Warning ],
        [ sh:datatype xsd:string ;
            sh:nodeKind sh:Literal ;
            sh:path observable:mimeType ],
        [ sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:byteOrder ],
        observable:ContentDataFacet-byteOrder-in-shape ;
    sh:targetClass observable:ContentDataFacet .