observable:DataRangeFacet leaf node


URI

https://unifiedcyberontology.org/ontology/uco/observable#DataRangeFacet

Label

DataRangeFacet

Description

A data range facet is a grouping of characteristics unique to a particular contiguous scope within a block of digital data.

Superclasses (1)

Shape Properties

Instances of observable:DataRangeFacet can have the following properties:

PROPERTY

PROPERTY TYPE

DESCRIPTION

MIN COUNT

MAX COUNT

VALUE CONSTRAINTS

LOCAL TYPE
(type defined for property on this class)

GLOBAL RANGE
(type range for property globally)

observable:DataRangeFacet
observable:rangeOffset owl:DatatypeProperty The offset at which the start of data can be found, relative to the rangeOffsetType defined.
0 1
xsd:integer
xsd:integer
observable:rangeOffsetType owl:DatatypeProperty The type of offset defined for the range (e.g., image, file, address).
0 1
xsd:string
xsd:string
observable:rangeSize owl:DatatypeProperty The size of the data in bytes.
0 1
xsd:integer
xsd:integer

Implementation

@prefix core: <https://unifiedcyberontology.org/ontology/uco/core#> .
@prefix observable: <https://unifiedcyberontology.org/ontology/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 xsd: <http://www.w3.org/2001/XMLSchema#> .

observable:DataRangeFacet a owl:Class,
        sh:NodeShape ;
    rdfs:label "DataRangeFacet"@en ;
    rdfs:comment "A data range facet is a grouping of characteristics unique to a particular contiguous scope within a block of digital data."@en ;
    rdfs:subClassOf core:Facet ;
    sh:property [ sh:datatype xsd:integer ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:rangeOffset ],
        [ sh:datatype xsd:integer ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:rangeSize ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:rangeOffsetType ] ;
    sh:targetClass observable:DataRangeFacet .