observable:FileFacet leaf node


URI

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

Label

FileFacet

Description

A file facet is a grouping of characteristics unique to the storage of a file (computer resource for recording data discretely in a computer storage device) on a file system (process that manages how and where data on a storage device is stored, accessed and managed). [based on https://en.wikipedia.org/Computer_file and https://www.techopedia.com/definition/5510/file-system]

Target Classes (1)

Shape Properties

Instances of observable:FileFacet can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

observable:FileFacet
observable:accessedTime 1 xsd:dateTime
observable:allocationStatus 1 xsd:string
observable:extension 1 xsd:string
observable:fileName xsd:string
observable:filePath xsd:string
observable:isDirectory xsd:boolean
observable:metadataChangeTime 1 xsd:dateTime
observable:modifiedTime 1 xsd:dateTime
observable:observableCreatedTime 1 xsd:dateTime
observable:sizeInBytes 1 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 xsd: <http://www.w3.org/2001/XMLSchema#> .

observable:FileFacet a owl:Class,
        sh:NodeShape ;
    rdfs:label "FileFacet"@en ;
    rdfs:comment "A file facet is a grouping of characteristics unique to the storage of a file (computer resource for recording data discretely in a computer storage device) on a file system (process that manages how and where data on a storage device is stored, accessed and managed). [based on https://en.wikipedia.org/Computer_file and https://www.techopedia.com/definition/5510/file-system]"@en ;
    rdfs:subClassOf core:Facet ;
    sh:property [ sh:datatype xsd:boolean ;
            sh:nodeKind sh:Literal ;
            sh:path observable:isDirectory ],
        [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:accessedTime ],
        [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:metadataChangeTime ],
        [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:modifiedTime ],
        [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:observableCreatedTime ],
        [ sh:datatype xsd:integer ;
            sh:description "When used to characterize a file the sizeInBytes property conveys the recorded size of a file in a file system."@en ;
            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:allocationStatus ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:extension ],
        [ sh:datatype xsd:string ;
            sh:nodeKind sh:Literal ;
            sh:path observable:fileName ],
        [ sh:datatype xsd:string ;
            sh:nodeKind sh:Literal ;
            sh:path observable:filePath ] ;
    sh:targetClass observable:FileFacet .