observable:MessageFacet leaf node


URI

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

Superclasses (1)

Shape Properties

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

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: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:BlankNodeOrIRI ;
            sh:path observable:application ],
        [ sh:class observable:ObservableObject ;
            sh:maxCount 1 ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:path observable:from ],
        [ 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 .