observable:ExtractedString leaf node


URI

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

Label

ExtractedString

Description

An extracted string is a grouping of characteristics unique to a series of characters pulled from an observable object.

Usage

Instances of observable:ExtractedString can have the following properties:

PROPERTYTYPEDESCRIPTIONRANGE
From class 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:ExtractedString 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:ExtractedString
observable:byteStringValue owl:DatatypeProperty Specifies the raw, byte-string representation of the extracted string.
1 xsd:base64Binary
xsd:base64Binary
observable:encoding owl:DatatypeProperty The encoding method used for the extracted string.
1 xsd:string
xsd:string
observable:englishTranslation owl:DatatypeProperty Specifies the English translation of the string, if it is not written in English.
1 xsd:string
xsd:string
observable:language owl:DatatypeProperty Specifies the language the string is written in, e.g. English. For consistency, it is strongly recommended to use the ISO 639-2 language code, if available. Please see http://www.loc.gov/standards/iso639-2/php/code_list.php for a list of ISO 639-2 codes.
1 xsd:string
xsd:string
observable:length owl:DatatypeProperty Specifies the length, in characters, of the extracted string.
1 xsd:integer
xsd:integer
observable:stringValue owl:DatatypeProperty Specifies the actual value of the extracted string.
1 xsd:string
xsd:string

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:ExtractedString a owl:Class,
        sh:NodeShape ;
    rdfs:label "ExtractedString"@en ;
    rdfs:comment "An extracted string is a grouping of characteristics unique to a series of characters pulled from an observable object."@en ;
    rdfs:subClassOf core:UcoInherentCharacterizationThing ;
    sh:property [ sh:datatype xsd:base64Binary ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:byteStringValue ],
        [ sh:datatype xsd:integer ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:length ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:encoding ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:englishTranslation ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:language ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:stringValue ] ;
    sh:targetClass observable:ExtractedString .