<?xml version="1.0"?>
<rdf:RDF xmlns="https://w3id.org/won/message#"
     xml:base="https://w3id.org/won/message"
     xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:owl="http://www.w3.org/2002/07/owl#"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     xmlns:xml="http://www.w3.org/XML/1998/namespace"
     xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
     xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
     xmlns:vann="http://purl.org/vocab/vann/"
     xmlns:terms="http://purl.org/dc/terms/">
    <owl:Ontology rdf:about="https://w3id.org/won/message">
        <owl:versionIRI rdf:resource="https://w3id.org/won/message/1.0"/>
        <owl:imports rdf:resource="https://w3id.org/won/core/1.0"/>
        <dc:abstract xml:lang="en">This ontology is used to model the Message objects central to the Web of Needs. Messages are entities that encapsulate addressing information, signing information, and optionally, content in an RDF dataset. A message is identified by a URI in the URI space on the WoN node it was created on. 

A message consists of graphs that can conceptually contain other graphs; thus the message dataset conceptually is a tree of graphs, which can either be envelope graphs, holding addressing information and signatures, or content graphs, holding arbitrary content.

If a message is sent to another Atom, a new Message URI is minted on that Atom&apos;s WoN node and the message copied into the new Message&apos;s dataset.</dc:abstract>
        <dc:creator>Fabian Salcher</dc:creator>
        <dc:creator>Florian Kleedorfer</dc:creator>
        <dc:creator>Yana Panchenko</dc:creator>
        <dc:title xml:lang="en">Web of Needs Message Ontology</dc:title>
        <terms:created rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2013-12-13</terms:created>
        <terms:license rdf:resource="https://creativecommons.org/licenses/by/4.0/"/>
        <vann:preferredNamespacePrefix>msg</vann:preferredNamespacePrefix>
    </owl:Ontology>
    


    <!-- 
    ///////////////////////////////////////////////////////////////////////////////////////
    //
    // Annotation properties
    //
    ///////////////////////////////////////////////////////////////////////////////////////
     -->


    


    <!-- http://purl.org/dc/elements/1.1/abstract -->


    <owl:AnnotationProperty rdf:about="http://purl.org/dc/elements/1.1/abstract"/>
    


    <!-- http://purl.org/dc/elements/1.1/creator -->


    <owl:AnnotationProperty rdf:about="http://purl.org/dc/elements/1.1/creator"/>
    


    <!-- http://purl.org/dc/elements/1.1/date -->


    <owl:AnnotationProperty rdf:about="http://purl.org/dc/elements/1.1/date"/>
    


    <!-- http://purl.org/dc/elements/1.1/description -->


    <owl:AnnotationProperty rdf:about="http://purl.org/dc/elements/1.1/description"/>
    


    <!-- http://purl.org/dc/elements/1.1/title -->


    <owl:AnnotationProperty rdf:about="http://purl.org/dc/elements/1.1/title"/>
    


    <!-- http://purl.org/dc/terms/created -->


    <owl:AnnotationProperty rdf:about="http://purl.org/dc/terms/created"/>
    


    <!-- http://purl.org/dc/terms/license -->


    <owl:AnnotationProperty rdf:about="http://purl.org/dc/terms/license"/>
    


    <!-- http://purl.org/vocab/vann/preferredNamespacePrefix -->


    <owl:AnnotationProperty rdf:about="http://purl.org/vocab/vann/preferredNamespacePrefix"/>
    


    <!-- 
    ///////////////////////////////////////////////////////////////////////////////////////
    //
    // Object Properties
    //
    ///////////////////////////////////////////////////////////////////////////////////////
     -->


    


    <!-- https://w3id.org/won/message#atom -->


    <owl:ObjectProperty rdf:about="https://w3id.org/won/message#atom">
        <rdfs:domain rdf:resource="https://w3id.org/won/message#Message"/>
        <rdfs:range rdf:resource="https://w3id.org/won/core#Atom"/>
        <rdfs:comment xml:lang="en">Links the message to its atom. Only used for messages directed at an atom, such as msg:Activate, msg:Deactivate, or msg:AtomHintMessage.</rdfs:comment>
        <rdfs:isDefinedBy rdf:resource="https://w3id.org/won/message"/>
        <rdfs:label>atom</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- https://w3id.org/won/message#connection -->


    <owl:ObjectProperty rdf:about="https://w3id.org/won/message#connection">
        <rdfs:domain rdf:resource="https://w3id.org/won/message#Message"/>
        <rdfs:range rdf:resource="https://w3id.org/won/core#Connection"/>
        <rdfs:comment xml:lang="en">Links the message to its connection. Only used for response messages in a connection; the messages sent by either side of the connection use msg:senderSocket and msg:recipientSocket to identify the connection uniquely</rdfs:comment>
        <rdfs:isDefinedBy rdf:resource="https://w3id.org/won/message"/>
        <rdfs:label>connection</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- https://w3id.org/won/message#containsSignature -->


    <owl:ObjectProperty rdf:about="https://w3id.org/won/message#containsSignature">
        <rdfs:domain rdf:resource="https://w3id.org/won/message#EnvelopeGraph"/>
        <rdfs:range rdf:resource="https://w3id.org/won/message#Signature"/>
        <rdfs:comment xml:lang="en">Links an envelope to a signature it &apos;contains&apos;.</rdfs:comment>
        <rdfs:label>containsSignature</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- https://w3id.org/won/message#content -->


    <owl:ObjectProperty rdf:about="https://w3id.org/won/message#content">
        <rdfs:domain rdf:resource="https://w3id.org/won/message#Message"/>
        <rdfs:range rdf:resource="https://w3id.org/won/message#ContentGraph"/>
        <rdfs:comment xml:lang="en">Points to an RDF graph URI that contains the message payload.</rdfs:comment>
        <rdfs:isDefinedBy rdf:resource="https://w3id.org/won/message"/>
        <rdfs:label>content</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- https://w3id.org/won/message#envelope -->


    <owl:ObjectProperty rdf:about="https://w3id.org/won/message#envelope">
        <rdfs:domain rdf:resource="https://w3id.org/won/message#Message"/>
        <rdfs:range rdf:resource="https://w3id.org/won/message#EnvelopeGraph"/>
        <rdfs:comment xml:lang="en">Links a message to its envelope.</rdfs:comment>
        <rdfs:label>envelope</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- https://w3id.org/won/message#hintTargetAtom -->


    <owl:ObjectProperty rdf:about="https://w3id.org/won/message#hintTargetAtom">
        <rdfs:comment xml:lang="en">The target Atom of the AtomHintMessage. By sending this message, the sender wants to express that the Atom&apos;s owner may want to establish a connection with the targetAtom (but first must choose a suitable pair of sockets), or that the targetAtom may just be interesting for the owner for other reasons.</rdfs:comment>
        <rdfs:label>hintTargetAtom</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- https://w3id.org/won/message#hintTargetSocket -->


    <owl:ObjectProperty rdf:about="https://w3id.org/won/message#hintTargetSocket">
        <rdfs:comment xml:lang="en">The target Socket of a SocketHintMessage. By sending this message it is suggested to establish a connection between the recipientSocket and the targetSocket.</rdfs:comment>
        <rdfs:label>hintTargetSocket</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- https://w3id.org/won/message#messageType -->


    <owl:ObjectProperty rdf:about="https://w3id.org/won/message#messageType">
        <rdfs:domain rdf:resource="https://w3id.org/won/message#Message"/>
        <rdfs:range rdf:resource="https://w3id.org/won/message#MessageType"/>
        <rdfs:comment xml:lang="en">Indicates the type of the message.</rdfs:comment>
        <rdfs:isDefinedBy rdf:resource="https://w3id.org/won/message"/>
        <rdfs:label>messageType</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- https://w3id.org/won/message#previousMessage -->


    <owl:ObjectProperty rdf:about="https://w3id.org/won/message#previousMessage">
        <rdfs:domain rdf:resource="https://w3id.org/won/message#Message"/>
        <rdfs:range rdf:resource="https://w3id.org/won/message#Message"/>
        <rdfs:comment xml:lang="en">Links a message to an earlier one.</rdfs:comment>
        <rdfs:label>previousMessage</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- https://w3id.org/won/message#recipient -->


    <owl:ObjectProperty rdf:about="https://w3id.org/won/message#recipient">
        <rdfs:domain rdf:resource="https://w3id.org/won/message#Message"/>
        <rdfs:range rdf:resource="https://w3id.org/won/message#Socket"/>
        <rdfs:comment xml:lang="en">Indicates the recipient socket of the message.</rdfs:comment>
        <rdfs:isDefinedBy rdf:resource="https://w3id.org/won/message"/>
        <rdfs:label>recipientSocket</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- https://w3id.org/won/message#respondingTo -->


    <owl:ObjectProperty rdf:about="https://w3id.org/won/message#respondingTo">
        <rdfs:domain rdf:resource="https://w3id.org/won/message#Message"/>
        <rdfs:range rdf:resource="https://w3id.org/won/message#Message"/>
        <rdfs:comment xml:lang="en">Links a SuccessResponse or a FailureResponse to the message it is responding to.</rdfs:comment>
        <rdfs:label>respondingTo</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- https://w3id.org/won/message#respondingToMessageType -->


    <owl:ObjectProperty rdf:about="https://w3id.org/won/message#respondingToMessageType">
        <rdfs:domain rdf:resource="https://w3id.org/won/message#Message"/>
        <rdfs:range rdf:resource="https://w3id.org/won/message#MessageType"/>
        <rdfs:comment xml:lang="en">Used in a response message to indicate the messageType of the original message.</rdfs:comment>
        <rdfs:label>respondingToMessageType</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- https://w3id.org/won/message#sender -->


    <owl:ObjectProperty rdf:about="https://w3id.org/won/message#sender">
        <rdfs:domain rdf:resource="https://w3id.org/won/message#Message"/>
        <rdfs:range rdf:resource="https://w3id.org/won/message#Socket"/>
        <rdfs:comment xml:lang="en">Indicates the sender socket of the message.</rdfs:comment>
        <rdfs:isDefinedBy rdf:resource="https://w3id.org/won/message"/>
        <rdfs:label>senderSocket</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- https://w3id.org/won/message#signature -->


    <owl:ObjectProperty rdf:about="https://w3id.org/won/message#signature">
        <rdfs:domain rdf:resource="https://w3id.org/won/message#Message"/>
        <rdfs:range rdf:resource="https://w3id.org/won/message#Signature"/>
        <rdfs:comment xml:lang="en">Links a message to its signature.</rdfs:comment>
        <rdfs:label>signature</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- https://w3id.org/won/message#signedGraph -->


    <owl:ObjectProperty rdf:about="https://w3id.org/won/message#signedGraph">
        <rdfs:domain rdf:resource="https://w3id.org/won/message#Signature"/>
        <rdfs:range rdf:resource="https://w3id.org/won/message#MessageGraph"/>
        <rdfs:comment xml:lang="en">Links a signature to the graph it signs.</rdfs:comment>
        <rdfs:label>signedGraph</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- https://w3id.org/won/message#signer -->


    <owl:ObjectProperty rdf:about="https://w3id.org/won/message#signer">
        <rdfs:domain rdf:resource="https://w3id.org/won/message#Signature"/>
        <rdfs:range rdf:resource="https://w3id.org/won/message#Atom"/>
        <rdfs:comment xml:lang="en">Links a signature to its signer.</rdfs:comment>
        <rdfs:label>signer</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- 
    ///////////////////////////////////////////////////////////////////////////////////////
    //
    // Data properties
    //
    ///////////////////////////////////////////////////////////////////////////////////////
     -->


    


    <!-- https://w3id.org/won/message#hash -->


    <owl:DatatypeProperty rdf:about="https://w3id.org/won/message#hash">
        <rdfs:domain rdf:resource="https://w3id.org/won/message#Signature"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
        <rdfs:comment xml:lang="en">The message hash.</rdfs:comment>
        <rdfs:label>hash</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- https://w3id.org/won/message#hintScore -->


    <owl:DatatypeProperty rdf:about="https://w3id.org/won/message#hintScore">
        <rdfs:domain rdf:resource="https://w3id.org/won/message#Message"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#float"/>
        <rdfs:comment xml:lang="en">Score of the Hint, indicating how well-suited the sender of the Hint thinks it is for the recipient. Must be in the range of 0.0 (worst) and 1.0 (best).</rdfs:comment>
        <rdfs:label>hintScore</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- https://w3id.org/won/message#protocolVersion -->


    <owl:DatatypeProperty rdf:about="https://w3id.org/won/message#protocolVersion">
        <rdfs:domain rdf:resource="https://w3id.org/won/message#Message"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
        <rdfs:comment xml:lang="en">Protocol version the message adheres to.</rdfs:comment>
        <rdfs:label>protocolVersion</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- https://w3id.org/won/message#publicKeyFingerprint -->


    <owl:DatatypeProperty rdf:about="https://w3id.org/won/message#publicKeyFingerprint">
        <rdfs:domain rdf:resource="https://w3id.org/won/message#Signature"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
        <rdfs:comment>The fingerprint of the sender&apos;s public key (SHA-256 hash).</rdfs:comment>
        <rdfs:label>publicKeyFingerprint</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- https://w3id.org/won/message#timestamp -->


    <owl:DatatypeProperty rdf:about="https://w3id.org/won/message#timestamp">
        <rdfs:domain rdf:resource="https://w3id.org/won/message#Message"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#long"/>
        <rdfs:comment xml:lang="en">Holds the timestamp assigned when the message was created, as obtained by the local system clock.</rdfs:comment>
        <rdfs:label>receivedTimestamp</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- 
    ///////////////////////////////////////////////////////////////////////////////////////
    //
    // Classes
    //
    ///////////////////////////////////////////////////////////////////////////////////////
     -->


    


    <!-- https://w3id.org/won/core#Atom -->


    <owl:Class rdf:about="https://w3id.org/won/core#Atom"/>
    


    <!-- https://w3id.org/won/core#Connection -->


    <owl:Class rdf:about="https://w3id.org/won/core#Connection"/>
    


    <!-- https://w3id.org/won/core#Node -->


    <owl:Class rdf:about="https://w3id.org/won/core#Node"/>
    


    <!-- https://w3id.org/won/message#Atom -->


    <owl:Class rdf:about="https://w3id.org/won/message#Atom"/>
    


    <!-- https://w3id.org/won/message#ContentGraph -->


    <owl:Class rdf:about="https://w3id.org/won/message#ContentGraph">
        <rdfs:subClassOf rdf:resource="https://w3id.org/won/message#MessageGraph"/>
        <rdfs:comment xml:lang="en">The class of graphs that hold user-defined content.</rdfs:comment>
        <rdfs:label>ContentGraph</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/won/message#EnvelopeGraph -->


    <owl:Class rdf:about="https://w3id.org/won/message#EnvelopeGraph">
        <rdfs:subClassOf rdf:resource="https://w3id.org/won/message#MessageGraph"/>
        <rdfs:comment xml:lang="en">Used to define the type of an RDF graph URI so as to explicitly mark it as an envelope graph. An Envelope contains the addressing information.</rdfs:comment>
        <rdfs:isDefinedBy rdf:resource="https://w3id.org/won/message"/>
        <rdfs:label>EnvelopeGraph</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/won/message#FromExternal -->


    <owl:Class rdf:about="https://w3id.org/won/message#FromExternal">
        <rdfs:subClassOf rdf:resource="https://w3id.org/won/message#Message"/>
        <rdfs:comment>A Message received from another WoN node.</rdfs:comment>
        <rdfs:label>FromExternal</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/won/message#FromOwner -->


    <owl:Class rdf:about="https://w3id.org/won/message#FromOwner">
        <rdfs:subClassOf rdf:resource="https://w3id.org/won/message#Message"/>
        <rdfs:comment>A Message generated by an Atom&apos;s owner.</rdfs:comment>
        <rdfs:label>FromOwner</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/won/message#FromSystem -->


    <owl:Class rdf:about="https://w3id.org/won/message#FromSystem">
        <rdfs:subClassOf rdf:resource="https://w3id.org/won/message#Message"/>
        <rdfs:comment>A Message generated by the WoN node (i.e., the &apos;System&apos;).</rdfs:comment>
        <rdfs:label>FromSystem</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/won/message#Message -->


    <owl:Class rdf:about="https://w3id.org/won/message#Message">
        <rdfs:comment>Superclass for messages. They fall into three categories: FromOwner, FromSystem and FromExternal.</rdfs:comment>
        <rdfs:label>Message</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/won/message#MessageGraph -->


    <owl:Class rdf:about="https://w3id.org/won/message#MessageGraph">
        <rdfs:comment xml:lang="en">An RDF graph that belongs to a Message</rdfs:comment>
        <rdfs:label>MessageGraph</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/won/message#MessageType -->


    <owl:Class rdf:about="https://w3id.org/won/message#MessageType">
        <rdfs:comment xml:lang="en">Class containing all WoN message types.</rdfs:comment>
        <rdfs:isDefinedBy rdf:resource="https://w3id.org/won/message"/>
        <rdfs:label>MessageType</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/won/message#ResponseType -->


    <owl:Class rdf:about="https://w3id.org/won/message#ResponseType">
        <rdfs:subClassOf rdf:resource="https://w3id.org/won/message#MessageType"/>
        <rdfs:comment xml:lang="en">Indicates the (success/error) state of a response message.</rdfs:comment>
        <rdfs:isDefinedBy rdf:resource="https://w3id.org/won/message"/>
        <rdfs:label>ResponseType</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/won/message#Signature -->


    <owl:Class rdf:about="https://w3id.org/won/message#Signature"/>
    


    <!-- https://w3id.org/won/message#Socket -->


    <owl:Class rdf:about="https://w3id.org/won/message#Socket"/>
    


    <!-- 
    ///////////////////////////////////////////////////////////////////////////////////////
    //
    // Individuals
    //
    ///////////////////////////////////////////////////////////////////////////////////////
     -->


    


    <!-- https://w3id.org/won/message#ActivateMessage -->


    <owl:NamedIndividual rdf:about="https://w3id.org/won/message#ActivateMessage">
        <rdf:type rdf:resource="https://w3id.org/won/message#MessageType"/>
        <rdfs:comment xml:lang="en">Type of message that activates an Atom.</rdfs:comment>
        <rdfs:isDefinedBy rdf:resource="https://w3id.org/won/message"/>
        <rdfs:label>ActivateMessage</rdfs:label>
    </owl:NamedIndividual>
    


    <!-- https://w3id.org/won/message#AtomCreatedNotificationMessage -->


    <owl:NamedIndividual rdf:about="https://w3id.org/won/message#AtomCreatedNotificationMessage">
        <rdf:type rdf:resource="https://w3id.org/won/message#MessageType"/>
        <rdfs:comment xml:lang="en">Type of message sent from a WoN Node to indicate that an Atom has been created.</rdfs:comment>
        <rdfs:isDefinedBy rdf:resource="https://w3id.org/won/message"/>
        <rdfs:label>AtomCreatedNotificationMessage</rdfs:label>
    </owl:NamedIndividual>
    


    <!-- https://w3id.org/won/message#AtomHintMessage -->


    <owl:NamedIndividual rdf:about="https://w3id.org/won/message#AtomHintMessage">
        <rdf:type rdf:resource="https://w3id.org/won/message#MessageType"/>
        <rdfs:comment xml:lang="en">Type of message sent by a matching service to an Atom in order to inform its owner of other Atoms possibly interesting for establishing a connection, or just generally of interest.</rdfs:comment>
        <rdfs:isDefinedBy rdf:resource="https://w3id.org/won/message"/>
        <rdfs:label>AtomHintMessage</rdfs:label>
    </owl:NamedIndividual>
    


    <!-- https://w3id.org/won/message#AtomMessage -->


    <owl:NamedIndividual rdf:about="https://w3id.org/won/message#AtomMessage">
        <rdf:type rdf:resource="https://w3id.org/won/message#MessageType"/>
        <rdfs:comment xml:lang="en">Message sent between an atom&apos;s owner and the WoN node hosting the atom. The message is informative only
                   and has no side effect The message is not routed to any other participant.</rdfs:comment>
        <rdfs:isDefinedBy rdf:resource="https://w3id.org/won/message"/>
        <rdfs:label>AtomMessage</rdfs:label>
    </owl:NamedIndividual>
    


    <!-- https://w3id.org/won/message#ChangeNotificationMessage -->


    <owl:NamedIndividual rdf:about="https://w3id.org/won/message#ChangeNotificationMessage">
        <rdf:type rdf:resource="https://w3id.org/won/message#MessageType"/>
        <rdfs:comment xml:lang="en">Type of message sent from a WoN Node to indicate that the remote Atom has changed.</rdfs:comment>
        <rdfs:isDefinedBy rdf:resource="https://w3id.org/won/message"/>
        <rdfs:label>ChangeNotificationMessage</rdfs:label>
    </owl:NamedIndividual>
    


    <!-- https://w3id.org/won/message#CloseMessage -->


    <owl:NamedIndividual rdf:about="https://w3id.org/won/message#CloseMessage">
        <rdf:type rdf:resource="https://w3id.org/won/message#MessageType"/>
        <rdfs:comment xml:lang="en">Type of message that closes a Connection.</rdfs:comment>
        <rdfs:isDefinedBy rdf:resource="https://w3id.org/won/message"/>
        <rdfs:label>CloseMessage</rdfs:label>
    </owl:NamedIndividual>
    


    <!-- https://w3id.org/won/message#ConnectMessage -->


    <owl:NamedIndividual rdf:about="https://w3id.org/won/message#ConnectMessage">
        <rdf:type rdf:resource="https://w3id.org/won/message#MessageType"/>
        <rdfs:comment xml:lang="en">Type of message that is sent from Atom A to Atom B in order to create a new Connection.</rdfs:comment>
        <rdfs:isDefinedBy rdf:resource="https://w3id.org/won/message"/>
        <rdfs:label>ConnectMessage</rdfs:label>
    </owl:NamedIndividual>
    


    <!-- https://w3id.org/won/message#ConnectionMessage -->


    <owl:NamedIndividual rdf:about="https://w3id.org/won/message#ConnectionMessage">
        <rdf:type rdf:resource="https://w3id.org/won/message#MessageType"/>
        <rdfs:comment xml:lang="en">Message sent via an established connection. This type is to be used in Socket-specific protocols.</rdfs:comment>
        <rdfs:isDefinedBy rdf:resource="https://w3id.org/won/message"/>
        <rdfs:label>ConnectionMessage</rdfs:label>
    </owl:NamedIndividual>
    


    <!-- https://w3id.org/won/message#CreateMessage -->


    <owl:NamedIndividual rdf:about="https://w3id.org/won/message#CreateMessage">
        <rdf:type rdf:resource="https://w3id.org/won/message#MessageType"/>
        <rdfs:comment xml:lang="en">Type of message sent to a WoN Node in order to create a new Atom.</rdfs:comment>
        <rdfs:isDefinedBy rdf:resource="https://w3id.org/won/message"/>
        <rdfs:label>CreateMessage</rdfs:label>
    </owl:NamedIndividual>
    


    <!-- https://w3id.org/won/message#DeactivateMessage -->


    <owl:NamedIndividual rdf:about="https://w3id.org/won/message#DeactivateMessage">
        <rdf:type rdf:resource="https://w3id.org/won/message#MessageType"/>
        <rdfs:comment xml:lang="en">Type of message that deactivates an Atom.</rdfs:comment>
        <rdfs:isDefinedBy rdf:resource="https://w3id.org/won/message"/>
        <rdfs:label>DeactivateMessage</rdfs:label>
    </owl:NamedIndividual>
    


    <!-- https://w3id.org/won/message#FailureResponse -->


    <owl:NamedIndividual rdf:about="https://w3id.org/won/message#FailureResponse">
        <rdf:type rdf:resource="https://w3id.org/won/message#ResponseType"/>
        <rdfs:comment xml:lang="en">Indicates an error occurred while processing the message.</rdfs:comment>
        <rdfs:isDefinedBy rdf:resource="https://w3id.org/won/message"/>
        <rdfs:label>FailureResponse</rdfs:label>
    </owl:NamedIndividual>
    


    <!-- https://w3id.org/won/message#OpenMessage -->


    <owl:NamedIndividual rdf:about="https://w3id.org/won/message#OpenMessage"/>
    


    <!-- https://w3id.org/won/message#ReplaceMessage -->


    <owl:NamedIndividual rdf:about="https://w3id.org/won/message#ReplaceMessage">
        <rdf:type rdf:resource="https://w3id.org/won/message#MessageType"/>
        <rdfs:comment xml:lang="en">Type of message sent to a WoN Node in order replace an Atom&apos;s content.</rdfs:comment>
        <rdfs:isDefinedBy rdf:resource="https://w3id.org/won/message"/>
        <rdfs:label>ReplaceMessage</rdfs:label>
    </owl:NamedIndividual>
    


    <!-- https://w3id.org/won/message#Signature -->


    <owl:NamedIndividual rdf:about="https://w3id.org/won/message#Signature"/>
    


    <!-- https://w3id.org/won/message#SocketHintMessage -->


    <owl:NamedIndividual rdf:about="https://w3id.org/won/message#SocketHintMessage">
        <rdf:type rdf:resource="https://w3id.org/won/message#MessageType"/>
        <rdfs:comment xml:lang="en">Type of message sent by a matching service to the Socket of an Atom in order to inform its owner of the Socket of another Atom possibly interesting for establishing a connection.</rdfs:comment>
        <rdfs:label>SocketHintMessage</rdfs:label>
    </owl:NamedIndividual>
    


    <!-- https://w3id.org/won/message#SuccessResponse -->


    <owl:NamedIndividual rdf:about="https://w3id.org/won/message#SuccessResponse">
        <rdf:type rdf:resource="https://w3id.org/won/message#ResponseType"/>
        <rdfs:comment xml:lang="en">Indicates that the message was processed successfully.</rdfs:comment>
        <rdfs:isDefinedBy rdf:resource="https://w3id.org/won/message"/>
        <rdfs:label>SuccessResponse</rdfs:label>
    </owl:NamedIndividual>
    


    <!-- 
    ///////////////////////////////////////////////////////////////////////////////////////
    //
    // Annotations
    //
    ///////////////////////////////////////////////////////////////////////////////////////
     -->


    <rdf:Description rdf:about="https://w3id.org/won/message#Signature">
        <rdfs:comment xml:lang="en">Class of all signatures in WoN.</rdfs:comment>
        <rdfs:comment xml:lang="en">The class of RDF signatures as used in WoN.</rdfs:comment>
        <rdfs:isDefinedBy rdf:resource="https://w3id.org/won/message"/>
        <rdfs:label>Signature</rdfs:label>
    </rdf:Description>
    


    <!-- 
    ///////////////////////////////////////////////////////////////////////////////////////
    //
    // General axioms
    //
    ///////////////////////////////////////////////////////////////////////////////////////
     -->


    <rdf:Description>
        <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#AllDisjointClasses"/>
        <owl:members rdf:parseType="Collection">
            <rdf:Description rdf:about="https://w3id.org/won/message#EnvelopeGraph"/>
            <rdf:Description rdf:about="https://w3id.org/won/message#Message"/>
            <rdf:Description rdf:about="https://w3id.org/won/message#MessageType"/>
            <rdf:Description rdf:about="https://w3id.org/won/message#ResponseType"/>
        </owl:members>
    </rdf:Description>
    <rdf:Description>
        <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#AllDifferent"/>
        <owl:distinctMembers rdf:parseType="Collection">
            <rdf:Description rdf:about="https://w3id.org/won/message#ActivateMessage"/>
            <rdf:Description rdf:about="https://w3id.org/won/message#AtomHintMessage"/>
            <rdf:Description rdf:about="https://w3id.org/won/message#AtomMessage"/>
            <rdf:Description rdf:about="https://w3id.org/won/message#ChangeNotificationMessage"/>
            <rdf:Description rdf:about="https://w3id.org/won/message#CloseMessage"/>
            <rdf:Description rdf:about="https://w3id.org/won/message#ConnectMessage"/>
            <rdf:Description rdf:about="https://w3id.org/won/message#ConnectionMessage"/>
            <rdf:Description rdf:about="https://w3id.org/won/message#CreateMessage"/>
            <rdf:Description rdf:about="https://w3id.org/won/message#DeactivateMessage"/>
            <rdf:Description rdf:about="https://w3id.org/won/message#FailureResponse"/>
            <rdf:Description rdf:about="https://w3id.org/won/message#OpenMessage"/>
            <rdf:Description rdf:about="https://w3id.org/won/message#ReplaceMessage"/>
            <rdf:Description rdf:about="https://w3id.org/won/message#SocketHintMessage"/>
            <rdf:Description rdf:about="https://w3id.org/won/message#SuccessResponse"/>
        </owl:distinctMembers>
    </rdf:Description>
    <rdf:Description>
        <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#AllDifferent"/>
        <owl:distinctMembers rdf:parseType="Collection">
            <rdf:Description rdf:about="https://w3id.org/won/message#ActivateMessage"/>
            <rdf:Description rdf:about="https://w3id.org/won/message#AtomHintMessage"/>
            <rdf:Description rdf:about="https://w3id.org/won/message#AtomMessage"/>
            <rdf:Description rdf:about="https://w3id.org/won/message#ChangeNotificationMessage"/>
            <rdf:Description rdf:about="https://w3id.org/won/message#CloseMessage"/>
            <rdf:Description rdf:about="https://w3id.org/won/message#ConnectMessage"/>
            <rdf:Description rdf:about="https://w3id.org/won/message#ConnectionMessage"/>
            <rdf:Description rdf:about="https://w3id.org/won/message#CreateMessage"/>
            <rdf:Description rdf:about="https://w3id.org/won/message#DeactivateMessage"/>
            <rdf:Description rdf:about="https://w3id.org/won/message#FailureResponse"/>
            <rdf:Description rdf:about="https://w3id.org/won/message#OpenMessage"/>
            <rdf:Description rdf:about="https://w3id.org/won/message#ReplaceMessage"/>
            <rdf:Description rdf:about="https://w3id.org/won/message#SuccessResponse"/>
        </owl:distinctMembers>
    </rdf:Description>
</rdf:RDF>



<!-- Generated by the OWL API (version 5.1.9) https://github.com/owlcs/owlapi/ -->


