observable:ExtractedString leaf node


URI

https://unifiedcyberontology.org/ontology/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.

Shape Properties

Instances of observable:ExtractedString 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:ExtractedString
observable:byteStringValue owl:DatatypeProperty Specifies the raw, byte-string representation of the extracted string.
0 1
owl:Thing
observable:encoding owl:DatatypeProperty The encoding method used for the extracted string.
0 1
xsd:string
xsd:string
observable:englishTranslation owl:DatatypeProperty Specifies the English translation of the string, if it is not written in English.
0 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.
0 1
xsd:string
xsd:string
observable:length owl:DatatypeProperty Specifies the length, in characters, of the extracted string.
0 1
xsd:integer
xsd:integer
observable:stringValue owl:DatatypeProperty Specifies the actual value of the extracted string.
0 1
xsd:string
xsd:string

Implementation

@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: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 ;
    sh:property [ 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:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:byteStringValue ] ;
    sh:targetClass observable:ExtractedString .