Skip to main content

Message

A generically dependent continuant representing a stored message within a conversation in the Nexus platform.

ABIClass
IRI
http://ontology.naas.ai/nexus/Message
Module
NexusPlatformOntology ยท ABI

Hierarchyโ€‹

Position of Message in the class hierarchy: its ancestors and direct subclasses.

Propertiesโ€‹

Declared on this classโ€‹

Properties declared on Message
PropertyDomain โ†’ RangeDetails
has message roleobjectDomain โ†’ RangeMessage to Message Role
is message ofobjectDomain โ†’ RangeMessage to Conversation

Inherited propertiesโ€‹

From Generically dependent continuant (7)

Declared on generically dependent continuant.

Properties inherited from generically dependent continuant
PropertyDomain โ†’ RangeDetails
has partDomain โ†’ Rangegenerically dependent continuant to generically dependent continuant
is aboutDomain โ†’ Rangegenerically dependent continuant to any
is created byDomain โ†’ Rangegenerically dependent continuant to process
is deleted byDomain โ†’ Rangegenerically dependent continuant to process
is part ofDomain โ†’ Rangegenerically dependent continuant to generically dependent continuant
is sourced fromDomain โ†’ Rangegenerically dependent continuant to Profile Document
is updated byDomain โ†’ Rangegenerically dependent continuant to process
From Continuant (6)

Declared on continuant.

Properties inherited from continuant
PropertyDomain โ†’ RangeDetails
continuant part ofDomain โ†’ Rangecontinuant to continuant
has continuant partDomain โ†’ Rangecontinuant to continuant
is affected byDomain โ†’ Rangecontinuant to process
is input ofDomain โ†’ Rangecontinuant to process
is object ofDomain โ†’ Rangecontinuant to process
is output ofDomain โ†’ Rangecontinuant to process
From Entity (15)

8 of 15 properties declared on entity, where all of them are listed.

Properties inherited from entity
PropertyDomain โ†’ RangeDetails
condition described byDomain โ†’ Rangeentity to Performance Specification
data propertyDomain โ†’ Rangeentity to xsd:string
described byDomain โ†’ Rangeentity to Descriptive Information Content Entity
designated byDomain โ†’ Rangeentity to Designative Information Content Entity
exists atDomain โ†’ Rangeentity to temporal region
has backing data sourceDomain โ†’ Rangeentity to Data Source
has nebari classDomain โ†’ Rangeentity to Nebari Class
is measured byDomain โ†’ Rangeentity to Measurement Information Content Entity

Used as the range ofโ€‹

Logical axiomsโ€‹

Restrictionsโ€‹

Every Message is a subclass of:

Examplesโ€‹

  • Agent answer
  • Follow-up clarification message
  • User prompt
Turtle
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ex: <https://example.org/> .

ex:message1 a <http://ontology.naas.ai/nexus/Message> ; # Message
rdfs:label "Example Message" ;
<http://ontology.naas.ai/nexus/hasMessageRole> ex:messageRole1 ; # has message role
<http://ontology.naas.ai/nexus/isMessageOf> ex:conversation1 . # is message of

ex:messageRole1 a <http://ontology.naas.ai/nexus/MessageRole> . # Message Role
ex:conversation1 a <http://ontology.naas.ai/nexus/Conversation> . # Conversation
SPARQL
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

# Instances of Message, including instances of its subclasses
SELECT ?item ?label WHERE {
?item a/rdfs:subClassOf* <http://ontology.naas.ai/nexus/Message> .
OPTIONAL { ?item rdfs:label ?label }
}
LIMIT 100

Sibling classesโ€‹

And 42 more under generically dependent continuant.