observable:MessageFacet leaf node


URI

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

Label

MessageFacet

Description

A message facet is a grouping of characteristics unique to a discrete unit of electronic communication intended by the source for consumption by some recipient or group of recipients. [based on https://en.wikipedia.org/wiki/Message]

Usage

Instances of observable:MessageFacet 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:MessageFacet 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:MessageFacet
observable:application owl:ObjectProperty The application associated with this object.
1 observable:ObservableObject
observable:ObservableObject
observable:from owl:ObjectProperty The phone number of the initiating party.
1 observable:ObservableObject
observable:ObservableObject
observable:messageID owl:DatatypeProperty An unique identifier for the message.
1 xsd:string
xsd:string
observable:messageText owl:DatatypeProperty The contents of the message.
1 xsd:string
xsd:string
observable:messageType owl:DatatypeProperty Message type specifies what sort of message (email, chat, SMS, etc) a Message is.
1 xsd:string
xsd:string
observable:sentTime owl:DatatypeProperty The date and time at which the message sent.
1 xsd:dateTime
xsd:dateTime
observable:sessionID owl:DatatypeProperty An identifier for the session from which the message originates.
1 xsd:string
xsd:string
observable:to owl:ObjectProperty The receiver's phone number.
observable:ObservableObject
observable:ObservableObject

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:MessageFacet a owl:Class,
        sh:NodeShape ;
    rdfs:label "MessageFacet"@en ;
    rdfs:comment "A message facet is a grouping of characteristics unique to a discrete unit of electronic communication intended by the source for consumption by some recipient or group of recipients. [based on https://en.wikipedia.org/wiki/Message]"@en ;
    rdfs:subClassOf core:Facet ;
    sh:property [ sh:class observable:ObservableObject ;
            sh:maxCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:path observable:application ],
        [ sh:class observable:ObservableObject ;
            sh:maxCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:path observable:from ],
        [ sh:class observable:ObservableObject ;
            sh:nodeKind sh:IRI ;
            sh:path observable:to ],
        [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:sentTime ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:messageID ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:messageText ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:messageType ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:sessionID ] ;
    sh:targetClass observable:MessageFacet .