@prefix : <https://www.w3id.org/MQTT4SSN-Ontology#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@base <https://www.w3id.org/MQTT4SSN-Ontology#> .

<https://www.w3id.org/MQTT4SSN-Ontology> rdf:type owl:Ontology ;
                                          owl:versionIRI <https://www.w3id.org/MQTT4SSN-Ontology/2.0> ;
                                          owl:imports <http://qudt.org/schema/qudt/> ,
                                                      <http://www.w3.org/ns/sosa/> ,
                                                      <http://www.w3.org/ns/ssn/> ,
                                                      <https://www.w3.org/2019/wot/mqtt#> ;
                                          <http://purl.org/dc/terms/abstract> "In the Web of Things community, the SSN/SOSA ontology, a W3C recommendation, has established itself as a foundational framework for representing semantic sensor networks, modeling sensors, observations, and actuations. However, an explicit representation of message protocols is missing, which limits semantic interoperability in machine-to-machine communication scenarios. To close this gap, we propose MQTT4SSN as an extension to SSN/SOSA that semantically models the MQTT protocol. Furthermore, the ontology addresses use cases without SSN/SOSA implementations by exclusively describing the MQTT messaging protocol. MQTT4SSN represents MQTT entities such as brokers, clients, control packets, topics, and payload metadata, linking them to SSN/SOSA concepts to enable end-to-end traceability between sensing semantics and communication semantics. The ontology captures heterogeneous payload formats, encodings, and transport metadata, enabling machine-interpretable description and integration of transmitted content. MQTT4SSN represents an extensible and reusable resource that is accessible according to the FAIR principles and documented as an Ontology Specification Draft."@en ;
                                          <http://purl.org/dc/terms/author> <https://orcid.org/0000-0003-3458-4748> ,
                                                                            <https://orcid.org/0009-0004-0088-8633> ;
                                          <http://purl.org/dc/terms/bibliographicCitation> "Doerner, N., & Maleshkova, M. (2025). MQTT4SSN: An Ontology for the MQTT Message Protocol. In F. Novakazi & A. S. Dalal (Eds.), Joint Proceedings of the 16th Workshop on Ontology Design and Patterns (WOP 2025) and the 1st Workshop on Bridging Hybrid Intelligence and the Semantic Web (HAIBRIDGE 2025), co-located with ISWC 2025 (CEUR Workshop Proceedings, Vol. 4093, pp. 57–70). CEUR-WS.org. https://doi.org/10.5281/zenodo.16704302" ;
                                          <http://purl.org/dc/terms/contributor> <https://orcid.org/0000-0003-3458-4748> ,
                                                                                 <https://orcid.org/0009-0004-0088-8633> ;
                                          <http://purl.org/dc/terms/created> "2025-08-11"^^xsd:date ;
                                          <http://purl.org/dc/terms/creator> <https://orcid.org/0000-0003-3458-4748> ,
                                                                             <https://orcid.org/0009-0004-0088-8633> ;
                                          <http://purl.org/dc/terms/description> "In the Web of Things community, the SSN/SOSA ontology, a W3C recommendation, has established itself as a foundational framework for representing semantic sensor networks, modeling sensors, observations, and actuations. However, an explicit representation of message protocols is missing, which limits semantic interoperability in machine-to-machine communication scenarios. To close this gap, we propose MQTT4SSN as an extension to SSN/SOSA that semantically models the MQTT protocol. Furthermore, the ontology addresses use cases without SSN/SOSA implementations by exclusively describing the MQTT messaging protocol. MQTT4SSN represents MQTT entities such as brokers, clients, control packets, topics, and payload metadata, linking them to SSN/SOSA concepts to enable end-to-end traceability between sensing semantics and communication semantics. The ontology captures heterogeneous payload formats, encodings, and transport metadata, enabling machine-interpretable description and integration of transmitted content. MQTT4SSN represents an extensible and reusable resource that is accessible according to the FAIR principles and documented as an Ontology Specification Draft."@en ;
                                          <http://purl.org/dc/terms/license> <https://creativecommons.org/licenses/by-nc-sa/4.0/> ;
                                          <http://purl.org/dc/terms/modified> "2025-11-25"^^xsd:date ;
                                          <http://purl.org/dc/terms/references> <https://ceur-ws.org/Vol-4093/paper7.pdf> ,
                                                                                <https://doi.org/10.5281/zenodo.16704302> ;
                                          <http://purl.org/dc/terms/source> <http://docs.oasis-open.org/mqtt/mqtt/v5.0/mqtt-v5.0.html> ;
                                          <http://purl.org/dc/terms/subject> "MQTT, Ontology Engineering, Sensor Ontology, Semantic Sensor Network, Message Protocol, Smart Sensor"@en ;
                                          <http://purl.org/dc/terms/title> "MQTT4SSN Ontology"@en ;
                                          <http://purl.org/ontology/bibo/doi> "bibo:status/draft"@en ,
                                                                              "10.5281/zenodo.16704302" ;
                                          <http://purl.org/vocab/vann/preferredNamespacePrefix> "mqtt"@en ;
                                          <http://purl.org/vocab/vann/preferredNamespaceUri> "https://www.w3id.org/MQTT4SSN-Ontology" ;
                                          <http://schema.org/codeRepository> <https://github.com/doernern/MQTT4SSNOntology/> ;
                                          rdfs:comment "The MQTT4SSN Ontology provides rdf:type semantic model for representing the MQTT message protocol, containing the transmitted data. It extends the W3C SSN/SOSA ontology with the MQTT message protocol component."@en ;
                                          rdfs:isDefinedBy <http://docs.oasis-open.org/mqtt/mqtt/v5.0/mqtt-v5.0.html> ;
                                          rdfs:label "MQTT4SSN"@en ;
                                          owl:incompatibleWith <https://www.w3id.org/MQTT4SSN-Ontology/1.0> ;
                                          owl:priorVersion <https://www.w3id.org/MQTT4SSN-Ontology/1.0> ;
                                          owl:versionInfo "2.0"@en ;
                                          <http://xmlns.com/foaf/0.1/fundedBy> <https://dtecbw.de/> .

#################################################################
#    Annotation properties
#################################################################

###  http://purl.org/dc/terms/bibliographicCitation
<http://purl.org/dc/terms/bibliographicCitation> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/references
<http://purl.org/dc/terms/references> rdf:type owl:AnnotationProperty .


###  http://purl.org/ontology/bibo/doi
<http://purl.org/ontology/bibo/doi> rdf:type owl:AnnotationProperty .


###  http://schema.org/codeRepository
<http://schema.org/codeRepository> rdf:type owl:AnnotationProperty .


###  http://www.w3.org/2001/XMLSchema#maxInclusive
xsd:maxInclusive rdf:type owl:AnnotationProperty .


###  http://www.w3.org/2001/XMLSchema#minInclusive
xsd:minInclusive rdf:type owl:AnnotationProperty .


###  http://www.w3.org/2004/02/skos/core#example
<http://www.w3.org/2004/02/skos/core#example> rdf:type owl:AnnotationProperty .


###  http://xmlns.com/foaf/0.1/fundedBy
<http://xmlns.com/foaf/0.1/fundedBy> rdf:type owl:AnnotationProperty .


###  http://xmlns.com/foaf/0.1/homepage
<http://xmlns.com/foaf/0.1/homepage> rdf:type owl:AnnotationProperty .


###  http://xmlns.com/foaf/0.1/mbox
<http://xmlns.com/foaf/0.1/mbox> rdf:type owl:AnnotationProperty .


#################################################################
#    Datatypes
#################################################################

###  http://www.w3.org/2001/XMLSchema#date
xsd:date rdf:type rdfs:Datatype .


#################################################################
#    Object Properties
#################################################################

###  https://www.w3.org/2019/wot/mqtt#hasPayload
<https://www.w3.org/2019/wot/mqtt#hasPayload> rdf:type owl:ObjectProperty ;
                                              owl:equivalentProperty :hasPayload .


###  https://www.w3.org/2019/wot/mqtt#hasTopicFilters
<https://www.w3.org/2019/wot/mqtt#hasTopicFilters> rdf:type owl:ObjectProperty ;
                                                   owl:equivalentProperty :hasTopicFilter .


###  https://www.w3.org/2019/wot/mqtt#hasTopicName
<https://www.w3.org/2019/wot/mqtt#hasTopicName> rdf:type owl:ObjectProperty ;
                                                owl:equivalentProperty :hasTopicName .


###  https://www.w3.org/2019/wot/mqtt#sendsControlPacket
<https://www.w3.org/2019/wot/mqtt#sendsControlPacket> rdf:type owl:ObjectProperty ;
                                                      owl:equivalentProperty :sendsControlPacket .


###  https://www.w3id.org/MQTT4SSN-Ontology#applicationMessageEncodesActivity
:applicationMessageEncodesActivity rdf:type owl:ObjectProperty ;
                                   rdfs:domain :ApplicationMessage ;
                                   rdfs:range :Activity ;
                                   rdfs:comment "Indicates that the Application Message encodes a SOSA Activity (Observation, ObservationCollection, Actuation, ActuationCollection) command."@en ;
                                   rdfs:label "Application Message encodes Activity"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#applicationMessageEncodesActuation
:applicationMessageEncodesActuation rdf:type owl:ObjectProperty ;
                                    rdfs:subPropertyOf :applicationMessageEncodesActivity ;
                                    rdfs:domain :ApplicationMessage ;
                                    rdfs:range <http://www.w3.org/ns/sosa/Actuation> ;
                                    rdfs:comment "Indicates that the Application Message encodes a single SOSA Actuation command."@en ;
                                    rdfs:label "Application Message encodes SOSA Actuation"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#applicationMessageEncodesActuationCollection
:applicationMessageEncodesActuationCollection rdf:type owl:ObjectProperty ;
                                              rdfs:subPropertyOf :applicationMessageEncodesActivity ;
                                              rdfs:domain :ApplicationMessage ;
                                              rdfs:range <http://www.w3.org/ns/sosa/ActuationCollection> ;
                                              rdfs:comment "Indicates that the Application Message encodes a collection of actuation commands."@en ;
                                              rdfs:label "Application Message encodes SOSA Actuation Collection"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#applicationMessageEncodesObservation
:applicationMessageEncodesObservation rdf:type owl:ObjectProperty ;
                                      rdfs:subPropertyOf :applicationMessageEncodesActivity ;
                                      rdfs:domain :ApplicationMessage ;
                                      rdfs:range <http://www.w3.org/ns/sosa/Observation> ;
                                      rdfs:comment "Indicates that the Application Message encodes a SOSA Observation."@en ;
                                      rdfs:label "Application Message encodes SOSA Observation"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#applicationMessageEncodesObservationCollection
:applicationMessageEncodesObservationCollection rdf:type owl:ObjectProperty ;
                                                rdfs:subPropertyOf :applicationMessageEncodesActivity ;
                                                rdfs:domain :ApplicationMessage ;
                                                rdfs:range <http://www.w3.org/ns/sosa/ObservationCollection> ;
                                                rdfs:comment "Indicates that the Application Message encodes a collection of SOSA Observations."@en ;
                                                rdfs:label "Application Message encodes SOSA Observation Collection"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#establishedByNetworkConnection
:establishedByNetworkConnection rdf:type owl:ObjectProperty ;
                                rdfs:subPropertyOf owl:topObjectProperty ;
                                owl:inverseOf :establishesSession ;
                                rdfs:domain :NetworkSession ;
                                rdfs:range :NetworkConnection ;
                                rdfs:comment "A Network Session is established by a Network Connection." ;
                                rdfs:label "established By MQTT Network Connection"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#establishesSession
:establishesSession rdf:type owl:ObjectProperty ;
                    rdfs:subPropertyOf owl:topObjectProperty ;
                    rdfs:domain :NetworkConnection ;
                    rdfs:range :NetworkSession ;
                    rdfs:comment "A Network Connection establishes a Network Session."@en ;
                    rdfs:label "establishes Network Session"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasActObsSubject
:hasActObsSubject rdf:type owl:ObjectProperty ;
                  rdfs:subPropertyOf :hasSubject ;
                  owl:inverseOf :isActObsSubjectOf ;
                  rdfs:domain :Topic ;
                  rdfs:range [ rdf:type owl:Class ;
                               owl:unionOf ( <http://www.w3.org/ns/sosa/Actuation>
                                             <http://www.w3.org/ns/sosa/ActuationCollection>
                                             <http://www.w3.org/ns/sosa/Observation>
                                             <http://www.w3.org/ns/sosa/ObservationCollection>
                                           )
                             ] ;
                  rdfs:comment "Links an MQTT Topic to the subject (Actuation, Actuation collection, Observation or Observation Collection)."@en ;
                  rdfs:label "has topic subject (Actuation, Actuation collection, Observation or Observation Collection)"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasApplicationMessage
:hasApplicationMessage rdf:type owl:ObjectProperty ;
                       owl:inverseOf :isApplicationMessageOf ;
                       rdfs:domain :PublishPayload ;
                       rdfs:range :ApplicationMessage ;
                       rdfs:comment "Links a PUBLISH packet individual to the higher-level ApplicationMessage it carries."@en ;
                       rdfs:label "has Application Message"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasAuthFixedHeader
:hasAuthFixedHeader rdf:type owl:ObjectProperty ;
                    rdfs:subPropertyOf :hasFixedHeader ;
                    owl:inverseOf :isAuthFixedHeaderOf ;
                    rdf:type owl:FunctionalProperty ;
                    rdfs:domain :AuthPacket ;
                    rdfs:range :AuthFixedHeader ;
                    rdfs:comment "Links a AUTH packet to its specific Fixed Header."@en ;
                    rdfs:label "has AUTH Fixed Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasAuthProperties
:hasAuthProperties rdf:type owl:ObjectProperty ;
                   rdfs:subPropertyOf :hasProperties ;
                   rdfs:domain :AuthVariableHeader ;
                   rdfs:range :AuthProperties ;
                   rdfs:comment "Links an AUTH packet individual to its AuthProperties collection."@en ;
                   rdfs:label "has Auth Properties"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasAuthVariableHeader
:hasAuthVariableHeader rdf:type owl:ObjectProperty ;
                       rdfs:subPropertyOf :hasVariableHeader ;
                       owl:inverseOf :isAuthVariableHeaderOf ;
                       rdf:type owl:FunctionalProperty ;
                       rdfs:domain :AuthPacket ;
                       rdfs:range :AuthVariableHeader ;
                       rdfs:comment "Links a AUTH packet to its specific Variable Header."@en ;
                       rdfs:label "has AUTH Variable Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasClient
:hasClient rdf:type owl:ObjectProperty ;
           owl:inverseOf :runsOnPlatform ;
           rdfs:domain <http://www.w3.org/ns/sosa/Platform> ;
           rdfs:range :Client ;
           rdfs:comment "Relates a SOSA platform to an MQTT Client running on it."@en ;
           rdfs:label "has MQTT Client"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasConnackFixedHeader
:hasConnackFixedHeader rdf:type owl:ObjectProperty ;
                       rdfs:subPropertyOf :hasFixedHeader ;
                       owl:inverseOf :isConnackFixedHeaderOf ;
                       rdf:type owl:FunctionalProperty ;
                       rdfs:domain :ConnackPacket ;
                       rdfs:range :ConnackFixedHeader ;
                       rdfs:comment "Links a CONNACK packet to its specific Fixed Header."@en ;
                       rdfs:label "has CONNACK Fixed Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasConnackProperties
:hasConnackProperties rdf:type owl:ObjectProperty ;
                      rdfs:subPropertyOf :hasProperties ;
                      rdfs:domain :ConnackVariableHeader ;
                      rdfs:range :ConnackProperties ;
                      rdfs:comment "Links a CONNACK packet individual to its ConnackProperties collection."@en ;
                      rdfs:label "has Connack Properties"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasConnackVariableHeader
:hasConnackVariableHeader rdf:type owl:ObjectProperty ;
                          rdfs:subPropertyOf :hasVariableHeader ;
                          owl:inverseOf :isConnackVariableHeaderOf ;
                          rdf:type owl:FunctionalProperty ;
                          rdfs:domain :ConnackPacket ;
                          rdfs:range :ConnackVariableHeader ;
                          rdfs:comment "Links a CONNACK packet to its specific Variable Header."@en ;
                          rdfs:label "has CONNACK Variable Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasConnectFixedHeader
:hasConnectFixedHeader rdf:type owl:ObjectProperty ;
                       rdfs:subPropertyOf :hasFixedHeader ;
                       owl:inverseOf :isConnectFixedHeaderOf ;
                       rdf:type owl:FunctionalProperty ;
                       rdfs:domain :ConnectPacket ;
                       rdfs:range :ConnectFixedHeader ;
                       rdfs:comment "Links a CONNECT packet to its specific Fixed Header."@en ;
                       rdfs:label "has CONNECT Fixed Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasConnectPayload
:hasConnectPayload rdf:type owl:ObjectProperty ;
                   rdfs:subPropertyOf :hasPayload ;
                   owl:inverseOf :isConnectPayloadOf ;
                   rdf:type owl:FunctionalProperty ;
                   rdfs:domain :ConnectPacket ;
                   rdfs:range :ConnectPayload ;
                   rdfs:comment "Links a CONNECT packet to its MQTT Payload."@en ;
                   rdfs:label "has CONNECT Payload"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasConnectProperties
:hasConnectProperties rdf:type owl:ObjectProperty ;
                      rdfs:subPropertyOf :hasProperties ;
                      rdfs:domain :ConnectVariableHeader ;
                      rdfs:range :ConnectProperties ;
                      rdfs:comment "Links a CONNECT packet individual to its ConnectProperties collection."@en ;
                      rdfs:label "has Connect Properties"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasConnectVariableHeader
:hasConnectVariableHeader rdf:type owl:ObjectProperty ;
                          rdfs:subPropertyOf :hasVariableHeader ;
                          owl:inverseOf :isConnectVariableHeaderOf ;
                          rdf:type owl:FunctionalProperty ;
                          rdfs:domain :ConnectPacket ;
                          rdfs:range :ConnectVariableHeader ;
                          rdfs:comment "Links a CONNECT packet to its specific Variable Header."@en ;
                          rdfs:label "has CONNECT Variable Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasConnectedClient
:hasConnectedClient rdf:type owl:ObjectProperty ;
                    owl:inverseOf :isConnectedToBroker ;
                    rdfs:domain :Broker ;
                    rdfs:range :Client ;
                    rdfs:comment "Links an MQTT Broker to an MQTT Client that is connected to it."@en ;
                    rdfs:label "has connected MQTT Client"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasDisconnectFixedHeader
:hasDisconnectFixedHeader rdf:type owl:ObjectProperty ;
                          rdfs:subPropertyOf :hasFixedHeader ;
                          owl:inverseOf :isDisconnectFixedHeaderOf ;
                          rdf:type owl:FunctionalProperty ;
                          rdfs:domain :DisconnectPacket ;
                          rdfs:range :DisconnectFixedHeader ;
                          rdfs:comment "Links a DISCONNECT packet to its specific Fixed Header."@en ;
                          rdfs:label "has DISCONNECT Fixed Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasDisconnectProperties
:hasDisconnectProperties rdf:type owl:ObjectProperty ;
                         rdfs:subPropertyOf :hasProperties ;
                         rdfs:domain :DisconnectVariableHeader ;
                         rdfs:range :DisconnectProperties ;
                         rdfs:comment "Links a DISCONNECT packet individual to its DisconnectProperties collection."@en ;
                         rdfs:label "has Disconnect Properties"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasDisconnectVariableHeader
:hasDisconnectVariableHeader rdf:type owl:ObjectProperty ;
                             rdfs:subPropertyOf :hasVariableHeader ;
                             owl:inverseOf :isDisconnectVariableHeaderOf ;
                             rdf:type owl:FunctionalProperty ;
                             rdfs:domain :DisconnectPacket ;
                             rdfs:range :DisconnectVariableHeader ;
                             rdfs:comment "Links a DISCONNECT packet to its specific Variable Header."@en ;
                             rdfs:label "has DISCONNECT Variable Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasEncodedFields
:hasEncodedFields rdf:type owl:ObjectProperty ;
                  owl:inverseOf :isEncodedInMessage ;
                  rdfs:domain :ApplicationMessage ;
                  rdfs:range rdf:List ;
                  rdfs:comment "Links an MQTT Payload to an ordered RDF list naming fields encoded within the Application Message content."@en ;
                  rdfs:label "has encoded fields"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasFixedHeader
:hasFixedHeader rdf:type owl:ObjectProperty ;
                owl:inverseOf :isFixedHeaderOf ;
                rdf:type owl:FunctionalProperty ;
                rdfs:domain :ControlPacket ;
                rdfs:range :FixedHeader ;
                rdfs:comment "Links an MQTT Control Packet to its Fixed Header."@en ;
                rdfs:label "has Fixed Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasFoISubject
:hasFoISubject rdf:type owl:ObjectProperty ;
               rdfs:subPropertyOf :hasSubject ;
               owl:inverseOf :isFOISubjectOf ;
               rdfs:domain :Topic ;
               rdfs:range <http://www.w3.org/ns/sosa/FeatureOfInterest> ;
               rdfs:comment "Links an MQTT Topic to the subject (Feature of Interest)."@en ;
               rdfs:label "has topic subject (Feature of Interest)"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasParticipant
:hasParticipant rdf:type owl:ObjectProperty ;
                owl:inverseOf :usesConnection ;
                rdfs:domain :NetworkConnection ;
                rdfs:range :NetworkParticipant ;
                rdfs:comment "Relates a network connection to its network participant (MQTT Client or MQTT Broker)."@en ;
                rdfs:label "has participant"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasPayload
:hasPayload rdf:type owl:ObjectProperty ;
            owl:inverseOf :isPayloadOf ;
            rdf:type owl:FunctionalProperty ;
            rdfs:domain :ControlPacket ;
            rdfs:range :Payload ;
            rdfs:comment "Links an MQTT Control Packet to its MQTT Payload."@en ;
            rdfs:label "has MQTT Payload"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasPayloadSize
:hasPayloadSize rdf:type owl:ObjectProperty ,
                         owl:FunctionalProperty ;
                rdfs:domain :Payload ;
                rdfs:range <http://qudt.org/schema/qudt/QuantityValue> ;
                rdfs:comment "Specifies the size of an MQTT Payload as a QUDT quantity value (e.g., unit:Byte)."@en ;
                rdfs:label "has payload size"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasPingreqFixedHeader
:hasPingreqFixedHeader rdf:type owl:ObjectProperty ;
                       rdfs:subPropertyOf :hasFixedHeader ;
                       owl:inverseOf :isPingreqFixedHeaderOf ;
                       rdf:type owl:FunctionalProperty ;
                       rdfs:domain :PingreqPacket ;
                       rdfs:range :PingreqFixedHeader ;
                       rdfs:comment "Links a PINGREQ packet to its specific Fixed Header."@en ;
                       rdfs:label "has PINGREQ Fixed Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasPingrespFixedHeader
:hasPingrespFixedHeader rdf:type owl:ObjectProperty ;
                        rdfs:subPropertyOf :hasFixedHeader ;
                        owl:inverseOf :isPingrespFixedHeaderOf ;
                        rdf:type owl:FunctionalProperty ;
                        rdfs:domain :PingrespPacket ;
                        rdfs:range :PingrespFixedHeader ;
                        rdfs:comment "Links a PINGRESP packet to its specific Fixed Header."@en ;
                        rdfs:label "has PINGRESP Fixed Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasProperties
:hasProperties rdf:type owl:ObjectProperty ;
               rdfs:domain [ rdf:type owl:Class ;
                             owl:unionOf ( :AuthVariableHeader
                                           :ConnackVariableHeader
                                           :ConnectVariableHeader
                                           :DisconnectVariableHeader
                                           :PubackVariableHeader
                                           :PubcompVariableHeader
                                           :PublishVariableHeader
                                           :PubrecVariableHeader
                                           :PubrelVariableHeader
                                           :SubackVariableHeader
                                           :SubscribeVariableHeader
                                           :UnsubackVariableHeader
                                           :UnsubscribeVariableHeader
                                         )
                           ] ;
               rdfs:range :Properties ;
               rdfs:comment "Links an MQTT Control Packet or higher-level message individual to its MQTT 5.0 Properties collection (variable header properties)."@en ;
               rdfs:label "has Properties"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasPropertySubject
:hasPropertySubject rdf:type owl:ObjectProperty ;
                    rdfs:subPropertyOf :hasSubject ;
                    owl:inverseOf :isPropertySubjectOf ;
                    rdfs:domain :Topic ;
                    rdfs:range <http://www.w3.org/ns/sosa/Property> ;
                    rdfs:comment "Links an MQTT Topic to the subject (Property)."@en ;
                    rdfs:label "has topic subject (Property)"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasPubackFixedHeader
:hasPubackFixedHeader rdf:type owl:ObjectProperty ;
                      rdfs:subPropertyOf :hasFixedHeader ;
                      owl:inverseOf :isPubackFixedHeaderOf ;
                      rdf:type owl:FunctionalProperty ;
                      rdfs:domain :PubackPacket ;
                      rdfs:range :PubackFixedHeader ;
                      rdfs:comment "Links a PUBACK packet to its specific Fixed Header."@en ;
                      rdfs:label "has PUBACK Fixed Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasPubackProperties
:hasPubackProperties rdf:type owl:ObjectProperty ;
                     rdfs:subPropertyOf :hasProperties ;
                     rdfs:domain :PubackVariableHeader ;
                     rdfs:range :PubackProperties ;
                     rdfs:comment "Links a PUBACK packet individual to its PubackProperties collection."@en ;
                     rdfs:label "has Puback Properties"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasPubackVariableHeader
:hasPubackVariableHeader rdf:type owl:ObjectProperty ;
                         rdfs:subPropertyOf :hasVariableHeader ;
                         owl:inverseOf :isPubackVariableHeaderOf ;
                         rdf:type owl:FunctionalProperty ;
                         rdfs:domain :PubackPacket ;
                         rdfs:range :PubackVariableHeader ;
                         rdfs:comment "Links a PUBACK packet to its specific Variable Header."@en ;
                         rdfs:label "has PUBACK Variable Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasPubcompFixedHeader
:hasPubcompFixedHeader rdf:type owl:ObjectProperty ;
                       rdfs:subPropertyOf :hasFixedHeader ;
                       owl:inverseOf :isPubcompFixedHeaderOf ;
                       rdf:type owl:FunctionalProperty ;
                       rdfs:domain :PubcompPacket ;
                       rdfs:range :PubcompFixedHeader ;
                       rdfs:comment "Links a PUBCOMP packet to its specific Fixed Header."@en ;
                       rdfs:label "has PUBCOMP Fixed Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasPubcompProperties
:hasPubcompProperties rdf:type owl:ObjectProperty ;
                      rdfs:subPropertyOf :hasProperties ;
                      rdfs:domain :PubcompVariableHeader ;
                      rdfs:range :PubcompProperties ;
                      rdfs:comment "Links a PUBCOMP packet individual to its PubcompProperties collection."@en ;
                      rdfs:label "has Pubcomp Properties"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasPubcompVariableHeader
:hasPubcompVariableHeader rdf:type owl:ObjectProperty ;
                          rdfs:subPropertyOf :hasVariableHeader ;
                          owl:inverseOf :isPubcompVariableHeaderOf ;
                          rdf:type owl:FunctionalProperty ;
                          rdfs:domain :PubcompPacket ;
                          rdfs:range :PubcompVariableHeader ;
                          rdfs:comment "Links a PUBCOMP packet to its specific Variable Header."@en ;
                          rdfs:label "has PUBCOMP Variable Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasPublishFixedHeader
:hasPublishFixedHeader rdf:type owl:ObjectProperty ;
                       rdfs:subPropertyOf :hasFixedHeader ;
                       owl:inverseOf :isPublishFixedHeaderOf ;
                       rdf:type owl:FunctionalProperty ;
                       rdfs:domain :PublishPacket ;
                       rdfs:range :PublishFixedHeader ;
                       rdfs:comment "Links a PUBLISH packet to its specific Fixed Header."@en ;
                       rdfs:label "has PUBLISH Fixed Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasPublishPayload
:hasPublishPayload rdf:type owl:ObjectProperty ;
                   rdfs:subPropertyOf :hasPayload ;
                   owl:inverseOf :isPublishPayloadOf ;
                   rdf:type owl:FunctionalProperty ;
                   rdfs:domain :PublishPacket ;
                   rdfs:range :PublishPayload ;
                   rdfs:comment "Links a PUBLISH packet (or ApplicationMessage) to its payload container/value instance."@en ;
                   rdfs:label "has PUBLISH Payload"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasPublishProperties
:hasPublishProperties rdf:type owl:ObjectProperty ;
                      rdfs:subPropertyOf :hasProperties ;
                      rdfs:domain :PublishVariableHeader ;
                      rdfs:range :PublishProperties ;
                      rdfs:comment "Links a PUBLISH packet individual to its PublishProperties collection."@en ;
                      rdfs:label "has Publish Properties"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasPublishVariableHeader
:hasPublishVariableHeader rdf:type owl:ObjectProperty ;
                          rdfs:subPropertyOf :hasVariableHeader ;
                          owl:inverseOf :isPublishVariableHeaderOf ;
                          rdf:type owl:FunctionalProperty ;
                          rdfs:domain :PublishPacket ;
                          rdfs:range :PublishVariableHeader ;
                          rdfs:comment "Links a PUBLISH packet to its specific Variable Header."@en ;
                          rdfs:label "has PUBLISH Variable Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasPubrecFixedHeader
:hasPubrecFixedHeader rdf:type owl:ObjectProperty ;
                      rdfs:subPropertyOf :hasFixedHeader ;
                      owl:inverseOf :isPubrecFixedHeaderOf ;
                      rdf:type owl:FunctionalProperty ;
                      rdfs:domain :PubrecPacket ;
                      rdfs:range :PubrecFixedHeader ;
                      rdfs:comment "Links a PUBREC packet to its specific Fixed Header."@en ;
                      rdfs:label "has PUBREC Fixed Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasPubrecProperties
:hasPubrecProperties rdf:type owl:ObjectProperty ;
                     rdfs:subPropertyOf :hasProperties ;
                     rdfs:domain :PubrecVariableHeader ;
                     rdfs:range :PubrecProperties ;
                     rdfs:comment "Links a PUBREC packet individual to its PubrecProperties collection."@en ;
                     rdfs:label "has Pubrec Properties"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasPubrecVariableHeader
:hasPubrecVariableHeader rdf:type owl:ObjectProperty ;
                         rdfs:subPropertyOf :hasVariableHeader ;
                         owl:inverseOf :isPubrecVariableHeaderOf ;
                         rdf:type owl:FunctionalProperty ;
                         rdfs:domain :PubrecPacket ;
                         rdfs:range :PubrecVariableHeader ;
                         rdfs:comment "Links a PUBREC packet to its specific Variable Header."@en ;
                         rdfs:label "has PUBREC Variable Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasPubrelFixedHeader
:hasPubrelFixedHeader rdf:type owl:ObjectProperty ;
                      rdfs:subPropertyOf :hasFixedHeader ;
                      owl:inverseOf :isPubrelFixedHeaderOf ;
                      rdf:type owl:FunctionalProperty ;
                      rdfs:domain :PubrelPacket ;
                      rdfs:range :PubrelFixedHeader ;
                      rdfs:comment "Links a PUBREL packet to its specific Fixed Header."@en ;
                      rdfs:label "has PUBREL Fixed Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasPubrelProperties
:hasPubrelProperties rdf:type owl:ObjectProperty ;
                     rdfs:subPropertyOf :hasProperties ;
                     rdfs:domain :PubrelVariableHeader ;
                     rdfs:range :PubrelProperties ;
                     rdfs:comment "Links a PUBREL packet individual to its PubrelProperties collection."@en ;
                     rdfs:label "has Pubrel Properties"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasPubrelVariableHeader
:hasPubrelVariableHeader rdf:type owl:ObjectProperty ;
                         rdfs:subPropertyOf :hasVariableHeader ;
                         owl:inverseOf :isPubrelVariableHeaderOf ;
                         rdf:type owl:FunctionalProperty ;
                         rdfs:domain :PubrelPacket ;
                         rdfs:range :PubrelVariableHeader ;
                         rdfs:comment "Links a PUBREL packet to its specific Variable Header."@en ;
                         rdfs:label "has PUBREL Variable Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasResponseTopic
:hasResponseTopic rdf:type owl:ObjectProperty ;
                  owl:inverseOf :isResponseTopicOf ;
                  rdf:type owl:FunctionalProperty ;
                  rdfs:domain [ rdf:type owl:Class ;
                                owl:unionOf ( :PublishProperties
                                              :WillProperties
                                            )
                              ] ;
                  rdfs:range :Topic ;
                  rdfs:comment "Links a PublishProperties or WillProperties collection to a Response Topic (UTF-8 Topic Name for request/response patterns)."@en ;
                  rdfs:label "has MQTT Response Topic (name)"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasSubackFixedHeader
:hasSubackFixedHeader rdf:type owl:ObjectProperty ;
                      rdfs:subPropertyOf :hasFixedHeader ;
                      owl:inverseOf :isSubackFixedHeaderOf ;
                      rdf:type owl:FunctionalProperty ;
                      rdfs:domain :SubackPacket ;
                      rdfs:range :SubackFixedHeader ;
                      rdfs:comment "Links a SUBACK packet to its specific Fixed Header."@en ;
                      rdfs:label "has SUBACK Fixed Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasSubackPayload
:hasSubackPayload rdf:type owl:ObjectProperty ;
                  rdfs:subPropertyOf :hasPayload ;
                  owl:inverseOf :isSubackPayloadOf ;
                  rdf:type owl:FunctionalProperty ;
                  rdfs:domain :SubackPacket ;
                  rdfs:range :SubackPayload ;
                  rdfs:comment "Links a SUBACK packet to its MQTT Payload."@en ;
                  rdfs:label "has SUBACK Payload"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasSubackProperties
:hasSubackProperties rdf:type owl:ObjectProperty ;
                     rdfs:subPropertyOf :hasProperties ;
                     rdfs:domain :SubackVariableHeader ;
                     rdfs:range :SubackProperties ;
                     rdfs:comment "Links a SUBACK packet individual to its SubackProperties collection."@en ;
                     rdfs:label "has Suback Properties"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasSubackVariableHeader
:hasSubackVariableHeader rdf:type owl:ObjectProperty ;
                         rdfs:subPropertyOf :hasVariableHeader ;
                         owl:inverseOf :isSubackVariableHeaderOf ;
                         rdf:type owl:FunctionalProperty ;
                         rdfs:domain :SubackPacket ;
                         rdfs:range :SubackVariableHeader ;
                         rdfs:comment "Links a SUBACK packet to its specific Variable Header."@en ;
                         rdfs:label "has SUBACK Variable Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasSubject
:hasSubject rdf:type owl:ObjectProperty ;
            owl:inverseOf :isSubjectOf ;
            rdfs:domain :Topic ;
            rdfs:range :TopicSubject ;
            rdfs:comment "Links an MQTT Topic to the conceptual subject carried on that topic."@en ;
            rdfs:label "has topic subject"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasSubscribeFixedHeader
:hasSubscribeFixedHeader rdf:type owl:ObjectProperty ;
                         rdfs:subPropertyOf :hasFixedHeader ;
                         owl:inverseOf :isSubscribeFixedHeaderOf ;
                         rdf:type owl:FunctionalProperty ;
                         rdfs:domain :SubscribePacket ;
                         rdfs:range :SubscribeFixedHeader ;
                         rdfs:comment "Links a SUBSCRIBE packet to its specific Fixed Header."@en ;
                         rdfs:label "has SUBSCRIBE Fixed Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasSubscribePayload
:hasSubscribePayload rdf:type owl:ObjectProperty ;
                     rdfs:subPropertyOf :hasPayload ;
                     owl:inverseOf :isSubscribePayloadOf ;
                     rdf:type owl:FunctionalProperty ;
                     rdfs:domain :SubscribePacket ;
                     rdfs:range :SubscribePayload ;
                     rdfs:comment "Links a SUBSCRIBE packet to its MQTT Payload."@en ;
                     rdfs:label "has SUBSCRIBE Payload"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasSubscribeProperties
:hasSubscribeProperties rdf:type owl:ObjectProperty ;
                        rdfs:subPropertyOf :hasProperties ;
                        rdfs:domain :SubscribeVariableHeader ;
                        rdfs:range :SubscribeProperties ;
                        rdfs:comment "Links a SUBSCRIBE packet individual to its SubscribeProperties collection."@en ;
                        rdfs:label "has Subscribe Properties"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasSubscribeVariableHeader
:hasSubscribeVariableHeader rdf:type owl:ObjectProperty ;
                            rdfs:subPropertyOf :hasVariableHeader ;
                            owl:inverseOf :isSubscribeVariableHeaderOf ;
                            rdf:type owl:FunctionalProperty ;
                            rdfs:domain :SubscribePacket ;
                            rdfs:range :SubscribeVariableHeader ;
                            rdfs:comment "Links a SUBSCRIBE packet to its specific Variable Header."@en ;
                            rdfs:label "has SUBSCRIBE Variable Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasSubscriptions
:hasSubscriptions rdf:type owl:ObjectProperty ;
                  owl:inverseOf :isSubscriptionOf ;
                  rdfs:domain :SubscribePayload ;
                  rdfs:range :SubscriptionEntry ;
                  rdfs:comment "Links a SUBSCRIBE Payload to one or more MQTT Subscription Entries."@en ;
                  rdfs:label "has MQTT Subscription Entries"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasTopicFilter
:hasTopicFilter rdf:type owl:ObjectProperty ;
                owl:inverseOf :isTopicFilterOf ;
                rdfs:domain [ rdf:type owl:Class ;
                              owl:unionOf ( :SubscriptionEntry
                                            :UnsubscribePayload
                                          )
                            ] ;
                rdfs:range :TopicFilter ;
                rdfs:comment "Relates a Subscription Entry or an UNSUBSCRIBE payload to an MQTT Topic Filter."@en ;
                rdfs:label "has MQTT Topic Filter"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasTopicName
:hasTopicName rdf:type owl:ObjectProperty ;
              owl:inverseOf :isTopicNameOf ;
              rdf:type owl:FunctionalProperty ;
              rdfs:domain :PublishVariableHeader ;
              rdfs:range :Topic ;
              rdfs:comment "Links a PUBLISH Variable Header to the MQTT Topic to which the message is published."@en ;
              rdfs:label "has MQTT Topic (name)"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasUnsubackFixedHeader
:hasUnsubackFixedHeader rdf:type owl:ObjectProperty ;
                        rdfs:subPropertyOf :hasFixedHeader ;
                        owl:inverseOf :isUnsubackFixedHeaderOf ;
                        rdf:type owl:FunctionalProperty ;
                        rdfs:domain :UnsubackPacket ;
                        rdfs:range :UnsubackFixedHeader ;
                        rdfs:comment "Links a UNSUBACK packet to its specific Fixed Header."@en ;
                        rdfs:label "has UNSUBACK Fixed Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasUnsubackPayload
:hasUnsubackPayload rdf:type owl:ObjectProperty ;
                    rdfs:subPropertyOf :hasPayload ;
                    owl:inverseOf :isUnsubackPayloadOf ;
                    rdf:type owl:FunctionalProperty ;
                    rdfs:domain :UnsubackPacket ;
                    rdfs:range :UnsubackPayload ;
                    rdfs:comment "Links a UNSUBACK packet to its MQTT Payload."@en ;
                    rdfs:label "has UNSUBACK Payload"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasUnsubackProperties
:hasUnsubackProperties rdf:type owl:ObjectProperty ;
                       rdfs:subPropertyOf :hasProperties ;
                       rdfs:domain :UnsubackVariableHeader ;
                       rdfs:range :UnsubackProperties ;
                       rdfs:comment "Links an UNSUBACK packet individual to its UnsubackProperties collection."@en ;
                       rdfs:label "has Unsuback Properties"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasUnsubackVariableHeader
:hasUnsubackVariableHeader rdf:type owl:ObjectProperty ;
                           rdfs:subPropertyOf :hasVariableHeader ;
                           owl:inverseOf :isUnsubackVariableHeaderOf ;
                           rdf:type owl:FunctionalProperty ;
                           rdfs:domain :UnsubackPacket ;
                           rdfs:range :UnsubackVariableHeader ;
                           rdfs:comment "Links a UNSUBACK packet to its specific Variable Header."@en ;
                           rdfs:label "has UNSUBACK Variable Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasUnsubscribeFixedHeader
:hasUnsubscribeFixedHeader rdf:type owl:ObjectProperty ;
                           rdfs:subPropertyOf :hasFixedHeader ;
                           owl:inverseOf :isUnsubscribeFixedHeaderOf ;
                           rdf:type owl:FunctionalProperty ;
                           rdfs:domain :UnsubscribePacket ;
                           rdfs:range :UnsubscribeFixedHeader ;
                           rdfs:comment "Links an UNSUBSCRIBE packet to its specific Fixed Header."@en ;
                           rdfs:label "has UNSUBSCRIBE Fixed Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasUnsubscribePayload
:hasUnsubscribePayload rdf:type owl:ObjectProperty ;
                       rdfs:subPropertyOf :hasPayload ;
                       owl:inverseOf :isUnsubscribePayloadOf ;
                       rdf:type owl:FunctionalProperty ;
                       rdfs:domain :UnsubscribePacket ;
                       rdfs:range :UnsubscribePayload ;
                       rdfs:comment "Links an UNSUBSCRIBE packet to its MQTT Payload."@en ;
                       rdfs:label "has UNSUBSCRIBE Payload"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasUnsubscribeProperties
:hasUnsubscribeProperties rdf:type owl:ObjectProperty ;
                          rdfs:subPropertyOf :hasProperties ;
                          rdfs:domain :UnsubscribeVariableHeader ;
                          rdfs:range :UnsubscribeProperties ;
                          rdfs:comment "Links an UNSUBSCRIBE packet individual to its UnsubscribeProperties collection."@en ;
                          rdfs:label "has Unsubscribe Properties"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasUnsubscribeVariableHeader
:hasUnsubscribeVariableHeader rdf:type owl:ObjectProperty ;
                              rdfs:subPropertyOf :hasVariableHeader ;
                              owl:inverseOf :isUnsubscribeVariableHeaderOf ;
                              rdf:type owl:FunctionalProperty ;
                              rdfs:domain :UnsubscribePacket ;
                              rdfs:range :UnsubscribeVariableHeader ;
                              rdfs:comment "Links an UNSUBSCRIBE packet to its specific Variable Header."@en ;
                              rdfs:label "has UNSUBSCRIBE Variable Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasUserProperty
:hasUserProperty rdf:type owl:ObjectProperty ;
                 rdfs:domain [ rdf:type owl:Class ;
                               owl:unionOf ( :AuthProperties
                                             :ConnackProperties
                                             :ConnectProperties
                                             :DisconnectProperties
                                             :PubackProperties
                                             :PubcompProperties
                                             :PublishProperties
                                             :PubrecProperties
                                             :PubrelProperties
                                             :SubackProperties
                                             :SubscribeProperties
                                             :UnsubackProperties
                                             :UnsubscribeProperties
                                             :WillProperties
                                           )
                             ] ;
                 rdfs:range :UserProperty ;
                 rdfs:comment "Links a Properties collection to one contained UserProperty (Name/Value pair). Multiple values may occur."@en ;
                 rdfs:label "has User Property"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasVariableHeader
:hasVariableHeader rdf:type owl:ObjectProperty ;
                   owl:inverseOf :isVariableHeaderOf ;
                   rdf:type owl:FunctionalProperty ;
                   rdfs:domain :ControlPacket ;
                   rdfs:range :VariableHeader ;
                   rdfs:comment "Links an MQTT Control Packet to its Variable Header."@en ;
                   rdfs:label "has Variable Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasWillProperties
:hasWillProperties rdf:type owl:ObjectProperty ;
                   rdfs:subPropertyOf :hasProperties ;
                   rdfs:domain :ConnectPayload ;
                   rdfs:range :WillProperties ;
                   rdfs:comment "Links a CONNECT packet or Will Message individual to its WillProperties collection."@en ;
                   rdfs:label "has Will Properties"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasWillTopic
:hasWillTopic rdf:type owl:ObjectProperty ;
              owl:inverseOf :isWillTopicOf ;
              rdfs:domain :ConnectPayload ;
              rdfs:range :Topic ;
              rdfs:comment "Links a CONNECT packet or Will Message to its Will Topic (Topic Name used when publishing the Will)."@en ;
              rdfs:label "has Will Topic"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hosts
:hosts rdf:type owl:ObjectProperty ;
       owl:inverseOf :isHostedBy ;
       rdfs:domain :Client ;
       rdfs:range <http://www.w3.org/ns/ssn/System> ;
       rdfs:comment "Links an MQTT Client (as a SOSA platform) to SSN systems (sensors/actuators) it hosts."@en ;
       rdfs:label "hosts"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isAcceptedBy
:isAcceptedBy rdf:type owl:ObjectProperty ;
              rdfs:domain :NetworkConnection ;
              rdfs:range :Broker ;
              rdfs:comment "Indicates the MQTT Broker that accepted the client's connection request."@en ;
              rdfs:label "is accepted by"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isActObsSubjectOf
:isActObsSubjectOf rdf:type owl:ObjectProperty ;
                   rdfs:subPropertyOf :isSubjectOf ;
                   rdfs:domain [ rdf:type owl:Class ;
                                 owl:unionOf ( <http://www.w3.org/ns/sosa/Actuation>
                                               <http://www.w3.org/ns/sosa/ActuationCollection>
                                               <http://www.w3.org/ns/sosa/Observation>
                                               <http://www.w3.org/ns/sosa/ObservationCollection>
                                             )
                               ] ;
                   rdfs:range :Topic ;
                   rdfs:comment "Links a topic subject (Actuation, Actuation collection, Observation or Observation Collection) to the MQTT Topic that carries it."@en ;
                   rdfs:label "is topic subject (Actuation, Actuation collection, Observation or Observation Collection) of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isApplicationMessageOf
:isApplicationMessageOf rdf:type owl:ObjectProperty ;
                        rdfs:subPropertyOf owl:topObjectProperty ;
                        rdfs:domain :ApplicationMessage ;
                        rdfs:range :PublishPayload ;
                        rdfs:comment "Inverse of hasApplicationMessage: links an ApplicationMessage to the PUBLISH packet that carries it."@en ;
                        rdfs:label "is Application Message of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isAuthFixedHeaderOf
:isAuthFixedHeaderOf rdf:type owl:ObjectProperty ;
                     rdfs:subPropertyOf :isFixedHeaderOf ;
                     rdf:type owl:FunctionalProperty ;
                     rdfs:domain :AuthFixedHeader ;
                     rdfs:range :AuthPacket ;
                     rdfs:comment "Links a AUTH Fixed Header to its MQTT Control Packet."@en ;
                     rdfs:label "is AUTH Fixed Header of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isAuthVariableHeaderOf
:isAuthVariableHeaderOf rdf:type owl:ObjectProperty ;
                        rdfs:subPropertyOf :isVariableHeaderOf ;
                        rdf:type owl:FunctionalProperty ;
                        rdfs:domain :AuthVariableHeader ;
                        rdfs:range :AuthPacket ;
                        rdfs:comment "Links a AUTH Variable Header to its MQTT Control Packet."@en ;
                        rdfs:label "is AUTH Variable Header of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isConnackFixedHeaderOf
:isConnackFixedHeaderOf rdf:type owl:ObjectProperty ;
                        rdfs:subPropertyOf :isFixedHeaderOf ;
                        rdf:type owl:FunctionalProperty ;
                        rdfs:domain :ConnackFixedHeader ;
                        rdfs:range :ConnackPacket ;
                        rdfs:comment "Links a CONNACK Fixed Header to its MQTT Control Packet."@en ;
                        rdfs:label "is CONNACK Fixed Header of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isConnackVariableHeaderOf
:isConnackVariableHeaderOf rdf:type owl:ObjectProperty ;
                           rdfs:subPropertyOf :isVariableHeaderOf ;
                           rdf:type owl:FunctionalProperty ;
                           rdfs:domain :ConnackVariableHeader ;
                           rdfs:range :ConnackPacket ;
                           rdfs:comment "Links a CONNACK Variable Header to its MQTT Control Packet."@en ;
                           rdfs:label "is CONNACK Variable Header of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isConnectFixedHeaderOf
:isConnectFixedHeaderOf rdf:type owl:ObjectProperty ;
                        rdfs:subPropertyOf :isFixedHeaderOf ;
                        rdf:type owl:FunctionalProperty ;
                        rdfs:domain :ConnectFixedHeader ;
                        rdfs:range :ConnectPacket ;
                        rdfs:comment "Links a CONNECT Fixed Header to its MQTT Control Packet."@en ;
                        rdfs:label "is CONNECT Fixed Header of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isConnectPayloadOf
:isConnectPayloadOf rdf:type owl:ObjectProperty ;
                    rdfs:subPropertyOf :isPayloadOf ;
                    rdf:type owl:FunctionalProperty ;
                    rdfs:domain :ConnectPayload ;
                    rdfs:range :ConnectPacket ;
                    rdfs:comment "Inverse relation: links a ConnectPayload individual to the CONNECT packet that contains it."@en ;
                    rdfs:label "is CONNECT Payload of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isConnectVariableHeaderOf
:isConnectVariableHeaderOf rdf:type owl:ObjectProperty ;
                           rdfs:subPropertyOf :isVariableHeaderOf ;
                           rdf:type owl:FunctionalProperty ;
                           rdfs:domain :ConnectVariableHeader ;
                           rdfs:range :ConnectPacket ;
                           rdfs:comment "Links a CONNECT Variable Header to its MQTT Control Packet."@en ;
                           rdfs:label "is CONNECT Variable Header of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isConnectedToBroker
:isConnectedToBroker rdf:type owl:ObjectProperty ;
                     rdfs:domain :Client ;
                     rdfs:range :Broker ;
                     rdfs:comment "Links an MQTT Client to the MQTT Broker it is currently connected to."@en ;
                     rdfs:label "is connected to MQTT Broker"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isDisconnectFixedHeaderOf
:isDisconnectFixedHeaderOf rdf:type owl:ObjectProperty ;
                           rdfs:subPropertyOf :isFixedHeaderOf ;
                           rdf:type owl:FunctionalProperty ;
                           rdfs:domain :DisconnectFixedHeader ;
                           rdfs:range :DisconnectPacket ;
                           rdfs:comment "Links a DISCONNECT Fixed Header to its MQTT Control Packet."@en ;
                           rdfs:label "is DISCONNECT Fixed Header of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isDisconnectVariableHeaderOf
:isDisconnectVariableHeaderOf rdf:type owl:ObjectProperty ;
                              rdfs:subPropertyOf :isVariableHeaderOf ;
                              rdf:type owl:FunctionalProperty ;
                              rdfs:domain :DisconnectVariableHeader ;
                              rdfs:range :DisconnectPacket ;
                              rdfs:comment "Links a DISCONNECT Variable Header to its MQTT Control Packet."@en ;
                              rdfs:label "is DISCONNECT Variable Header of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isEncodedInMessage
:isEncodedInMessage rdf:type owl:ObjectProperty ;
                    rdfs:domain rdf:List ;
                    rdfs:range :ApplicationMessage ;
                    rdfs:comment "Links an RDF list of field names to the MQTTAapplication Message that contains them."@en ;
                    rdfs:label "is encoded in MQTT Message"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isFOISubjectOf
:isFOISubjectOf rdf:type owl:ObjectProperty ;
                rdfs:subPropertyOf :isSubjectOf ;
                rdfs:domain <http://www.w3.org/ns/sosa/FeatureOfInterest> ;
                rdfs:range :Topic ;
                rdfs:comment "Links a topic subject (Feature of Interest) to the MQTT Topic that carries it."@en ;
                rdfs:label "is topic subject (Feature of Interest) of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isFixedHeaderOf
:isFixedHeaderOf rdf:type owl:ObjectProperty ,
                          owl:FunctionalProperty ;
                 rdfs:domain :FixedHeader ;
                 rdfs:range :ControlPacket ;
                 rdfs:comment "Links a Fixed Header to the MQTT Control Packet containing it."@en ;
                 rdfs:label "is Fixed Header of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isHostedBy
:isHostedBy rdf:type owl:ObjectProperty ;
            rdfs:domain <http://www.w3.org/ns/ssn/System> ;
            rdfs:range :Client ;
            rdfs:comment "Links a SSN system to the hosting MQTT Client."@en ;
            rdfs:label "is hosted by"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isInitiatedBy
:isInitiatedBy rdf:type owl:ObjectProperty ;
               rdfs:domain :NetworkConnection ;
               rdfs:range :Client ;
               rdfs:comment "Indicates the MQTT Client that initiated the connection to the MQTT Broker."@en ;
               rdfs:label "is initiated by"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isMatchedByFilter
:isMatchedByFilter rdf:type owl:ObjectProperty ;
                   owl:inverseOf :matchesTopic ;
                   rdfs:domain :Topic ;
                   rdfs:range :TopicFilter ;
                   rdfs:comment "Indicates that an MQTT Topic is matched by a given MQTT Topic Filter."@en ;
                   rdfs:label "is matched by MQTT Topic Filter"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isPayloadOf
:isPayloadOf rdf:type owl:ObjectProperty ,
                      owl:FunctionalProperty ;
             rdfs:domain :Payload ;
             rdfs:range :ControlPacket ;
             rdfs:comment "Links an MQTT Payload to the MQTT Control Packet containing it."@en ;
             rdfs:label "is MQTT Payload of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isPingreqFixedHeaderOf
:isPingreqFixedHeaderOf rdf:type owl:ObjectProperty ;
                        rdfs:subPropertyOf :isFixedHeaderOf ;
                        rdf:type owl:FunctionalProperty ;
                        rdfs:domain :PingreqFixedHeader ;
                        rdfs:range :PingreqPacket ;
                        rdfs:comment "Links a PINGREQ Fixed Header to its MQTT Control Packet."@en ;
                        rdfs:label "is PINGREQ Fixed Header of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isPingrespFixedHeaderOf
:isPingrespFixedHeaderOf rdf:type owl:ObjectProperty ;
                         rdfs:subPropertyOf :isFixedHeaderOf ;
                         rdf:type owl:FunctionalProperty ;
                         rdfs:domain :PingrespFixedHeader ;
                         rdfs:range :PingrespPacket ;
                         rdfs:comment "Links a PINGRESP Fixed Header to its MQTT Control Packet."@en ;
                         rdfs:label "is PINGRESP Fixed Header of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isPropertySubjectOf
:isPropertySubjectOf rdf:type owl:ObjectProperty ;
                     rdfs:subPropertyOf :isSubjectOf ;
                     rdfs:domain <http://www.w3.org/ns/sosa/Property> ;
                     rdfs:range :Topic ;
                     rdfs:comment "Links a topic subject (Property) to the MQTT Topic that carries it."@en ;
                     rdfs:label "is topic subject (Property) of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isPubackFixedHeaderOf
:isPubackFixedHeaderOf rdf:type owl:ObjectProperty ;
                       rdfs:subPropertyOf :isFixedHeaderOf ;
                       rdf:type owl:FunctionalProperty ;
                       rdfs:domain :PubackFixedHeader ;
                       rdfs:range :PubackPacket ;
                       rdfs:comment "Links a PUBACK Fixed Header to its MQTT Control Packet."@en ;
                       rdfs:label "is PUBACK Fixed Header of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isPubackVariableHeaderOf
:isPubackVariableHeaderOf rdf:type owl:ObjectProperty ;
                          rdfs:subPropertyOf :isVariableHeaderOf ;
                          rdf:type owl:FunctionalProperty ;
                          rdfs:domain :PubackVariableHeader ;
                          rdfs:range :PubackPacket ;
                          rdfs:comment "Links a PUBACK Variable Header to its MQTT Control Packet."@en ;
                          rdfs:label "is PUBACK Variable Header of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isPubcompFixedHeaderOf
:isPubcompFixedHeaderOf rdf:type owl:ObjectProperty ;
                        rdfs:subPropertyOf :isFixedHeaderOf ;
                        rdf:type owl:FunctionalProperty ;
                        rdfs:domain :PubcompFixedHeader ;
                        rdfs:range :PubcompPacket ;
                        rdfs:comment "Links a PUBCOMP Fixed Header to its MQTT Control Packet."@en ;
                        rdfs:label "is PUBCOMP Fixed Header of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isPubcompVariableHeaderOf
:isPubcompVariableHeaderOf rdf:type owl:ObjectProperty ;
                           rdfs:subPropertyOf :isVariableHeaderOf ;
                           rdf:type owl:FunctionalProperty ;
                           rdfs:domain :PubcompVariableHeader ;
                           rdfs:range :PubcompPacket ;
                           rdfs:comment "Links a PUBCOMP Variable Header to its MQTT Control Packet."@en ;
                           rdfs:label "is PUBCOMP Variable Header of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isPublishFixedHeaderOf
:isPublishFixedHeaderOf rdf:type owl:ObjectProperty ;
                        rdfs:subPropertyOf :isFixedHeaderOf ;
                        rdf:type owl:FunctionalProperty ;
                        rdfs:domain :PublishFixedHeader ;
                        rdfs:range :PublishPacket ;
                        rdfs:comment "Links a PUBLISH Fixed Header to its MQTT Control Packet."@en ;
                        rdfs:label "is PUBLISH Fixed Header of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isPublishPayloadOf
:isPublishPayloadOf rdf:type owl:ObjectProperty ;
                    rdfs:subPropertyOf :isPayloadOf ;
                    rdf:type owl:FunctionalProperty ;
                    rdfs:domain :PublishPayload ;
                    rdfs:range :PublishPacket ;
                    rdfs:comment "Links a PUBLISH Payload to its MQTT Control Packet."@en ;
                    rdfs:label "is PUBLISH Payload of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isPublishVariableHeaderOf
:isPublishVariableHeaderOf rdf:type owl:ObjectProperty ;
                           rdfs:subPropertyOf :isVariableHeaderOf ;
                           rdf:type owl:FunctionalProperty ;
                           rdfs:domain :PublishVariableHeader ;
                           rdfs:range :PublishPacket ;
                           rdfs:comment "Links a PUBLISH Variable Header to its MQTT Control Packet."@en ;
                           rdfs:label "is PUBLISH Variable Header of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isPubrecFixedHeaderOf
:isPubrecFixedHeaderOf rdf:type owl:ObjectProperty ;
                       rdfs:subPropertyOf :isFixedHeaderOf ;
                       rdf:type owl:FunctionalProperty ;
                       rdfs:domain :PubrecFixedHeader ;
                       rdfs:range :PubrecPacket ;
                       rdfs:comment "Links a PUBREC Fixed Header to its MQTT Control Packet."@en ;
                       rdfs:label "is PUBREC Fixed Header of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isPubrecVariableHeaderOf
:isPubrecVariableHeaderOf rdf:type owl:ObjectProperty ;
                          rdfs:subPropertyOf :isVariableHeaderOf ;
                          rdf:type owl:FunctionalProperty ;
                          rdfs:domain :PubrecVariableHeader ;
                          rdfs:range :PubrecPacket ;
                          rdfs:comment "Links a PUBREC Variable Header to its MQTT Control Packet."@en ;
                          rdfs:label "is PUBREC Variable Header of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isPubrelFixedHeaderOf
:isPubrelFixedHeaderOf rdf:type owl:ObjectProperty ;
                       rdfs:subPropertyOf :isFixedHeaderOf ;
                       rdf:type owl:FunctionalProperty ;
                       rdfs:domain :PubrelFixedHeader ;
                       rdfs:range :PubrelPacket ;
                       rdfs:comment "Links a PUBREL Fixed Header to its MQTT Control Packet."@en ;
                       rdfs:label "is PUBREL Fixed Header of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isPubrelVariableHeaderOf
:isPubrelVariableHeaderOf rdf:type owl:ObjectProperty ;
                          rdfs:subPropertyOf :isVariableHeaderOf ;
                          rdf:type owl:FunctionalProperty ;
                          rdfs:domain :PubrelVariableHeader ;
                          rdfs:range :PubrelPacket ;
                          rdfs:comment "Links a PUBREL Variable Header to its MQTT Control Packet."@en ;
                          rdfs:label "is PUBREL Variable Header of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isResponseTopicOf
:isResponseTopicOf rdf:type owl:ObjectProperty ;
                   rdfs:domain :Topic ;
                   rdfs:range [ rdf:type owl:Class ;
                                owl:unionOf ( :PublishProperties
                                              :WillProperties
                                            )
                              ] ;
                   rdfs:comment "Inverse relation: links a Response Topic resource to the Properties collection/PUBLISH where it is defined."@en ;
                   rdfs:label "is MQTT Response Topic (name) of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isSubackFixedHeaderOf
:isSubackFixedHeaderOf rdf:type owl:ObjectProperty ;
                       rdfs:subPropertyOf :isFixedHeaderOf ;
                       rdf:type owl:FunctionalProperty ;
                       rdfs:domain :SubackFixedHeader ;
                       rdfs:range :SubackPacket ;
                       rdfs:comment "Links a SUBACK Fixed Header to its MQTT Control Packet."@en ;
                       rdfs:label "is SUBACK Fixed Header of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isSubackPayloadOf
:isSubackPayloadOf rdf:type owl:ObjectProperty ;
                   rdfs:subPropertyOf :isPayloadOf ;
                   rdf:type owl:FunctionalProperty ;
                   rdfs:domain :SubackPayload ;
                   rdfs:range :SubackPacket ;
                   rdfs:comment "Inverse relation: links a SubackPayload individual to the SUBACK packet that contains it."@en ;
                   rdfs:label "is SUBACK Payload of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isSubackVariableHeaderOf
:isSubackVariableHeaderOf rdf:type owl:ObjectProperty ;
                          rdfs:subPropertyOf :isVariableHeaderOf ;
                          rdf:type owl:FunctionalProperty ;
                          rdfs:domain :SubackVariableHeader ;
                          rdfs:range :SubackPacket ;
                          rdfs:comment "Links a SUBACK Variable Header to its MQTT Control Packet."@en ;
                          rdfs:label "is SUBACK Variable Header of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isSubjectOf
:isSubjectOf rdf:type owl:ObjectProperty ;
             rdfs:domain :TopicSubject ;
             rdfs:range :Topic ;
             rdfs:comment "Links a topic subject (e.g., Observation, Actuation) to the MQTT Topic that carries it."@en ;
             rdfs:label "is topic subject of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isSubscribeFixedHeaderOf
:isSubscribeFixedHeaderOf rdf:type owl:ObjectProperty ;
                          rdfs:subPropertyOf :isFixedHeaderOf ;
                          rdf:type owl:FunctionalProperty ;
                          rdfs:domain :SubscribeFixedHeader ;
                          rdfs:range :SubscribePacket ;
                          rdfs:comment "Links a SUBSCRIBE Fixed Header to its MQTT Control Packet."@en ;
                          rdfs:label "is SUBSCRIBE Fixed Header of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isSubscribePayloadOf
:isSubscribePayloadOf rdf:type owl:ObjectProperty ;
                      rdfs:subPropertyOf :isPayloadOf ;
                      rdf:type owl:FunctionalProperty ;
                      rdfs:domain :SubscribePayload ;
                      rdfs:range :SubscribePacket ;
                      rdfs:comment "Links a SUBSCRIBE Payload to its MQTT Control Packet."@en ;
                      rdfs:label "is SUBSCRIBE Payload of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isSubscribeVariableHeaderOf
:isSubscribeVariableHeaderOf rdf:type owl:ObjectProperty ;
                             rdfs:subPropertyOf :isVariableHeaderOf ;
                             rdf:type owl:FunctionalProperty ;
                             rdfs:domain :SubscribeVariableHeader ;
                             rdfs:range :SubscribePacket ;
                             rdfs:comment "Links a SUBSCRIBE Variable Header to its MQTT Control Packet."@en ;
                             rdfs:label "is SUBSCRIBE Variable Header of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isSubscriptionOf
:isSubscriptionOf rdf:type owl:ObjectProperty ;
                  rdfs:domain :SubscriptionEntry ;
                  rdfs:range :SubscribePayload ;
                  rdfs:comment "Links an MQTT Subscription Entry to its SUBSCRIBE Payload."@en ;
                  rdfs:label "is MQTT Subscription Entry of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isTopicFilterOf
:isTopicFilterOf rdf:type owl:ObjectProperty ;
                 rdfs:domain :TopicFilter ;
                 rdfs:range [ rdf:type owl:Class ;
                              owl:unionOf ( :SubscriptionEntry
                                            :UnsubscribePayload
                                          )
                            ] ;
                 rdfs:comment "Relates an MQTT Topic Filter to a Subscription Entry or an UNSUBSCRIBE payload."@en ;
                 rdfs:label "is MQTT Topic Filter of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isTopicNameOf
:isTopicNameOf rdf:type owl:ObjectProperty ;
               rdfs:domain :Topic ;
               rdfs:range :PublishVariableHeader ;
               rdfs:comment "Links an MQTT Topic to which the message is published to a PUBLISH Variable Header."@en ;
               rdfs:label "is MQTT Topic (name) of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isUnsubackFixedHeaderOf
:isUnsubackFixedHeaderOf rdf:type owl:ObjectProperty ;
                         rdfs:subPropertyOf :isFixedHeaderOf ;
                         rdf:type owl:FunctionalProperty ;
                         rdfs:domain :UnsubackFixedHeader ;
                         rdfs:range :UnsubackPacket ;
                         rdfs:comment "Links a UNSUBACK Fixed Header to its MQTT Control Packet."@en ;
                         rdfs:label "is UNSUBACK Fixed Header of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isUnsubackPayloadOf
:isUnsubackPayloadOf rdf:type owl:ObjectProperty ;
                     rdfs:subPropertyOf :isPayloadOf ;
                     rdf:type owl:FunctionalProperty ;
                     rdfs:domain :UnsubackPayload ;
                     rdfs:range :UnsubackPacket ;
                     rdfs:comment "Inverse relation: links an UnsubackPayload individual to the UNSUBACK packet that contains it."@en ;
                     rdfs:label "is UNSUBACK Payload of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isUnsubackVariableHeaderOf
:isUnsubackVariableHeaderOf rdf:type owl:ObjectProperty ;
                            rdfs:subPropertyOf :isVariableHeaderOf ;
                            rdf:type owl:FunctionalProperty ;
                            rdfs:domain :UnsubackVariableHeader ;
                            rdfs:range :UnsubackPacket ;
                            rdfs:comment "Links a UNSUBACK Variable Header to its MQTT Control Packet."@en ;
                            rdfs:label "is UNSUBACK Variable Header of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isUnsubscribeFixedHeaderOf
:isUnsubscribeFixedHeaderOf rdf:type owl:ObjectProperty ;
                            rdfs:subPropertyOf :isFixedHeaderOf ;
                            rdf:type owl:FunctionalProperty ;
                            rdfs:domain :UnsubscribeFixedHeader ;
                            rdfs:range :UnsubscribePacket ;
                            rdfs:comment "Links an UNSUBSCRIBE Fixed Header to its MQTT Control Packet."@en ;
                            rdfs:label "is UNSUBSCRIBE Fixed Header of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isUnsubscribePayloadOf
:isUnsubscribePayloadOf rdf:type owl:ObjectProperty ;
                        rdfs:subPropertyOf :isPayloadOf ;
                        rdf:type owl:FunctionalProperty ;
                        rdfs:domain :UnsubscribePayload ;
                        rdfs:range :UnsubscribePacket ;
                        rdfs:comment "Links an UNSUBSCRIBE Payload to its MQTT Control Packet."@en ;
                        rdfs:label "is UNSUBSCRIBE Payload of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isUnsubscribeVariableHeaderOf
:isUnsubscribeVariableHeaderOf rdf:type owl:ObjectProperty ;
                               rdfs:subPropertyOf :isVariableHeaderOf ;
                               rdf:type owl:FunctionalProperty ;
                               rdfs:domain :UnsubscribeVariableHeader ;
                               rdfs:range :UnsubscribePacket ;
                               rdfs:comment "Links an UNSUBSCRIBE Variable Header to its MQTT Control Packet."@en ;
                               rdfs:label "is UNSUBSCRIBE Variable Header of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isVariableHeaderOf
:isVariableHeaderOf rdf:type owl:ObjectProperty ,
                             owl:FunctionalProperty ;
                    rdfs:domain :VariableHeader ;
                    rdfs:range :ControlPacket ;
                    rdfs:comment "Links a Variable Header to the MQTT Control Packet containing it."@en ;
                    rdfs:label "is Variable Header of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#isWillTopicOf
:isWillTopicOf rdf:type owl:ObjectProperty ;
               rdfs:domain :Topic ;
               rdfs:range :ConnectPayload ;
               rdfs:comment "Inverse relation: links a Will Topic resource to the Will Message/CONNECT packet it belongs to."@en ;
               rdfs:label "is Will Topic of"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#listensToTopic
:listensToTopic rdf:type owl:ObjectProperty ;
                rdfs:domain <http://www.w3.org/ns/sosa/Actuator> ;
                rdfs:range :Topic ;
                rdfs:comment "Links an actuator to the MQTT Topic from which it receives actuation commands."@en ;
                rdfs:label "listens to MQTT Topic"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#matchesTopic
:matchesTopic rdf:type owl:ObjectProperty ;
              rdfs:domain :TopicFilter ;
              rdfs:range :Topic ;
              rdfs:comment "Indicates that an MQTT Topic Filter matches a particular MQTT Topic."@en ;
              rdfs:label "matches MQTT Topic"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#observesTopic
:observesTopic rdf:type owl:ObjectProperty ;
               rdfs:domain <http://www.w3.org/ns/sosa/Sensor> ;
               rdfs:range :Topic ;
               rdfs:comment "Links a sensor to the MQTT Topic to which it publishes observations."@en ;
               rdfs:label "observes MQTT Topic"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#receivesAuthPacket
:receivesAuthPacket rdf:type owl:ObjectProperty ;
                    rdfs:subPropertyOf :receivesControlPacket ;
                    rdfs:domain [ rdf:type owl:Class ;
                                  owl:unionOf ( :Broker
                                                :Client
                                              )
                                ] ;
                    rdfs:range :AuthPacket ;
                    rdfs:comment "Client/Broker receives AUTH Packet from Broker/Client"@en ;
                    rdfs:label "receives MQTT AUTH Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#receivesConnackPacket
:receivesConnackPacket rdf:type owl:ObjectProperty ;
                       rdfs:subPropertyOf :receivesControlPacket ;
                       rdfs:domain :Client ;
                       rdfs:range :ConnackPacket ;
                       rdfs:comment "Client receives CONNACK Packet from Broker"@en ;
                       rdfs:label "receives MQTT CONNACK Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#receivesConnectPacket
:receivesConnectPacket rdf:type owl:ObjectProperty ;
                       rdfs:subPropertyOf :receivesControlPacket ;
                       rdfs:domain :Broker ;
                       rdfs:range :ConnectPacket ;
                       rdfs:comment "Broker receives CONNECT Packet from Client"@en ;
                       rdfs:label "receives MQTT CONNECT Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#receivesControlPacket
:receivesControlPacket rdf:type owl:ObjectProperty ;
                       rdfs:domain [ rdf:type owl:Class ;
                                     owl:unionOf ( :Broker
                                                   :Client
                                                 )
                                   ] ;
                       rdfs:range :ControlPacket ;
                       rdfs:comment "Client/Broker receives Control Packet from Broker/Client."@en ;
                       rdfs:label "receives MQTT Control Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#receivesDisconnectPacket
:receivesDisconnectPacket rdf:type owl:ObjectProperty ;
                          rdfs:subPropertyOf :receivesControlPacket ;
                          rdfs:domain [ rdf:type owl:Class ;
                                        owl:unionOf ( :Broker
                                                      :Client
                                                    )
                                      ] ;
                          rdfs:range :DisconnectPacket ;
                          rdfs:comment "Client/Broker receives DISCONNECT Packet from Broker/Client"@en ;
                          rdfs:label "receives MQTT DISCONNECT Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#receivesPingreqPacket
:receivesPingreqPacket rdf:type owl:ObjectProperty ;
                       rdfs:subPropertyOf :receivesControlPacket ;
                       rdfs:domain :Client ;
                       rdfs:range :PingreqPacket ;
                       rdfs:comment "Client receives PINGREQ Packet from Broker"@en ;
                       rdfs:label "receives MQTT PINGREQ Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#receivesPingrespPacket
:receivesPingrespPacket rdf:type owl:ObjectProperty ;
                        rdfs:subPropertyOf :receivesControlPacket ;
                        rdfs:domain :Broker ;
                        rdfs:range :PingrespPacket ;
                        rdfs:comment "Broker receives PINGRESP Packet from Client"@en ;
                        rdfs:label "receives MQTT PINGRESP Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#receivesPubackPacket
:receivesPubackPacket rdf:type owl:ObjectProperty ;
                      rdfs:subPropertyOf :receivesControlPacket ;
                      rdfs:domain [ rdf:type owl:Class ;
                                    owl:unionOf ( :Broker
                                                  :Client
                                                )
                                  ] ;
                      rdfs:range :PubackPacket ;
                      rdfs:comment "Client/Broker receives PUBACK Packet from Broker/Client"@en ;
                      rdfs:label "receives MQTT PUBACK Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#receivesPubcompPacket
:receivesPubcompPacket rdf:type owl:ObjectProperty ;
                       rdfs:subPropertyOf :receivesControlPacket ;
                       rdfs:domain [ rdf:type owl:Class ;
                                     owl:unionOf ( :Broker
                                                   :Client
                                                 )
                                   ] ;
                       rdfs:range :PubcompPacket ;
                       rdfs:comment "Client/Broker receives PUBCOMP Packet from Broker/Client"@en ;
                       rdfs:label "receives MQTT PUBCOMP Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#receivesPublishPacket
:receivesPublishPacket rdf:type owl:ObjectProperty ;
                       rdfs:subPropertyOf :receivesControlPacket ;
                       rdfs:domain [ rdf:type owl:Class ;
                                     owl:unionOf ( :Broker
                                                   :Client
                                                 )
                                   ] ;
                       rdfs:range :PublishPacket ;
                       rdfs:comment "Client/Broker receives PUBLISH Packet from Broker/Client"@en ;
                       rdfs:label "receives MQTT PUBLISH Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#receivesPubrecPacket
:receivesPubrecPacket rdf:type owl:ObjectProperty ;
                      rdfs:subPropertyOf :receivesControlPacket ;
                      rdfs:domain [ rdf:type owl:Class ;
                                    owl:unionOf ( :Broker
                                                  :Client
                                                )
                                  ] ;
                      rdfs:range :PubrecPacket ;
                      rdfs:comment "Client/Broker receives PUBREC Packet from Broker/Client"@en ;
                      rdfs:label "receives MQTT PUBREC Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#receivesPubrelPacket
:receivesPubrelPacket rdf:type owl:ObjectProperty ;
                      rdfs:subPropertyOf :receivesControlPacket ;
                      rdfs:domain [ rdf:type owl:Class ;
                                    owl:unionOf ( :Broker
                                                  :Client
                                                )
                                  ] ;
                      rdfs:range :PubrelPacket ;
                      rdfs:comment "Client/Broker receives PUBREL Packet from Broker/Client"@en ;
                      rdfs:label "receives MQTT PUBREL Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#receivesSubackPacket
:receivesSubackPacket rdf:type owl:ObjectProperty ;
                      rdfs:subPropertyOf :receivesControlPacket ;
                      rdfs:domain :Client ;
                      rdfs:range :SubackPacket ;
                      rdfs:comment "Client receives SUBACK Packet from Broker"@en ;
                      rdfs:label "receives MQTT SUBACK Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#receivesSubscribePacket
:receivesSubscribePacket rdf:type owl:ObjectProperty ;
                         rdfs:subPropertyOf :receivesControlPacket ;
                         rdfs:domain :Broker ;
                         rdfs:range :SubscribePacket ;
                         rdfs:comment "Broker receives SUBSCRIBE Packet from Client"@en ;
                         rdfs:label "receives MQTT SUBSCRIBE Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#receivesUnsubackPacket
:receivesUnsubackPacket rdf:type owl:ObjectProperty ;
                        rdfs:subPropertyOf :receivesControlPacket ;
                        rdfs:domain :Client ;
                        rdfs:range :UnsubackPacket ;
                        rdfs:comment "Client receives UNSUBACK Packet from Broker"@en ;
                        rdfs:label "receives MQTT UNSUBACK Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#receivesUnsubscribePacket
:receivesUnsubscribePacket rdf:type owl:ObjectProperty ;
                           rdfs:subPropertyOf :receivesControlPacket ;
                           rdfs:domain :Broker ;
                           rdfs:range :UnsubscribePacket ;
                           rdfs:comment "Broker receives UNSUBSCRIBE Packet from Client"@en ;
                           rdfs:label "receives MQTT UNSUBSCRIBE Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#runsOnPlatform
:runsOnPlatform rdf:type owl:ObjectProperty ;
                rdfs:domain :Client ;
                rdfs:range <http://www.w3.org/ns/sosa/Platform> ;
                rdfs:comment "Links an MQTT Client to the platform on which it operates."@en ;
                rdfs:label "runs on platform"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#sendsAuthPacket
:sendsAuthPacket rdf:type owl:ObjectProperty ;
                 rdfs:subPropertyOf :sendsControlPacket ;
                 rdfs:domain [ rdf:type owl:Class ;
                               owl:unionOf ( :Broker
                                             :Client
                                           )
                             ] ;
                 rdfs:range :AuthPacket ;
                 rdfs:comment "Client/Broker sends AUTH Packet to Broker/Client"@en ;
                 rdfs:label "sends MQTT AUTH Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#sendsConnackPacket
:sendsConnackPacket rdf:type owl:ObjectProperty ;
                    rdfs:subPropertyOf :sendsControlPacket ;
                    rdfs:domain :Broker ;
                    rdfs:range :ConnackPacket ;
                    rdfs:comment "Broker sends CONNACK Packet to Client"@en ;
                    rdfs:label "sends MQTT CONNACK Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#sendsConnectPacket
:sendsConnectPacket rdf:type owl:ObjectProperty ;
                    rdfs:subPropertyOf :sendsControlPacket ;
                    rdfs:domain :Client ;
                    rdfs:range :ConnectPacket ;
                    rdfs:comment "Client sends CONNECT Packet to Broker"@en ;
                    rdfs:label "sends MQTT CONNECT Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#sendsControlPacket
:sendsControlPacket rdf:type owl:ObjectProperty ;
                    rdfs:domain [ rdf:type owl:Class ;
                                  owl:unionOf ( :Broker
                                                :Client
                                              )
                                ] ;
                    rdfs:range :ControlPacket ;
                    rdfs:comment "Client/Broker sends Control Packet to Broker/Client."@en ;
                    rdfs:label "sends MQTT Control Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#sendsDisconnectPacket
:sendsDisconnectPacket rdf:type owl:ObjectProperty ;
                       rdfs:subPropertyOf :sendsControlPacket ;
                       rdfs:domain [ rdf:type owl:Class ;
                                     owl:unionOf ( :Broker
                                                   :Client
                                                 )
                                   ] ;
                       rdfs:range :DisconnectPacket ;
                       rdfs:comment "Client/Broker sends DISCONNECT Packet to Broker/Client"@en ;
                       rdfs:label "sends MQTT DISCONNECT Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#sendsPingreqPacket
:sendsPingreqPacket rdf:type owl:ObjectProperty ;
                    rdfs:subPropertyOf :sendsControlPacket ;
                    rdfs:domain :Client ;
                    rdfs:range :PingreqPacket ;
                    rdfs:comment "Client sends PINGREQ Packet to Broker"@en ;
                    rdfs:label "sends MQTT PINGREQ Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#sendsPingrespPacket
:sendsPingrespPacket rdf:type owl:ObjectProperty ;
                     rdfs:subPropertyOf :sendsControlPacket ;
                     rdfs:domain :Broker ;
                     rdfs:range :PingrespPacket ;
                     rdfs:comment "Broker sends PINGRESP Packet to Client"@en ;
                     rdfs:label "sends MQTT PINGRESP Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#sendsPubackPacket
:sendsPubackPacket rdf:type owl:ObjectProperty ;
                   rdfs:subPropertyOf :sendsControlPacket ;
                   rdfs:domain [ rdf:type owl:Class ;
                                 owl:unionOf ( :Broker
                                               :Client
                                             )
                               ] ;
                   rdfs:range :PubackPacket ;
                   rdfs:comment "Client/Broker sends PUBACK Packet to Broker/Client"@en ;
                   rdfs:label "sends MQTT PUBACK Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#sendsPubcompPacket
:sendsPubcompPacket rdf:type owl:ObjectProperty ;
                    rdfs:subPropertyOf :sendsControlPacket ;
                    rdfs:domain [ rdf:type owl:Class ;
                                  owl:unionOf ( :Broker
                                                :Client
                                              )
                                ] ;
                    rdfs:range :PubcompPacket ;
                    rdfs:comment "Client/Broker sends PUBCOMP Packet to Broker/Client"@en ;
                    rdfs:label "sends MQTT PUBCOMP Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#sendsPublishPacket
:sendsPublishPacket rdf:type owl:ObjectProperty ;
                    rdfs:subPropertyOf :sendsControlPacket ;
                    rdfs:domain [ rdf:type owl:Class ;
                                  owl:unionOf ( :Broker
                                                :Client
                                              )
                                ] ;
                    rdfs:range :PublishPacket ;
                    rdfs:comment "Client/Broker sends PUBLISH Packet to Broker/Client"@en ;
                    rdfs:label "sends MQTT PUBLISH Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#sendsPubrecPacket
:sendsPubrecPacket rdf:type owl:ObjectProperty ;
                   rdfs:subPropertyOf :sendsControlPacket ;
                   rdfs:domain [ rdf:type owl:Class ;
                                 owl:unionOf ( :Broker
                                               :Client
                                             )
                               ] ;
                   rdfs:range :PubrecPacket ;
                   rdfs:comment "Client/Broker sends PUBREC Packet to Broker/Client"@en ;
                   rdfs:label "sends MQTT PUBREC Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#sendsPubrelPacket
:sendsPubrelPacket rdf:type owl:ObjectProperty ;
                   rdfs:subPropertyOf :sendsControlPacket ;
                   rdfs:domain [ rdf:type owl:Class ;
                                 owl:unionOf ( :Broker
                                               :Client
                                             )
                               ] ;
                   rdfs:range :PubrelPacket ;
                   rdfs:comment "Client/Broker sends PUBREL Packet to Broker/Client"@en ;
                   rdfs:label "sends MQTT PUBREL Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#sendsSubackPacket
:sendsSubackPacket rdf:type owl:ObjectProperty ;
                   rdfs:subPropertyOf :sendsControlPacket ;
                   rdfs:domain :Broker ;
                   rdfs:range :SubackPacket ;
                   rdfs:comment "Broker sends SUBACK Packet to Client"@en ;
                   rdfs:label "sends MQTT SUBACK Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#sendsSubscribePacket
:sendsSubscribePacket rdf:type owl:ObjectProperty ;
                      rdfs:subPropertyOf :sendsControlPacket ;
                      rdfs:domain :Client ;
                      rdfs:range :SubscribePacket ;
                      rdfs:comment "Client sends SUBSCRIBE Packet to Broker"@en ;
                      rdfs:label "sends MQTT SUBSCRIBE Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#sendsUnsubackPacket
:sendsUnsubackPacket rdf:type owl:ObjectProperty ;
                     rdfs:subPropertyOf :sendsControlPacket ;
                     rdfs:domain :Broker ;
                     rdfs:range :UnsubackPacket ;
                     rdfs:comment "Broker sends UNSUBACK Packet to Client"@en ;
                     rdfs:label "sends MQTT UNSUBACK Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#sendsUnsubscribePacket
:sendsUnsubscribePacket rdf:type owl:ObjectProperty ;
                        rdfs:subPropertyOf :sendsControlPacket ;
                        rdfs:domain :Client ;
                        rdfs:range :UnsubscribePacket ;
                        rdfs:comment "Client sends UNSUBSCRIBE Packet to Broker"@en ;
                        rdfs:label "sends MQTT UNSUBSCRIBE Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#usesConnection
:usesConnection rdf:type owl:ObjectProperty ;
                rdfs:domain :NetworkParticipant ;
                rdfs:range :NetworkConnection ;
                rdfs:comment "Relates a network participant (MQTT Client or MQTT Broker) to a network connection it uses."@en ;
                rdfs:label "uses connection"@en .


#################################################################
#    Data properties
#################################################################

###  https://www.w3.org/2019/wot/mqtt#hasDUPFlag
<https://www.w3.org/2019/wot/mqtt#hasDUPFlag> rdf:type owl:DatatypeProperty ;
                                              owl:equivalentProperty :hasDUPFlag .


###  https://www.w3.org/2019/wot/mqtt#hasRetainFlag
<https://www.w3.org/2019/wot/mqtt#hasRetainFlag> rdf:type owl:DatatypeProperty ;
                                                 owl:equivalentProperty :hasRetainFlag .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasAssignedClientIdentifier
:hasAssignedClientIdentifier rdf:type owl:DatatypeProperty ;
                             rdfs:subPropertyOf :hasProperty ;
                             rdf:type owl:FunctionalProperty ;
                             rdfs:domain :ConnackProperties ;
                             rdfs:range xsd:string ;
                             rdfs:comment "Assigned Client Identifier Property. UTF-8 string assigned by the Server when the Client did not provide one."@en ;
                             rdfs:label "has Assigned Client Identifier"@en ;
                             <http://www.w3.org/2004/02/skos/core#example> "If the Client connects using a zero length Client Identifier, the Server MUST respond with a CONNACK containing an Assigned Client Identifier. The Assigned Client Identifier MUST be a new Client Identifier not used by any other Session currently in the Server."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasAuthReasonCode
:hasAuthReasonCode rdf:type owl:DatatypeProperty ;
                   rdfs:subPropertyOf :hasVariableHeaderReasonCode ;
                   rdfs:domain :AuthVariableHeader ;
                   rdfs:range [ rdf:type rdfs:Datatype ;
                                owl:unionOf ( xsd:hexBinary
                                              xsd:string
                                              xsd:unsignedByte
                                            )
                              ] ;
                   rdfs:comment "AUTH Reason Code. One-byte value indicating enhanced-auth result or continuation status."@en ;
                   rdfs:label "has Auth Reason Code"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasAuthentificationData
:hasAuthentificationData rdf:type owl:DatatypeProperty ;
                         rdfs:subPropertyOf :hasProperty ;
                         rdfs:domain [ rdf:type owl:Class ;
                                       owl:unionOf ( :AuthProperties
                                                     :ConnackProperties
                                                     :ConnectProperties
                                                   )
                                     ] ;
                         rdfs:range [ rdf:type rdfs:Datatype ;
                                      owl:unionOf ( xsd:base64Binary
                                                    xsd:hexBinary
                                                  )
                                    ] ;
                         rdfs:label "has Authentification Data"@en ;
                         <http://www.w3.org/2004/02/skos/core#example> "Authentication Data Property. Binary Data for enhanced authentication."@en ;
                         <http://www.w3.org/2004/02/skos/core#note> "The contents of this data are defined by the authentication method."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasAuthentificationMethod
:hasAuthentificationMethod rdf:type owl:DatatypeProperty ;
                           rdfs:subPropertyOf :hasProperty ;
                           rdfs:domain [ rdf:type owl:Class ;
                                         owl:unionOf ( :AuthProperties
                                                       :ConnackProperties
                                                       :ConnectProperties
                                                     )
                                       ] ;
                           rdfs:range xsd:string ;
                           rdfs:comment "Authentication Method Property. UTF-8 string naming the enhanced-auth method."@en ;
                           rdfs:label "has Authentification Method"@en ;
                           <http://www.w3.org/2004/02/skos/core#example> "ollowed by a UTF-8 Encoded String containing the name of the authentication method. It is a Protocol Error to omit the Authentication Method or to include it more than once."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasCleanStart
:hasCleanStart rdf:type owl:DatatypeProperty ;
               rdfs:subPropertyOf :hasConnectFlag ;
               rdf:type owl:FunctionalProperty ;
               rdfs:domain :ConnectVariableHeader ;
               rdfs:range xsd:boolean ;
               rdfs:comment "Clean Start flag in CONNECT Flags. 1 requests a new Session; 0 continues an existing Session if present."@en ;
               rdfs:label "has Clean Start"@en ;
               <http://www.w3.org/2004/02/skos/core#example> "If a CONNECT packet is received with Clean Start is set to 1, the Client and Server MUST discard any existing Session and start a new Session."@en ,
                                                             "If a CONNECT packet is received with Clean Start set to 0 and there is a Session associated with the Client Identifier, the Server MUST resume communications with the Client based on state from the existing Session."@en ,
                                                             "If a CONNECT packet is received with Clean Start set to 0 and there is no Session associated with the Client Identifier, the Server MUST create a new Session."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasClientID
:hasClientID rdf:type owl:DatatypeProperty ,
                      owl:FunctionalProperty ;
             rdfs:domain :Client ;
             rdfs:range xsd:string ;
             rdfs:comment "The MQTT Client identifier used when connecting to an MQTT Broker."@en ;
             rdfs:label "MQTT Client identifier"@en ;
             <http://www.w3.org/2004/02/skos/core#example> "The ClientID MUST be a UTF-8 Encoded String."@en ,
                                                           "The ClientID MUST be used by Clients and by Servers to identify state that they hold relating to this MQTT Session between the Client and the Server."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasConnackFlag
:hasConnackFlag rdf:type owl:DatatypeProperty ,
                         owl:FunctionalProperty ;
                rdfs:domain :ConnackVariableHeader ;
                rdfs:range xsd:boolean ;
                rdfs:comment "CONNACK Acknowledge Flags byte. In MQTT 5.0 only Session Present (bit 0) is used; other bits are reserved."@en ;
                rdfs:label "has Connack Flag"@en ;
                <http://www.w3.org/2004/02/skos/core#example> "Byte 1 is the \"Connect Acknowledge Flags\". Bits 7-1 are reserved and MUST be set to 0."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasConnackReasonCode
:hasConnackReasonCode rdf:type owl:DatatypeProperty ;
                      rdfs:subPropertyOf :hasVariableHeaderReasonCode ;
                      rdfs:domain :ConnackVariableHeader ;
                      rdfs:range [ rdf:type rdfs:Datatype ;
                                   owl:unionOf ( xsd:hexBinary
                                                 xsd:string
                                                 xsd:unsignedByte
                                               )
                                 ] ;
                      rdfs:comment "CONNACK Reason Code. One-byte value indicating the result of a CONNECT request."@en ;
                      rdfs:label "has Connack Reason Code"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasConnectFlag
:hasConnectFlag rdf:type owl:DatatypeProperty ;
                rdfs:domain :ConnectVariableHeader ;
                rdfs:range xsd:unsignedByte ;
                rdfs:comment "CONNECT Flags byte encoding User Name/Password/Will/Clean Start fields; reserved bit MUST be 0."@en ;
                rdfs:label "has Connect Flags"@en ;
                <http://www.w3.org/2004/02/skos/core#example> "Bit 0 = Reserved; Bit 1 = Clean Start; Bit 2 = Will Flag; Bit 3 und 4 = Will QoS; Bit 5 = Will Retain; Bit 6 = Password Flag; Bit 7 = User Name Flag."@en ,
                                                              "The Server MUST validate that the reserved flag in the CONNECT packet is set to 0."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasContentType
:hasContentType rdf:type owl:DatatypeProperty ;
                rdfs:subPropertyOf :hasProperty ,
                                   :hasWillProperty ;
                rdf:type owl:FunctionalProperty ;
                rdfs:domain [ rdf:type owl:Class ;
                              owl:unionOf ( :PublishProperties
                                            :WillProperties
                                          )
                            ] ;
                rdfs:range xsd:string ;
                rdfs:comment "Application Message content type"@en ;
                rdfs:label "has Content Type"@en ;
                <http://www.w3.org/2004/02/skos/core#example> "3 (0x03) Byte, Identifier of the Content Type. Followed by a UTF-8 Encoded String describing the content of the Will Message. It is a Protocol Error to include the Content Type more than once. The value of the Content Type is defined by the sending and receiving application."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasControlPacketType
:hasControlPacketType rdf:type owl:DatatypeProperty ,
                               owl:FunctionalProperty ;
                      rdfs:domain :FixedHeader ;
                      rdfs:range [ rdf:type rdfs:Datatype ;
                                   owl:unionOf ( xsd:string
                                                 xsd:unsignedShort
                                               )
                                 ] ;
                      rdfs:comment "4 bits Control Packet Type or literal of the MQTT Fixed Header, indicating the type of MQTT Control Packet (e.g., CONNECT, PUBLISH, SUBSCRIBE)."@en ;
                      rdfs:label "MQTT Control Packet Type"@en ;
                      <http://www.w3.org/2004/02/skos/core#example> """Reserved (0): Forbidden — Reserved
CONNECT (1): Client to Server — Connection request
CONNACK (2): Server to Client — Connect acknowledgment
PUBLISH (3): Client to Server or Server to Client — Publish message
PUBACK (4): Client to Server or Server to Client — Publish acknowledgment (QoS 1)
PUBREC (5): Client to Server or Server to Client — Publish received (QoS 2 delivery part 1)
PUBREL (6): Client to Server or Server to Client — Publish release (QoS 2 delivery part 2)
PUBCOMP (7): Client to Server or Server to Client — Publish complete (QoS 2 delivery part 3)
SUBSCRIBE (8): Client to Server — Subscribe request
SUBACK (9): Server to Client — Subscribe acknowledgment
UNSUBSCRIBE (10): Client to Server — Unsubscribe request
UNSUBACK (11): Server to Client — Unsubscribe acknowledgment
PINGREQ (12): Client to Server — PING request
PINGRESP (13): Server to Client — PING response
DISCONNECT (14): Client to Server or Server to Client — Disconnect notification
AUTH (15): Client to Server or Server to Client — Authentication exchange"""@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasCorrelationData
:hasCorrelationData rdf:type owl:DatatypeProperty ;
                    rdfs:subPropertyOf :hasProperty ,
                                       :hasWillProperty ;
                    rdfs:domain [ rdf:type owl:Class ;
                                  owl:unionOf ( :PublishProperties
                                                :WillProperties
                                              )
                                ] ;
                    rdfs:range [ rdf:type rdfs:Datatype ;
                                 owl:unionOf ( xsd:base64Binary
                                               xsd:hexBinary
                                               xsd:string
                                             )
                               ] ;
                    rdfs:comment "Correlation Data Property. Binary Data used to correlate requests and responses."@en ;
                    rdfs:label "has Correlation Data"@en ;
                    <http://www.w3.org/2004/02/skos/core#example> "9 (0x09) Byte, Identifier of the Correlation Data. Followed by Binary Data. The Correlation Data is used by the sender of the Request Message to identify which request the Response Message refers to when it is received. It is a Protocol Error to include Correlation Data more than once. If the Correlation Data is not present, the requester does not require any correlation data."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasDUPFlag
:hasDUPFlag rdf:type owl:DatatypeProperty ;
            rdfs:subPropertyOf :hasFixedHeaderFlag ;
            rdfs:domain :PublishFixedHeader ;
            rdfs:range xsd:boolean ;
            rdfs:comment "True if this is a duplicate delivery of an earlier PUBLISH message."@en ;
            rdfs:label "DUP flag"@en ;
            <http://www.w3.org/2004/02/skos/core#example> "The DUP flag MUST be set to 0 for all QoS 0 messages."@en ,
                                                          "The DUP flag MUST be set to 1 by the Client or Server when it attempts to re-deliver a PUBLISH packet."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasDisconnectReasonCode
:hasDisconnectReasonCode rdf:type owl:DatatypeProperty ;
                         rdfs:subPropertyOf :hasVariableHeaderReasonCode ;
                         rdfs:domain :DisconnectVariableHeader ;
                         rdfs:range [ rdf:type rdfs:Datatype ;
                                      owl:unionOf ( xsd:hexBinary
                                                    xsd:string
                                                    xsd:unsignedByte
                                                  )
                                    ] ;
                         rdfs:comment "DISCONNECT Reason Code. One-byte value indicating the reason for disconnection."@en ;
                         rdfs:label "has Dissconnect Reason Code"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasFilterPattern
:hasFilterPattern rdf:type owl:DatatypeProperty ;
                  rdfs:domain :TopicFilter ;
                  rdfs:range xsd:string ;
                  rdfs:comment "The MQTT Topic Filter pattern as a string (e.g., 'sensor/+/temp' or 'fabrik/zentrierung/#')."@en ;
                  rdfs:label "MQTT Topic Filter pattern"@en ;
                  <http://www.w3.org/2004/02/skos/core#example> "An MQTT topic filter used in subscriptions to match topic names. A filter pattern may include the single-level wildcard '+' and the multi-level wildcard '#'."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasFixedHeaderFlag
:hasFixedHeaderFlag rdf:type owl:DatatypeProperty ;
                    rdfs:domain :PublishFixedHeader ;
                    rdfs:range xsd:unsignedByte ;
                    rdfs:comment "Fixed Header flags nibble (bits 3..0 of byte 1). Packet-type-specific reserved/required flag pattern in MQTT 5.0."@en ;
                    rdfs:label "FixedHeader flag"@en ;
                    <http://www.w3.org/2004/02/skos/core#example> "Where a flag bit is marked as “Reserved”, it is reserved for future use and MUST be set to the value listed."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasHostAddress
:hasHostAddress rdf:type owl:DatatypeProperty ,
                         owl:FunctionalProperty ;
                rdfs:domain :Broker ;
                rdfs:range xsd:string ;
                rdfs:comment "The hostname or IP address of an MQTT Broker."@en ;
                rdfs:label "MQTT Broker host"@en ;
                <http://www.w3.org/2004/02/skos/core#example> "Examples: localhost, 127.0.0.1, mqtt.example.com, 192.168.0.10"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasKeepAlive
:hasKeepAlive rdf:type owl:DatatypeProperty ,
                       owl:FunctionalProperty ;
              rdfs:domain :ConnectVariableHeader ;
              rdfs:range xsd:unsignedShort ;
              rdfs:comment "Keep Alive in CONNECT variable header. Two Byte Integer seconds defining maximum time between Client Control Packets."@en ;
              rdfs:label "has Keep Alive" ;
              <http://www.w3.org/2004/02/skos/core#example> "If Keep Alive is non-zero and in the absence of sending any other MQTT Control Packets, the Client MUST send a PINGREQ packet."@en ,
                                                            "If the Keep Alive value is non-zero and the Server does not receive an MQTT Control Packet from the Client within one and a half times the Keep Alive time period, it MUST close the Network Connection to the Client as if the network had failed."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasMaximumPacketSize
:hasMaximumPacketSize rdf:type owl:DatatypeProperty ;
                      rdfs:subPropertyOf :hasProperty ;
                      rdfs:domain [ rdf:type owl:Class ;
                                    owl:unionOf ( :ConnackProperties
                                                  :ConnectProperties
                                                )
                                  ] ;
                      rdfs:range xsd:unsignedInt ;
                      rdfs:comment "Maximum Packet Size Property. Four Byte Integer (non-zero) limiting maximum MQTT packet size accepted."@en ;
                      rdfs:label "has Maximum Packet Size"@en ;
                      <http://www.w3.org/2004/02/skos/core#example> "39 (0x27) Byte, Identifier of the Maximum Packet Size. Followed by a Four Byte Integer representing the Maximum Packet Size the Client is willing to accept. If the Maximum Packet Size is not present, no limit on the packet size is imposed beyond the limitations in the protocol as a result of the remaining length encoding and the protocol header sizes."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasMaximumQoS
:hasMaximumQoS rdf:type owl:DatatypeProperty ;
               rdfs:subPropertyOf :hasProperty ;
               rdf:type owl:FunctionalProperty ;
               rdfs:domain :ConnackProperties ;
               rdfs:range xsd:unsignedByte ;
               rdfs:comment "Maximum QoS Property. Byte specifying the highest QoS level supported by the Server."@en ;
               rdfs:label "has Maximum QoS"@en ;
               <http://www.w3.org/2004/02/skos/core#example> "A Server that does not support QoS 1 or QoS 2 PUBLISH packets MUST still accept SUBSCRIBE packets containing a Requested QoS of 0, 1 or 2."@en ,
                                                             "If a Client receives a Maximum QoS from a Server, it MUST NOT send PUBLISH packets at a QoS level exceeding the Maximum QoS level specified."@en ,
                                                             "If a Server does not support QoS 1 or QoS 2 PUBLISH packets it MUST send a Maximum QoS in the CONNACK packet specifying the highest QoS it supports."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasMessageContent
:hasMessageContent rdf:type owl:DatatypeProperty ;
                   rdfs:domain :ApplicationMessage ;
                   rdfs:range xsd:string ;
                   rdfs:comment "Application message content carried by PUBLISH. Conceptual higher-level view of the PUBLISH payload."@en ;
                   rdfs:label "has Application Message content"@en ;
                   <http://www.w3.org/2004/02/skos/core#example> """Example message content:
- container field: data
- encoding: UTF-8
- content type: text/csv
- delimiter: ;
- fields: RFID; JobStart; JobEnd; Correction_X; Correction_Y; Correction_Z; Sensor; Actuator

Example value:
RFID;JobStart;JobEnd;Correction_X;Correction_Y;Correction_Z;Sensor;Actuator
RFID_87A3F1;2025-12-03T09:15:02.120Z;2025-12-03T09:15:02.520Z;-0.44;-0.15;+0.10;Sensor1;Actuator1"""@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasMessageContentDelimiter
:hasMessageContentDelimiter rdf:type owl:DatatypeProperty ,
                                     owl:FunctionalProperty ;
                            rdfs:domain :ApplicationMessage ;
                            rdfs:range xsd:string ;
                            rdfs:comment "The delimiter used to separate fields in the Application Message content."@en ;
                            rdfs:label "Application Message content delimiter"@en ;
                            <http://www.w3.org/2004/02/skos/core#example> ";"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasMessageContentType
:hasMessageContentType rdf:type owl:DatatypeProperty ;
                       rdfs:subPropertyOf owl:topDataProperty ;
                       rdfs:domain :ApplicationMessage ;
                       rdfs:range xsd:string ;
                       rdfs:comment "The MIME type of the Application Message content (e.g., 'application/json')."@en ;
                       rdfs:label "has Message Content Type"@en ;
                       <http://www.w3.org/2004/02/skos/core#example> "The Content Type MUST be a UTF-8 Encoded String."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasMessageEncoding
:hasMessageEncoding rdf:type owl:DatatypeProperty ,
                             owl:FunctionalProperty ;
                    rdfs:domain :ApplicationMessage ;
                    rdfs:range xsd:string ;
                    rdfs:comment "The character encoding or serialization used for the Application Message (e.g., 'UTF-8', 'Base64')."@en ;
                    rdfs:label "Application Message encoding"@en ;
                    <http://www.w3.org/2004/02/skos/core#example> "A UTF-8 Encoded String MUST NOT include an encoding of the null character U+0000."@en ,
                                                                  "The character data in a UTF-8 Encoded String MUST be well-formed UTF-8 as defined by the Unicode specification [Unicode] and restated in RFC 3629 [RFC3629]. In particular, the character data MUST NOT include encodings of code points between U+D800 and U+DFFF."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasMessageExpiryInterval
:hasMessageExpiryInterval rdf:type owl:DatatypeProperty ;
                          rdfs:subPropertyOf :hasProperty ,
                                             :hasWillProperty ;
                          rdfs:domain [ rdf:type owl:Class ;
                                        owl:unionOf ( :PublishProperties
                                                      :WillProperties
                                                    )
                                      ] ;
                          rdfs:range xsd:unsignedInt ;
                          rdfs:comment "Message Expiry Interval Property. Four Byte Integer seconds defining PUBLISH message lifetime."@en ;
                          rdfs:label "has Message Expiry Interval"@en ;
                          <http://www.w3.org/2004/02/skos/core#example> "2 (0x02) Byte, Identifier of the Message Expiry Interval. Followed by the Four Byte Integer representing the Message Expiry Interval in seconds. If present, the Four Byte value is the lifetime of the Application Message in seconds. If absent, the Application Message does not expire."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasNoLocal
:hasNoLocal rdf:type owl:DatatypeProperty ;
            rdfs:subPropertyOf :hasSubscriptionOption ;
            rdfs:domain :SubscriptionEntry ;
            rdfs:range xsd:boolean ;
            rdfs:comment "Bit 2 of the Subscription Options represents the No Local option."@en ,
                         "No Local subscription option. If 1, the Server MUST NOT forward messages published by this Client back to it."@en ;
            rdfs:label "has No Local"@en ;
            <http://www.w3.org/2004/02/skos/core#example> "If the value is 1, Application Messages MUST NOT be forwarded to a connection with a ClientID equal to the ClientID of the publishing connection."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasPacketIdentifier
:hasPacketIdentifier rdf:type owl:DatatypeProperty ,
                              owl:FunctionalProperty ;
                     rdfs:domain [ rdf:type owl:Class ;
                                   owl:unionOf ( :PubackVariableHeader
                                                 :PubcompVariableHeader
                                                 :PublishVariableHeader
                                                 :PubrecVariableHeader
                                                 :PubrelVariableHeader
                                                 :SubackVariableHeader
                                                 :SubscribeVariableHeader
                                                 :UnsubackVariableHeader
                                                 :UnsubscribeVariableHeader
                                               )
                                 ] ;
                     rdfs:range xsd:unsignedShort ;
                     rdfs:comment "A 16-bit identifier used to correlate MQTT messages when QoS > 0."@en ;
                     rdfs:label "packet identifier"@en ;
                     <http://www.w3.org/2004/02/skos/core#example> "A PUBLISH packet MUST NOT contain a Packet Identifier if its QoS value is set to 0."@en ,
                                                                   "Each time a Client sends a new SUBSCRIBE, UNSUBSCRIBE,or PUBLISH (where QoS > 0) MQTT Control Packet it MUST assign it a non-zero Packet Identifier that is currently unused."@en ,
                                                                   "Each time a Server sends a new PUBLISH (with QoS > 0) MQTT Control Packet it MUST assign it a non zero Packet Identifier that is currently unused."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasPassword
:hasPassword rdf:type owl:DatatypeProperty ;
             rdfs:domain :ConnectPayload ;
             rdfs:range [ rdf:type rdfs:Datatype ;
                          owl:unionOf ( xsd:base64Binary
                                        xsd:hexBinary
                                        xsd:string
                                      )
                        ] ;
             rdfs:comment "Password field in CONNECT payload. Binary Data present only if Password Flag=1."@en ;
             rdfs:label "has Password"@en ;
             <http://www.w3.org/2004/02/skos/core#example> "If the Password Flag is set to 0, a Password MUST NOT be present in the Payload."@en ,
                                                           "If the Password Flag is set to 1, a Password MUST be present in the Payload."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasPasswordFlag
:hasPasswordFlag rdf:type owl:DatatypeProperty ;
                 rdfs:subPropertyOf :hasConnectFlag ;
                 rdf:type owl:FunctionalProperty ;
                 rdfs:domain :ConnectVariableHeader ;
                 rdfs:range xsd:boolean ;
                 rdfs:comment "Password Flag in CONNECT Flags. If 1, a Password field is present in the CONNECT payload."@en ;
                 rdfs:label "has Password Flag"@en ;
                 <http://www.w3.org/2004/02/skos/core#example> "If the Password Flag is set to 0, a Password MUST NOT be present in the Payload."@en ,
                                                               "If the Password Flag is set to 1, a Password MUST be present in the Payload."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasPayloadContent
:hasPayloadContent rdf:type owl:DatatypeProperty ,
                            owl:FunctionalProperty ;
                   rdfs:domain :PublishPayload ;
                   rdfs:range [ rdf:type rdfs:Datatype ;
                                owl:unionOf ( xsd:base64Binary
                                              xsd:hexBinary
                                              xsd:string
                                            )
                              ] ;
                   rdfs:comment "Application Message Payload content (Binary Data; UTF-8 text if Payload Format Indicator=1)."@en ;
                   rdfs:label "has Payload content"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasPayloadFormatIndicator
:hasPayloadFormatIndicator rdf:type owl:DatatypeProperty ;
                           rdfs:subPropertyOf :hasProperty ,
                                              :hasWillProperty ;
                           rdfs:domain [ rdf:type owl:Class ;
                                         owl:unionOf ( :PublishProperties
                                                       :WillProperties
                                                     )
                                       ] ;
                           rdfs:range xsd:boolean ;
                           rdfs:comment "Payload Format Indicator Property. Byte 0/1; 1 means payload is UTF-8 encoded text, 0 means unspecified binary."@en ;
                           rdfs:label "has Payload Format Indicator"@en ;
                           <http://www.w3.org/2004/02/skos/core#example> "A Server MUST send the Payload Format Indicator unaltered to all subscribers receiving the Application Message."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasPayloadReasonCode
:hasPayloadReasonCode rdf:type owl:DatatypeProperty ;
                      rdfs:subPropertyOf :hasReasonCode ;
                      rdf:type owl:FunctionalProperty ;
                      rdfs:domain [ rdf:type owl:Class ;
                                    owl:unionOf ( :SubackPayload
                                                  :UnsubackPayload
                                                )
                                  ] ;
                      rdfs:range [ rdf:type rdfs:Datatype ;
                                   owl:unionOf ( xsd:hexBinary
                                                 xsd:string
                                                 xsd:unsignedByte
                                               )
                                 ] ;
                      rdfs:comment "Reason Code carried in a packet payload when defined by MQTT 5.0 (one-byte reason value)."@en ;
                      rdfs:label "MQTT Reason Code in Payload"@en ;
                      <http://www.w3.org/2004/02/skos/core#example> """MQTT 5 Reason Codes

0 / 0x00: Success — CONNACK, PUBACK, PUBREC, PUBREL, PUBCOMP, UNSUBACK, AUTH
0 / 0x00: Normal disconnection — DISCONNECT
0 / 0x00: Granted QoS 0 — SUBACK
1 / 0x01: Granted QoS 1 — SUBACK
2 / 0x02: Granted QoS 2 — SUBACK
4 / 0x04: Disconnect with Will Message — DISCONNECT
16 / 0x10: No matching subscribers — PUBACK, PUBREC
17 / 0x11: No subscription existed — UNSUBACK
24 / 0x18: Continue authentication — AUTH
25 / 0x19: Re-authenticate — AUTH
128 / 0x80: Unspecified error — CONNACK, PUBACK, PUBREC, SUBACK, UNSUBACK, DISCONNECT
129 / 0x81: Malformed Packet — CONNACK, DISCONNECT
130 / 0x82: Protocol Error — CONNACK, DISCONNECT
131 / 0x83: Implementation specific error — CONNACK, PUBACK, PUBREC, SUBACK, UNSUBACK, DISCONNECT
132 / 0x84: Unsupported Protocol Version — CONNACK
133 / 0x85: Client Identifier not valid — CONNACK
134 / 0x86: Bad User Name or Password — CONNACK
135 / 0x87: Not authorized — CONNACK, PUBACK, PUBREC, SUBACK, UNSUBACK, DISCONNECT
136 / 0x88: Server unavailable — CONNACK
137 / 0x89: Server busy — CONNACK, DISCONNECT
138 / 0x8A: Banned — CONNACK
139 / 0x8B: Server shutting down — DISCONNECT
140 / 0x8C: Bad authentication method — CONNACK, DISCONNECT
141 / 0x8D: Keep Alive timeout — DISCONNECT
142 / 0x8E: Session taken over — DISCONNECT
143 / 0x8F: Topic Filter invalid — SUBACK, UNSUBACK, DISCONNECT
144 / 0x90: Topic Name invalid — CONNACK, PUBACK, PUBREC, DISCONNECT
145 / 0x91: Packet Identifier in use — PUBACK, PUBREC, SUBACK, UNSUBACK
146 / 0x92: Packet Identifier not found — PUBREL, PUBCOMP
147 / 0x93: Receive Maximum exceeded — DISCONNECT
148 / 0x94: Topic Alias invalid — DISCONNECT
149 / 0x95: Packet too large — CONNACK, DISCONNECT
150 / 0x96: Message rate too high — DISCONNECT
151 / 0x97: Quota exceeded — CONNACK, PUBACK, PUBREC, SUBACK, DISCONNECT
152 / 0x98: Administrative action — DISCONNECT
153 / 0x99: Payload format invalid — CONNACK, PUBACK, PUBREC, DISCONNECT
154 / 0x9A: Retain not supported — CONNACK, DISCONNECT
155 / 0x9B: QoS not supported — CONNACK, DISCONNECT
156 / 0x9C: Use another server — CONNACK, DISCONNECT
157 / 0x9D: Server moved — CONNACK, DISCONNECT
158 / 0x9E: Shared Subscriptions not supported — SUBACK, DISCONNECT
159 / 0x9F: Connection rate exceeded — CONNACK, DISCONNECT
160 / 0xA0: Maximum connect time — DISCONNECT
161 / 0xA1: Subscription Identifiers not supported — SUBACK, DISCONNECT
162 / 0xA2: Wildcard Subscriptions not supported — SUBACK, DISCONNECT"""@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasPortNumber
:hasPortNumber rdf:type owl:DatatypeProperty ,
                        owl:FunctionalProperty ;
               rdfs:domain :Broker ;
               rdfs:range xsd:unsignedShort ;
               rdfs:comment "The TCP port on which an MQTT Broker listens."@en ;
               rdfs:label "MQTT Broker port"@en ;
               <http://www.w3.org/2004/02/skos/core#example> "TCP ports 8883 and 1883 are registered with IANA for MQTT TLS and non-TLS communication respectively."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasProperty
:hasProperty rdf:type owl:DatatypeProperty ;
             rdfs:domain :Properties ;
             rdfs:range [ rdf:type rdfs:Datatype ;
                          owl:unionOf ( xsd:hexBinary
                                        xsd:string
                                        xsd:unsignedByte
                                      )
                        ] ;
             rdfs:comment "Property identifier or property carrier for MQTT 5.0. Each Property begins with a one-byte Identifier followed by a typed value."@en ;
             rdfs:label "has MQTT Property"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasPropertyLength
:hasPropertyLength rdf:type owl:DatatypeProperty ;
                   rdfs:domain [ rdf:type owl:Class ;
                                 owl:unionOf ( :Properties
                                               :WillProperties
                                             )
                               ] ;
                   rdfs:range xsd:nonNegativeInteger ;
                   rdfs:comment "Property Length field preceding a Properties collection. Variable Byte Integer giving total length in bytes of following properties."@en ,
                                "The Property Length is encoded as a Variable Byte Integer. The Property Length does not include the bytes used to encode itself, but includes the length of the Properties. If there are no properties, this MUST be indicated by including a Property Length of zero."@en ;
                   rdfs:label "has MQTT Property Length"@en ;
                   <http://www.w3.org/2004/02/skos/core#example> "The length of Properties in the DISCONNECT packet Variable Header encoded as a Variable Byte Integer. If the Remaining Length is less than 2, a value of 0 is used."@en ,
                                                                 "The length of the Properties in the PUBACK packet Variable Header encoded as a Variable Byte Integer. If the Remaining Length is less than 4 there is no Property Length and the value of 0 is used."@en ,
                                                                 "The length of the Properties in the UNSUBACK packet Variable Header encoded as a Variable Byte Integer."@en ,
                                                                 "The length of the Properties in the Will Properties encoded as a Variable Byte Integer."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasProtocolName
:hasProtocolName rdf:type owl:DatatypeProperty ,
                          owl:FunctionalProperty ;
                 rdfs:domain :ConnectVariableHeader ;
                 rdfs:range xsd:string ;
                 rdfs:comment "Protocol Name in CONNECT. UTF-8 string that MUST equal 'MQTT' for MQTT 5.0."@en ;
                 rdfs:label "has Protocol Name"@en ;
                 <http://www.w3.org/2004/02/skos/core#example> "The protocol name MUST be the UTF-8 String \"MQTT\". If the Server does not want to accept the CONNECT, and wishes to reveal that it is an MQTT Server it MAY send a CONNACK packet with Reason Code of 0x84 (Unsupported Protocol Version), and then it MUST close the Network Connection."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasProtocolVersion
:hasProtocolVersion rdf:type owl:DatatypeProperty ,
                             owl:FunctionalProperty ;
                    rdfs:domain :ConnectVariableHeader ;
                    rdfs:range xsd:unsignedByte ;
                    rdfs:comment "Protocol Version in CONNECT. One-byte value that MUST be 5 for MQTT 5.0."@en ;
                    rdfs:label "has Protocol Version"@en ;
                    <http://www.w3.org/2004/02/skos/core#example> "If the Protocol Version is not 5 and the Server does not want to accept the CONNECT packet, the Server MAY send a CONNACK packet with Reason Code 0x84 (Unsupported Protocol Version) and then MUST close the Network Connection."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasPubackReasonCode
:hasPubackReasonCode rdf:type owl:DatatypeProperty ;
                     rdfs:subPropertyOf :hasVariableHeaderReasonCode ;
                     rdfs:domain :PubackVariableHeader ;
                     rdfs:range [ rdf:type rdfs:Datatype ;
                                  owl:unionOf ( xsd:hexBinary
                                                xsd:string
                                                xsd:unsignedByte
                                              )
                                ] ;
                     rdfs:comment "PUBACK Reason Code. One-byte value indicating result of QoS 1 PUBLISH processing."@en ;
                     rdfs:label "has Puback  Reason Code"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasPubcompReasonCode
:hasPubcompReasonCode rdf:type owl:DatatypeProperty ;
                      rdfs:subPropertyOf :hasVariableHeaderReasonCode ;
                      rdfs:domain :PubcompVariableHeader ;
                      rdfs:range [ rdf:type rdfs:Datatype ;
                                   owl:unionOf ( xsd:hexBinary
                                                 xsd:string
                                                 xsd:unsignedByte
                                               )
                                 ] ;
                      rdfs:comment "PUBCOMP Reason Code. One-byte value indicating completion of the QoS 2 flow."@en ;
                      rdfs:label "has Pubcomp Reason Code"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasPubrecReasonCode
:hasPubrecReasonCode rdf:type owl:DatatypeProperty ;
                     rdfs:subPropertyOf :hasVariableHeaderReasonCode ;
                     rdfs:domain :PubrecVariableHeader ;
                     rdfs:range [ rdf:type rdfs:Datatype ;
                                  owl:unionOf ( xsd:hexBinary
                                                xsd:string
                                                xsd:unsignedByte
                                              )
                                ] ;
                     rdfs:comment "PUBREC Reason Code. One-byte value indicating result of QoS 2 PUBLISH receipt stage."@en ;
                     rdfs:label "has Pubrec Reason Code"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasPubrelReasonCode
:hasPubrelReasonCode rdf:type owl:DatatypeProperty ;
                     rdfs:subPropertyOf :hasVariableHeaderReasonCode ;
                     rdfs:domain :PubrelVariableHeader ;
                     rdfs:range [ rdf:type rdfs:Datatype ;
                                  owl:unionOf ( xsd:hexBinary
                                                xsd:string
                                                xsd:unsignedByte
                                              )
                                ] ;
                     rdfs:comment "PUBREL Reason Code. One-byte value indicating result of QoS 2 release stage."@en ;
                     rdfs:label "has Pubrel Reason Code"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasQoSLevel
:hasQoSLevel rdf:type owl:DatatypeProperty ;
             rdfs:subPropertyOf :hasFixedHeaderFlag ,
                                :hasSubscriptionOption ;
             rdf:type owl:FunctionalProperty ;
             rdfs:domain [ rdf:type owl:Class ;
                           owl:unionOf ( :PublishFixedHeader
                                         :SubscriptionEntry
                                       )
                         ] ;
             rdfs:range [ rdf:type rdfs:Datatype ;
                          owl:onDatatype xsd:integer ;
                          owl:withRestrictions ( [ xsd:minInclusive 0
                                                 ]
                                                 [ xsd:maxInclusive 2
                                                 ]
                                               )
                        ] ;
             rdfs:comment "Not mapped to mqv:hasQoSFlag because MQV models QoS as an object property, while mqtt:hasQosLevel is a datatype property."@en ,
                          "The MQTT Quality of Service level (0 = at most once, 1 = at least once, 2 = exactly once)."@en ;
             rdfs:label "QoS level"@en ;
             <http://www.w3.org/2004/02/skos/core#example> """MQTT QoS levels:
0 — At most once
1 — At least once
2 — Exactly once"""@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasReasonCode
:hasReasonCode rdf:type owl:DatatypeProperty ,
                        owl:FunctionalProperty ;
               rdfs:domain [ rdf:type owl:Class ;
                             owl:unionOf ( :AuthVariableHeader
                                           :ConnackVariableHeader
                                           :DisconnectVariableHeader
                                           :PubackVariableHeader
                                           :PubcompVariableHeader
                                           :PubrecVariableHeader
                                           :PubrelVariableHeader
                                           :SubackPayload
                                           :UnsubackPayload
                                         )
                           ] ;
               rdfs:range [ rdf:type rdfs:Datatype ;
                            owl:unionOf ( xsd:hexBinary
                                          xsd:string
                                          xsd:unsignedByte
                                        )
                          ] ;
               rdfs:comment "\"The CONNACK, PUBACK, PUBREC, PUBREL, PUBCOMP, DISCONNECT and AUTH Control Packets have a single Reason Code as part of the Variable Header. The SUBACK and UNSUBACK packets contain a list of one or more Reason Codes in the Payload."@en ,
                            "A Reason Code is a one byte unsigned value that indicates the result of an operation. Reason Codes less than 0x80 indicate successful completion of an operation. The normal Reason Code for success is 0. Reason Code values of 0x80 or greater indicate failure."@en ,
                            "Generic MQTT Reason Code. One-byte value indicating success or the reason for failure in many packet types."@en ;
               rdfs:label "MQTT ReasonCode"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasReasonString
:hasReasonString rdf:type owl:DatatypeProperty ;
                 rdfs:subPropertyOf :hasProperty ;
                 rdfs:domain [ rdf:type owl:Class ;
                               owl:unionOf ( :AuthProperties
                                             :ConnackProperties
                                             :DisconnectProperties
                                             :PubackProperties
                                             :PubcompProperties
                                             :PubrecProperties
                                             :PubrelProperties
                                             :SubackProperties
                                             :UnsubackProperties
                                           )
                             ] ;
                 rdfs:range xsd:string ;
                 rdfs:comment "Reason String Property. UTF-8 string providing human-readable diagnostics for a Reason Code."@en ;
                 rdfs:label "has Reason String"@en ;
                 <http://www.w3.org/2004/02/skos/core#example> "The sender MUST NOT send this property if it would increase the size of the PUBACK packet beyond the Maximum Packet Size specified by the receiver."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasReceiveMaximum
:hasReceiveMaximum rdf:type owl:DatatypeProperty ;
                   rdfs:subPropertyOf :hasProperty ;
                   rdfs:domain [ rdf:type owl:Class ;
                                 owl:unionOf ( :ConnackProperties
                                               :ConnectProperties
                                             )
                               ] ;
                   rdfs:range xsd:unsignedShort ;
                   rdfs:comment "Receive Maximum Property. Two Byte Integer (non-zero) limiting concurrent QoS 1/2 PUBLISH in-flight."@en ;
                   rdfs:label "has Receive Maximum"@en ;
                   <http://www.w3.org/2004/02/skos/core#example> "33 (0x21) Byte, Identifier of the Receive Maximum. Followed by the Two Byte Integer representing the Receive Maximum value. It is a Protocol Error to include the Receive Maximum value more than once or for it to have the value 0."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasRemainingLength
:hasRemainingLength rdf:type owl:DatatypeProperty ;
                    rdfs:domain :FixedHeader ;
                    rdfs:range xsd:byte ;
                    rdfs:comment "The Remaining Length is a Variable Byte Integer that represents the number of bytes remaining within the current Control Packet, including data in the Variable Header and the Payload. The Remaining Length does not include the bytes used to encode the Remaining Length. The packet size is the total number of bytes in an MQTT Control Packet, this is equal to the length of the Fixed Header plus the Remaining Length."@en ,
                                 "This is the length of the Variable Header (plus the length of the Payload), encoded as a Variable Byte Integer."@en ;
                    rdfs:label "Remaining Length of MQTT Control Packet "@en ;
                    <http://www.w3.org/2004/02/skos/core#example> "PUBACK: This is the length of the Variable Header, encoded as a Variable Byte Integer."@en ,
                                                                  "PUBLISH: This is the length of Variable Header plus the length of the Payload, encoded as a Variable Byte Integer."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasRequestProblemInformation
:hasRequestProblemInformation rdf:type owl:DatatypeProperty ;
                              rdfs:subPropertyOf :hasProperty ;
                              rdf:type owl:FunctionalProperty ;
                              rdfs:domain :ConnectProperties ;
                              rdfs:range xsd:boolean ;
                              rdfs:comment "Request Problem Information Property in CONNECT. Byte 0/1 indicating whether the Server should include Reason String/User Properties on errors."@en ;
                              rdfs:label "has Request Problem Information"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasRequestResponseInformation
:hasRequestResponseInformation rdf:type owl:DatatypeProperty ;
                               rdfs:subPropertyOf :hasProperty ;
                               rdf:type owl:FunctionalProperty ;
                               rdfs:domain :ConnectProperties ;
                               rdfs:range xsd:boolean ;
                               rdfs:comment "Request Response Information Property in CONNECT. Byte 0/1 indicating whether the Server should return Response Information in CONNACK."@en ;
                               rdfs:label "has Request Response Information"@en ;
                               <http://www.w3.org/2004/02/skos/core#example> "A value of 0 indicates that the Server MUST NOT return Response Information."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasResponseInformation
:hasResponseInformation rdf:type owl:DatatypeProperty ;
                        rdfs:subPropertyOf :hasProperty ;
                        rdf:type owl:FunctionalProperty ;
                        rdfs:domain :ConnackProperties ;
                        rdfs:range xsd:string ;
                        rdfs:comment "Response Information Property. UTF-8 string providing response metadata for request/response patterns."@en ;
                        rdfs:label "has Response Information"@en ;
                        <http://www.w3.org/2004/02/skos/core#example> "25 (0x19) Byte, Identifier of the Request Response Information. Followed by a Byte with a value of either 0 or 1.  A value of 0 indicates that the Server MUST NOT return Response Information. If the value is 1 the Server MAY return Response Information in the CONNACK packet."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasRetainAsPublished
:hasRetainAsPublished rdf:type owl:DatatypeProperty ;
                      rdfs:subPropertyOf :hasSubscriptionOption ;
                      rdfs:domain :SubscriptionEntry ;
                      rdfs:range xsd:boolean ;
                      rdfs:comment "Retain As Published subscription option. If 1, forwarded messages keep the original RETAIN flag."@en ;
                      rdfs:label "has Retain As Published"@en ;
                      <http://www.w3.org/2004/02/skos/core#example> "If the value of Retain As Published subscription option is set to 0, the Server MUST set the RETAIN flag to 0 when forwarding an Application Message regardless of how the RETAIN flag was set in the received PUBLISH packet. If the value of Retain As Published subscription option is set to 1, the Server MUST set the RETAIN flag equal to the RETAIN flag in the received PUBLISH packet."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasRetainAvailable
:hasRetainAvailable rdf:type owl:DatatypeProperty ;
                    rdfs:subPropertyOf :hasProperty ;
                    rdf:type owl:FunctionalProperty ;
                    rdfs:domain :ConnackProperties ;
                    rdfs:range xsd:boolean ;
                    rdfs:comment "Retain Available Property in CONNACK. Byte 0/1 indicating whether retained messages are supported."@en ;
                    rdfs:label "has Retain Available"@en ;
                    <http://www.w3.org/2004/02/skos/core#example> "A Client receiving Retain Available set to 0 from the Server MUST NOT send a PUBLISH packet with the RETAIN flag set to 1."@en ,
                                                                  "If a Server receives a CONNECT packet containing a Will Message with the Will Retain set to 1, and it does not support retained messages, the Server MUST reject the connection request. It SHOULD send CONNACK with Reason Code 0x9A (Retain not supported) and then it MUST close the Network Connection."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasRetainFlag
:hasRetainFlag rdf:type owl:DatatypeProperty ;
               rdfs:subPropertyOf :hasFixedHeaderFlag ;
               rdfs:domain :PublishFixedHeader ;
               rdfs:range xsd:boolean ;
               rdfs:comment "True if the message should be retained on the MQTT Broker."@en ;
               rdfs:label "RETAIN flag"@en ;
               <http://www.w3.org/2004/02/skos/core#example> "If the RETAIN flag is 0 in a PUBLISH packet sent by a Client to a Server, the Server MUST NOT store the message as a retained message and MUST NOT remove or replace any existing retained message."@en ,
                                                             "If the RETAIN flag is set to 1 in a PUBLISH packet sent by a Client to a Server, the Server MUST replace any existing retained message for this topic and store the Application Message."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasRetainHandling
:hasRetainHandling rdf:type owl:DatatypeProperty ;
                   rdfs:subPropertyOf :hasSubscriptionOption ;
                   rdfs:domain :SubscriptionEntry ;
                   rdfs:range xsd:unsignedByte ;
                   rdfs:comment "Retain Handling subscription option. Two-bit field: 0=send retained, 1=send retained only if subscription new, 2=do not send retained."@en ;
                   rdfs:label "has Retain Handling"@en ;
                   <http://www.w3.org/2004/02/skos/core#example> "If Retain Handling is set to 0 the Server MUST send the retained messages matching the Topic Filter of the subscription to the Client."@en ,
                                                                 "If Retain Handling is set to 1 then if the subscription did not already exist, the Server MUST send all retained message matching the Topic Filter of the subscription to the Client, and if the subscription did exist the Server MUST NOT send the retained messages."@en ,
                                                                 "If Retain Handling is set to 2, the Server MUST NOT send the retained messages."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasServerKeepAlive
:hasServerKeepAlive rdf:type owl:DatatypeProperty ;
                    rdfs:subPropertyOf :hasProperty ;
                    rdf:type owl:FunctionalProperty ;
                    rdfs:domain :ConnackProperties ;
                    rdfs:range xsd:unsignedShort ;
                    rdfs:comment "Server Keep Alive Property in CONNACK. Two Byte Integer seconds overriding the Client Keep Alive for this connection."@en ;
                    rdfs:label "has Server Keep Alive"@en ;
                    <http://www.w3.org/2004/02/skos/core#example> "If the Server does not send the Server Keep Alive, the Server MUST use the Keep Alive value set by the Client on CONNECT."@en ,
                                                                  "If the Server sends a Server Keep Alive on the CONNACK packet, the Client MUST use this value instead of the Keep Alive value the Client sent on CONNECT."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasServerReference
:hasServerReference rdf:type owl:DatatypeProperty ;
                    rdfs:subPropertyOf :hasProperty ;
                    rdfs:domain [ rdf:type owl:Class ;
                                  owl:unionOf ( :ConnackProperties
                                                :DisconnectProperties
                                              )
                                ] ;
                    rdfs:range xsd:string ;
                    rdfs:comment "Server Reference Property. UTF-8 string suggesting an alternate Server the Client may use."@en ;
                    rdfs:label "has Server Reference"@en ;
                    <http://www.w3.org/2004/02/skos/core#example> "Followed by a UTF-8 Encoded String which can be used by the Client to identify another Server to use."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasSessionExpiryInterval
:hasSessionExpiryInterval rdf:type owl:DatatypeProperty ;
                          rdfs:subPropertyOf :hasProperty ;
                          rdfs:domain [ rdf:type owl:Class ;
                                        owl:unionOf ( :ConnackProperties
                                                      :ConnectProperties
                                                      :DisconnectProperties
                                                    )
                                      ] ;
                          rdfs:range xsd:unsignedInt ;
                          rdfs:comment "Session Expiry Interval Property. Four Byte Integer seconds defining session lifetime after disconnect."@en ;
                          rdfs:label "has Session Expiry Interval"@en ;
                          <http://www.w3.org/2004/02/skos/core#example> "The Session Expiry Interval MUST NOT be sent on a DISCONNECT by the Server."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasSessionPresentFlag
:hasSessionPresentFlag rdf:type owl:DatatypeProperty ;
                       rdfs:subPropertyOf :hasConnackFlag ;
                       rdf:type owl:FunctionalProperty ;
                       rdfs:domain :ConnackVariableHeader ;
                       rdfs:range xsd:boolean ;
                       rdfs:comment "Session Present flag in CONNACK. If 1, a prior Session exists and is resumed."@en ;
                       rdfs:label "has Session Present Flag"@en ;
                       <http://www.w3.org/2004/02/skos/core#example> "If the Server accepts a connection with Clean Start set to 0 and the Server has Session State for the ClientID, it MUST set Session Present to 1 in the CONNACK packet, otherwise it MUST set Session Present to 0 in the CONNACK packet. In both cases it MUST set a 0x00 (Success) Reason Code in the CONNACK packet."@en ,
                                                                     "If the Server accepts a connection with Clean Start set to 1, the Server MUST set Session Present to 0 in the CONNACK packet in addition to setting a 0x00 (Success) Reason Code in the CONNACK packet."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasSharedSubscriptionAvailable
:hasSharedSubscriptionAvailable rdf:type owl:DatatypeProperty ;
                                rdfs:subPropertyOf :hasProperty ;
                                rdf:type owl:FunctionalProperty ;
                                rdfs:domain :ConnackProperties ;
                                rdfs:range xsd:boolean ;
                                rdfs:comment "Shared Subscription Available Property in CONNACK. Byte 0/1 indicating server support for shared subscriptions."@en ;
                                rdfs:label "has Shared Subscription Available"@en ;
                                <http://www.w3.org/2004/02/skos/core#example> "Followed by a Byte field. If present, this byte declares whether the Server supports Shared Subscriptions. A value is 0 means that Shared Subscriptions are not supported. A value of 1 means Shared Subscriptions are supported."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasSubackReasonCode
:hasSubackReasonCode rdf:type owl:DatatypeProperty ;
                     rdfs:subPropertyOf :hasPayloadReasonCode ;
                     rdfs:domain :SubackPayload ;
                     rdfs:range [ rdf:type rdfs:Datatype ;
                                  owl:unionOf ( xsd:hexBinary
                                                xsd:string
                                                xsd:unsignedByte
                                              )
                                ] ;
                     rdfs:comment "SUBACK Reason Code. One-byte value per subscription indicating success or reason for failure."@en ;
                     rdfs:label "has Suback Reason Code"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasSubscriptionIdentifier
:hasSubscriptionIdentifier rdf:type owl:DatatypeProperty ;
                           rdfs:subPropertyOf :hasProperty ;
                           rdfs:domain [ rdf:type owl:Class ;
                                         owl:unionOf ( :PublishProperties
                                                       :SubscribeProperties
                                                     )
                                       ] ;
                           rdfs:range xsd:nonNegativeInteger ;
                           rdfs:comment "Subscription Identifier Property. Variable Byte Integer (value > 0) identifying a subscription; returned in PUBLISH as applicable."@en ;
                           rdfs:label "has Subscription Identifier"@en ;
                           <http://www.w3.org/2004/02/skos/core#example> "The Subscription Identifier can have the value of 1 to 268,435,455."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasSubscriptionIdentifierAvailable
:hasSubscriptionIdentifierAvailable rdf:type owl:DatatypeProperty ;
                                    rdfs:subPropertyOf :hasProperty ;
                                    rdf:type owl:FunctionalProperty ;
                                    rdfs:domain :ConnackProperties ;
                                    rdfs:range xsd:boolean ;
                                    rdfs:comment "Subscription Identifier Available Property in CONNACK. Byte 0/1 indicating support for Subscription Identifiers."@en ;
                                    rdfs:label "has Subscription Identifier Available"@en ;
                                    <http://www.w3.org/2004/02/skos/core#example> "If present, this byte declares whether the Server supports Subscription Identifiers. A value is 0 means that Subscription Identifiers are not supported. A value of 1 means Subscription Identifiers are supported."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasSubscriptionOption
:hasSubscriptionOption rdf:type owl:DatatypeProperty ;
                       rdfs:domain :SubscriptionEntry ;
                       rdfs:range xsd:unsignedByte ;
                       rdfs:comment "Subscription Options byte for a Topic Filter in SUBSCRIBE. Encodes QoS, No Local, Retain As Published, and Retain Handling."@en ;
                       rdfs:label "has Subscription Option"@en ;
                       <http://www.w3.org/2004/02/skos/core#example> "Bits 0 and 1 of the Subscription Options represent Maximum QoS field. This gives the maximum QoS level at which the Server can send Application Messages to the Client. It is a Protocol Error if the Maximum QoS field has the value 3."@en ,
                                                                     """Bits 0-1: Maximum QoS
0 = QoS 0
1 = QoS 1
2 = QoS 2
3 = Protocol Error

Bit 2: No Local
0 = Forward messages normally
1 = Do not forward messages from the same ClientID

Bit 3: Retain As Published
0 = Forwarded messages have RETAIN set to 0
1 = Forwarded messages keep the published RETAIN flag

Bits 4-5: Retain Handling
0 = Send retained messages at the time of subscribe
1 = Send retained messages only if the subscription does not already exist
2 = Do not send retained messages at subscribe
3 = Protocol Error

Bits 6-7: Reserved
Must be 0; otherwise the SUBSCRIBE packet is malformed."""@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasTopicAlias
:hasTopicAlias rdf:type owl:DatatypeProperty ;
               rdfs:subPropertyOf :hasProperty ;
               rdf:type owl:FunctionalProperty ;
               rdfs:domain [ rdf:type owl:Class ;
                             owl:unionOf ( :PublishProperties
                                           :Topic
                                         )
                           ] ;
               rdfs:range xsd:unsignedShort ;
               rdfs:comment "Topic Alias Property in PUBLISH. Two Byte Integer (non-zero) alias for Topic Name."@en ;
               rdfs:label "has Topic Alias"@en ;
               <http://www.w3.org/2004/02/skos/core#example> "A Client MUST NOT send a PUBLISH packet with a Topic Alias greater than the Topic Alias Maximum value returned by the Server in the CONNACK packet. A Client MUST accept all Topic Alias values greater than 0 and less than or equal to the Topic Alias Maximum value that it sent in the CONNECT packet."@en ,
                                                             "A Server MUST NOT send a PUBLISH packet with a Topic Alias greater than the Topic Alias Maximum value sent by the Client in the CONNECT packet. A Server MUST accept all Topic Alias values greater than 0 and less than or equal to the Topic Alias Maximum value that it returned in the CONNACK packet."@en ,
                                                             "A sender MUST NOT send a PUBLISH packet containing a Topic Alias which has the value 0."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasTopicAliasMaximum
:hasTopicAliasMaximum rdf:type owl:DatatypeProperty ;
                      rdfs:subPropertyOf :hasProperty ;
                      rdfs:domain [ rdf:type owl:Class ;
                                    owl:unionOf ( :ConnackProperties
                                                  :ConnectProperties
                                                )
                                  ] ;
                      rdfs:range xsd:unsignedShort ;
                      rdfs:comment "Topic Alias Maximum Property. Two Byte Integer indicating the maximum Topic Alias value accepted."@en ;
                      rdfs:label "has Topic Alias Maximum"@en ;
                      <http://www.w3.org/2004/02/skos/core#example> "The Server MUST NOT send a Topic Alias in a PUBLISH packet to the Client greater than Topic Alias Maximum."@en ,
                                                                    "Topic Alias Maximum is absent or zero, the Server MUST NOT send any Topic Aliases to the Client."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasUnsubackReasonCode
:hasUnsubackReasonCode rdf:type owl:DatatypeProperty ;
                       rdfs:subPropertyOf :hasPayloadReasonCode ;
                       rdfs:domain :UnsubackPayload ;
                       rdfs:range [ rdf:type rdfs:Datatype ;
                                    owl:unionOf ( xsd:hexBinary
                                                  xsd:string
                                                  xsd:unsignedByte
                                                )
                                  ] ;
                       rdfs:comment "UNSUBACK Reason Code. One-byte value per topic filter indicating unsubscribe success or failure."@en ;
                       rdfs:label "has Unsuback Reason Code"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasUserName
:hasUserName rdf:type owl:DatatypeProperty ;
             rdfs:domain :ConnectPayload ;
             rdfs:range xsd:string ;
             rdfs:comment "User Name in CONNECT payload. UTF-8 string present only if User Name Flag=1."@en ;
             rdfs:label "has User Name"@en ;
             <http://www.w3.org/2004/02/skos/core#example> "The User Name MUST be a UTF-8 Encoded String."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasUserNameFlag
:hasUserNameFlag rdf:type owl:DatatypeProperty ;
                 rdfs:subPropertyOf :hasConnectFlag ;
                 rdfs:domain :ConnectVariableHeader ;
                 rdfs:range xsd:boolean ;
                 rdfs:comment "User Name Flag in CONNECT Flags. If 1, User Name is present in CONNECT payload."@en ;
                 rdfs:label "has Username Flag"@en ;
                 <http://www.w3.org/2004/02/skos/core#example> "If the User Name Flag is set to 1, a User Name MUST be present in the Payload."@en ,
                                                               "f the User Name Flag is set to 0, a User Name MUST NOT be present in the Payload."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasUserPropertyName
:hasUserPropertyName rdf:type owl:DatatypeProperty ;
                     rdfs:domain :UserProperty ;
                     rdfs:range xsd:string ;
                     rdfs:comment "User Property Name (first UTF-8 string of a User Property string pair)."@en ;
                     rdfs:label "has User Propery Name"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasUserPropertyValue
:hasUserPropertyValue rdf:type owl:DatatypeProperty ;
                      rdfs:domain :UserProperty ;
                      rdfs:range xsd:string ;
                      rdfs:comment "User Property Value (second UTF-8 string of a User Property string pair)."@en ;
                      rdfs:label "has User Property Value"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasVariableHeaderReasonCode
:hasVariableHeaderReasonCode rdf:type owl:DatatypeProperty ;
                             rdfs:subPropertyOf :hasReasonCode ;
                             rdf:type owl:FunctionalProperty ;
                             rdfs:domain [ rdf:type owl:Class ;
                                           owl:unionOf ( :AuthVariableHeader
                                                         :ConnackVariableHeader
                                                         :DisconnectVariableHeader
                                                         :PubackVariableHeader
                                                         :PubcompVariableHeader
                                                         :PubrecVariableHeader
                                                         :PubrelVariableHeader
                                                       )
                                         ] ;
                             rdfs:range [ rdf:type rdfs:Datatype ;
                                          owl:unionOf ( xsd:hexBinary
                                                        xsd:string
                                                        xsd:unsignedByte
                                                      )
                                        ] ;
                             rdfs:comment "Reason Code carried in a packet variable header when defined by MQTT 5.0 (one-byte reason value)."@en ;
                             rdfs:label "MQTT Reason Code in Variable Header"@en ;
                             <http://www.w3.org/2004/02/skos/core#example> """MQTT 5 Reason Codes

0 / 0x00: Success — CONNACK, PUBACK, PUBREC, PUBREL, PUBCOMP, UNSUBACK, AUTH
0 / 0x00: Normal disconnection — DISCONNECT
0 / 0x00: Granted QoS 0 — SUBACK
1 / 0x01: Granted QoS 1 — SUBACK
2 / 0x02: Granted QoS 2 — SUBACK
4 / 0x04: Disconnect with Will Message — DISCONNECT
16 / 0x10: No matching subscribers — PUBACK, PUBREC
17 / 0x11: No subscription existed — UNSUBACK
24 / 0x18: Continue authentication — AUTH
25 / 0x19: Re-authenticate — AUTH
128 / 0x80: Unspecified error — CONNACK, PUBACK, PUBREC, SUBACK, UNSUBACK, DISCONNECT
129 / 0x81: Malformed Packet — CONNACK, DISCONNECT
130 / 0x82: Protocol Error — CONNACK, DISCONNECT
131 / 0x83: Implementation specific error — CONNACK, PUBACK, PUBREC, SUBACK, UNSUBACK, DISCONNECT
132 / 0x84: Unsupported Protocol Version — CONNACK
133 / 0x85: Client Identifier not valid — CONNACK
134 / 0x86: Bad User Name or Password — CONNACK
135 / 0x87: Not authorized — CONNACK, PUBACK, PUBREC, SUBACK, UNSUBACK, DISCONNECT
136 / 0x88: Server unavailable — CONNACK
137 / 0x89: Server busy — CONNACK, DISCONNECT
138 / 0x8A: Banned — CONNACK
139 / 0x8B: Server shutting down — DISCONNECT
140 / 0x8C: Bad authentication method — CONNACK, DISCONNECT
141 / 0x8D: Keep Alive timeout — DISCONNECT
142 / 0x8E: Session taken over — DISCONNECT
143 / 0x8F: Topic Filter invalid — SUBACK, UNSUBACK, DISCONNECT
144 / 0x90: Topic Name invalid — CONNACK, PUBACK, PUBREC, DISCONNECT
145 / 0x91: Packet Identifier in use — PUBACK, PUBREC, SUBACK, UNSUBACK
146 / 0x92: Packet Identifier not found — PUBREL, PUBCOMP
147 / 0x93: Receive Maximum exceeded — DISCONNECT
148 / 0x94: Topic Alias invalid — DISCONNECT
149 / 0x95: Packet too large — CONNACK, DISCONNECT
150 / 0x96: Message rate too high — DISCONNECT
151 / 0x97: Quota exceeded — CONNACK, PUBACK, PUBREC, SUBACK, DISCONNECT
152 / 0x98: Administrative action — DISCONNECT
153 / 0x99: Payload format invalid — CONNACK, PUBACK, PUBREC, DISCONNECT
154 / 0x9A: Retain not supported — CONNACK, DISCONNECT
155 / 0x9B: QoS not supported — CONNACK, DISCONNECT
156 / 0x9C: Use another server — CONNACK, DISCONNECT
157 / 0x9D: Server moved — CONNACK, DISCONNECT
158 / 0x9E: Shared Subscriptions not supported — SUBACK, DISCONNECT
159 / 0x9F: Connection rate exceeded — CONNACK, DISCONNECT
160 / 0xA0: Maximum connect time — DISCONNECT
161 / 0xA1: Subscription Identifiers not supported — SUBACK, DISCONNECT
162 / 0xA2: Wildcard Subscriptions not supported — SUBACK, DISCONNECT"""@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasWildcardSubscriptionAvailable
:hasWildcardSubscriptionAvailable rdf:type owl:DatatypeProperty ;
                                  rdfs:subPropertyOf :hasProperty ;
                                  rdf:type owl:FunctionalProperty ;
                                  rdfs:domain :ConnackProperties ;
                                  rdfs:range xsd:boolean ;
                                  rdfs:comment "Wildcard Subscription Available Property in CONNACK. Byte 0/1 indicating support for wildcard topic filters."@en ;
                                  rdfs:label "has Wildcard Subscription Available"@en ;
                                  <http://www.w3.org/2004/02/skos/core#example> "If a new Network Connection to this Session is made before the Will Delay Interval has passed, the Server MUST NOT send the Will Message."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasWillDelayInterval
:hasWillDelayInterval rdf:type owl:DatatypeProperty ;
                      rdfs:subPropertyOf :hasProperty ;
                      rdf:type owl:FunctionalProperty ;
                      rdfs:domain :WillProperties ;
                      rdfs:range xsd:unsignedInt ;
                      rdfs:comment "Will Delay Interval Property. Four Byte Integer seconds delaying Will publication after connection loss."@en ;
                      rdfs:label "has Will Delay Interval"@en ;
                      <http://www.w3.org/2004/02/skos/core#example> "If a new Network Connection to this Session is made before the Will Delay Interval has passed, the Server MUST NOT send the Will Message"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasWillFlag
:hasWillFlag rdf:type owl:DatatypeProperty ;
             rdfs:subPropertyOf :hasConnectFlag ;
             rdf:type owl:FunctionalProperty ;
             rdfs:domain :ConnectVariableHeader ;
             rdfs:range xsd:boolean ;
             rdfs:comment "Will Flag in CONNECT Flags. If 1, Will Properties/Topic/Payload are present."@en ;
             rdfs:label "has Will Flag"@en ;
             <http://www.w3.org/2004/02/skos/core#example> "If the Will Flag is set to 1 this indicates that a Will Message MUST be stored on the Server and associated with the Session."@en ,
                                                           "If the Will Flag is set to 1, the Will Properties, Will Topic, and Will Payload fields MUST be present in the Payload."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasWillPayload
:hasWillPayload rdf:type owl:DatatypeProperty ;
                rdfs:domain :ConnectPayload ;
                rdfs:range [ rdf:type rdfs:Datatype ;
                             owl:unionOf ( xsd:base64Binary
                                           xsd:hexBinary
                                           xsd:string
                                         )
                           ] ;
                rdfs:comment "Will Payload in CONNECT payload. Binary Data constituting the Will Message payload."@en ;
                rdfs:label "has Will Payload"@en ;
                <http://www.w3.org/2004/02/skos/core#example> "The Will Payload defines the Application Message Payload that is to be published to the Will Topic."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasWillProperty
:hasWillProperty rdf:type owl:DatatypeProperty ;
                 rdfs:domain :WillProperties ;
                 rdfs:range [ rdf:type rdfs:Datatype ;
                              owl:unionOf ( xsd:base64Binary
                                            xsd:hexBinary
                                          )
                            ] ;
                 rdfs:comment "Will Properties container in CONNECT payload. Set of MQTT 5.0 Properties applying to the Will Message."@en ;
                 rdfs:label "has MQTT Will Property"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasWillQoS
:hasWillQoS rdf:type owl:DatatypeProperty ;
            rdfs:subPropertyOf :hasConnectFlag ;
            rdf:type owl:FunctionalProperty ;
            rdfs:domain :ConnectVariableHeader ;
            rdfs:range xsd:unsignedByte ;
            rdfs:comment "Will QoS in CONNECT Flags. Two-bit field with values 0, 1, or 2 for the Will Message QoS."@en ;
            rdfs:label "has Will QoS"@en ;
            <http://www.w3.org/2004/02/skos/core#example> "If the Will Flag is set to 0, then the Will QoS MUST be set to 0 (0x00)."@en ,
                                                          "If the Will Flag is set to 1, the value of Will QoS can be 0 (0x00), 1 (0x01), or 2 (0x02)."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#hasWillRetain
:hasWillRetain rdf:type owl:DatatypeProperty ;
               rdfs:subPropertyOf :hasConnectFlag ;
               rdf:type owl:FunctionalProperty ;
               rdfs:domain :ConnectVariableHeader ;
               rdfs:range xsd:boolean ;
               rdfs:comment "Will Retain in CONNECT Flags. If 1, the Will Message is published as retained."@en ;
               rdfs:label "has Will Retain"@en ;
               <http://www.w3.org/2004/02/skos/core#example> "If the Will Flag is set to 0, then Will Retain MUST be set to 0."@en ,
                                                             "If the Will Flag is set to 1 and Will Retain is set to 0, the Server MUST publish the Will Message as a non-retained message."@en ,
                                                             "If the Will Flag is set to 1 and Will Retain is set to 1, the Server MUST publish the Will Message as a retained message."@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#usesTLS
:usesTLS rdf:type owl:DatatypeProperty ,
                  owl:FunctionalProperty ;
         rdfs:domain :NetworkConnection ;
         rdfs:range xsd:boolean ;
         rdfs:comment "True if the Network Connection is protected via TLS, otherwise false."@en ;
         rdfs:label "uses TLS"@en .


#################################################################
#    Classes
#################################################################

###  http://www.w3.org/1999/02/22-rdf-syntax-ns#List
rdf:List rdf:type owl:Class .


###  http://www.w3.org/ns/sosa/Actuation
<http://www.w3.org/ns/sosa/Actuation> rdfs:subClassOf :Activity ,
                                                      :TopicSubject .


###  http://www.w3.org/ns/sosa/ActuationCollection
<http://www.w3.org/ns/sosa/ActuationCollection> rdf:type owl:Class ;
                                                rdfs:subClassOf :Activity ,
                                                                :TopicSubject .


###  http://www.w3.org/ns/sosa/FeatureOfInterest
<http://www.w3.org/ns/sosa/FeatureOfInterest> rdfs:subClassOf :TopicSubject .


###  http://www.w3.org/ns/sosa/Observation
<http://www.w3.org/ns/sosa/Observation> rdfs:subClassOf :Activity ,
                                                        :TopicSubject .


###  http://www.w3.org/ns/sosa/ObservationCollection
<http://www.w3.org/ns/sosa/ObservationCollection> rdf:type owl:Class ;
                                                  rdfs:subClassOf :Activity ,
                                                                  :TopicSubject .


###  http://www.w3.org/ns/sosa/Property
<http://www.w3.org/ns/sosa/Property> rdf:type owl:Class ;
                                     rdfs:subClassOf :TopicSubject .


###  http://xmlns.com/foaf/0.1/Organization
<http://xmlns.com/foaf/0.1/Organization> rdf:type owl:Class .


###  http://xmlns.com/foaf/0.1/Person
<http://xmlns.com/foaf/0.1/Person> rdf:type owl:Class .


###  https://www.w3.org/2019/wot/mqtt#Client
<https://www.w3.org/2019/wot/mqtt#Client> rdf:type owl:Class ;
                                          owl:equivalentClass :Client .


###  https://www.w3.org/2019/wot/mqtt#ControlPacket
<https://www.w3.org/2019/wot/mqtt#ControlPacket> rdf:type owl:Class ;
                                                 owl:equivalentClass :ControlPacket .


###  https://www.w3.org/2019/wot/mqtt#NetworkConnection
<https://www.w3.org/2019/wot/mqtt#NetworkConnection> rdf:type owl:Class ;
                                                     owl:equivalentClass :NetworkConnection .


###  https://www.w3.org/2019/wot/mqtt#PUBLISH
<https://www.w3.org/2019/wot/mqtt#PUBLISH> rdf:type owl:Class ;
                                           owl:equivalentClass :PublishPacket .


###  https://www.w3.org/2019/wot/mqtt#SUBSCRIBE
<https://www.w3.org/2019/wot/mqtt#SUBSCRIBE> rdf:type owl:Class ;
                                             owl:equivalentClass :SubscribePacket .


###  https://www.w3.org/2019/wot/mqtt#Server
<https://www.w3.org/2019/wot/mqtt#Server> rdf:type owl:Class ;
                                          owl:equivalentClass :Broker .


###  https://www.w3.org/2019/wot/mqtt#TopicFilter
<https://www.w3.org/2019/wot/mqtt#TopicFilter> rdf:type owl:Class ;
                                               owl:equivalentClass :TopicFilter .


###  https://www.w3.org/2019/wot/mqtt#TopicName
<https://www.w3.org/2019/wot/mqtt#TopicName> rdf:type owl:Class ;
                                             owl:equivalentClass :Topic .


###  https://www.w3.org/2019/wot/mqtt#UNSUBSCRIBE
<https://www.w3.org/2019/wot/mqtt#UNSUBSCRIBE> rdf:type owl:Class ;
                                               owl:equivalentClass :UnsubscribePacket .


###  https://www.w3id.org/MQTT4SSN-Ontology#Activity
:Activity rdf:type owl:Class ;
          rdfs:comment "An Generalisation of SOSA Observation, ObservationCollection, Actuation, ActuationCollection."@en ;
          rdfs:label "SOSA Activity"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#ApplicationMessage
:ApplicationMessage rdf:type owl:Class ;
                    rdfs:comment "Protocol independent Application Message description"@en ;
                    rdfs:label "Application Message"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#AuthFixedHeader
:AuthFixedHeader rdf:type owl:Class ;
                 rdfs:subClassOf :FixedHeader ;
                 rdfs:comment "The Fixed Header of an AUTH packet."@en ;
                 rdfs:label "MQTT AUTH Fixed Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#AuthPacket
:AuthPacket rdf:type owl:Class ;
            rdfs:subClassOf :ControlPacket ;
            rdfs:comment "An MQTT Control Packet used to perform extended authentication exchanges between Client and Server."@en ;
            rdfs:label "MQTT AUTH Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#AuthProperties
:AuthProperties rdf:type owl:Class ;
                rdfs:subClassOf :Properties ;
                rdfs:comment "Properties section of the AUTH packet variable header in MQTT 5.0 for Enhanced Authentication (e.g., Authentication Method, Authentication Data, Reason String, User Properties)."@en ;
                rdfs:label "MQTT Auth Properties"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#AuthVariableHeader
:AuthVariableHeader rdf:type owl:Class ;
                    rdfs:subClassOf :VariableHeader ;
                    rdfs:comment "The Variable Header of an AUTH packet."@en ;
                    rdfs:label "MQTT AUTH Variable Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#Broker
:Broker rdf:type owl:Class ;
        rdfs:subClassOf :NetworkParticipant ;
        rdfs:comment "An MQTT Broker that accepts client connections, manages subscriptions, and forwards published messages."@en ;
        rdfs:label "MQTT Broker"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#Client
:Client rdf:type owl:Class ;
        rdfs:subClassOf :NetworkParticipant ;
        rdfs:comment "An MQTT Client that connects to an MQTT Broker and publishes or subscribes to MQTT Topics; may host SOSA systems."@en ;
        rdfs:label "MQTT Client"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#ConnackFixedHeader
:ConnackFixedHeader rdf:type owl:Class ;
                    rdfs:subClassOf :FixedHeader ;
                    rdfs:comment "The Fixed Header of an CONNACK packet."@en ;
                    rdfs:label "MQTT CONNACK Fixed Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#ConnackPacket
:ConnackPacket rdf:type owl:Class ;
               rdfs:subClassOf :ControlPacket ;
               rdfs:comment "An MQTT Control Packet sent by the Server in response to a CONNECT Packet, indicating the result of the connection attempt."@en ;
               rdfs:label "MQTT CONNACK Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#ConnackProperties
:ConnackProperties rdf:type owl:Class ;
                   rdfs:subClassOf :Properties ;
                   rdfs:comment "Properties section of the CONNACK packet variable header in MQTT 5.0 (e.g., Session Expiry Interval, Receive Maximum, Maximum QoS, Retain Available, Assigned Client Identifier, Server Keep Alive, Response Information, Server Reference, capability flags, User Properties)."@en ;
                   rdfs:label "MQTT Connack Properties"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#ConnackVariableHeader
:ConnackVariableHeader rdf:type owl:Class ;
                       rdfs:subClassOf :VariableHeader ;
                       rdfs:comment "The Variable Header of an CONNACK packet."@en ;
                       rdfs:label "MQTT CONNACK Variable Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#ConnectFixedHeader
:ConnectFixedHeader rdf:type owl:Class ;
                    rdfs:subClassOf :FixedHeader ;
                    rdfs:comment "The Fixed Header of an CONNECT packet."@en ;
                    rdfs:label "MQTT CONNECT Fixed Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#ConnectPacket
:ConnectPacket rdf:type owl:Class ;
               rdfs:subClassOf :ControlPacket ;
               rdfs:comment "An MQTT Control Packet sent by a Client to establish a connection to an MQTT Server."@en ;
               rdfs:label "MQTT CONNECT Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#ConnectPayload
:ConnectPayload rdf:type owl:Class ;
                rdfs:subClassOf :Payload ;
                rdfs:comment "CONNECT packet payload in MQTT 5.0. Contains Client Identifier, Will Properties/Topic/Payload (if Will Flag=1), User Name (if User Name Flag=1), and Password (if Password Flag=1)."@en ;
                rdfs:label "MQTT CONNECT Payload"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#ConnectProperties
:ConnectProperties rdf:type owl:Class ;
                   rdfs:subClassOf :Properties ;
                   rdfs:comment "Properties section of the CONNECT packet variable header in MQTT 5.0 (e.g., Session Expiry Interval, Receive Maximum, Maximum Packet Size, Authentication Method/Data, Request Problem/Response Information, User Properties)."@en ;
                   rdfs:label "MQTT Connect Properties"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#ConnectVariableHeader
:ConnectVariableHeader rdf:type owl:Class ;
                       rdfs:subClassOf :VariableHeader ;
                       rdfs:comment "The Variable Header of an CONNECT packet."@en ;
                       rdfs:label "MQTT CONNECT Variable Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#ControlPacket
:ControlPacket rdf:type owl:Class ;
               rdfs:comment "An MQTT Control Packet such as PUBLISH, SUBSCRIBE, or UNSUBSCRIBE."@en ;
               rdfs:label "MQTT Control Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#DisconnectFixedHeader
:DisconnectFixedHeader rdf:type owl:Class ;
                       rdfs:subClassOf :FixedHeader ;
                       rdfs:comment "The Fixed Header of a DISCONNECT packet."@en ;
                       rdfs:label "MQTT DISCONNECT Fixed Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#DisconnectPacket
:DisconnectPacket rdf:type owl:Class ;
                  rdfs:subClassOf :ControlPacket ;
                  rdfs:comment "An MQTT Control Packet sent by a Client or Server to indicate that the connection is being closed intentionally."@en ;
                  rdfs:label "MQTT DISCONNECT Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#DisconnectProperties
:DisconnectProperties rdf:type owl:Class ;
                      rdfs:subClassOf :Properties ;
                      rdfs:comment "Properties section of the DISCONNECT packet variable header in MQTT 5.0 (e.g., Session Expiry Interval, Reason String, Server Reference, User Properties) accompanying the Disconnect Reason Code."@en ;
                      rdfs:label "MQTT Disconnect Properties"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#DisconnectVariableHeader
:DisconnectVariableHeader rdf:type owl:Class ;
                          rdfs:subClassOf :VariableHeader ;
                          rdfs:comment "The Variable Header of a DISCONNECT packet."@en ;
                          rdfs:label "MQTT DISCONNECT Variable Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#FixedHeader
:FixedHeader rdf:type owl:Class ;
             rdfs:comment "The header present in all MQTT Control Packets, containing the packet type and flags."@en ;
             rdfs:label "MQTT Fixed Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#NetworkConnection
:NetworkConnection rdf:type owl:Class ;
                   rdfs:subClassOf :NetworkEntity ;
                   rdfs:comment "A transport-layer connection between an MQTT Client and an MQTT Broker (optionally secured with TLS)."@en ;
                   rdfs:label "MQTT Network Connection"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#NetworkEntity
:NetworkEntity rdf:type owl:Class ;
               rdfs:comment "Entities involved in a network."@en ;
               rdfs:label "Network Entity"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#NetworkParticipant
:NetworkParticipant rdf:type owl:Class ;
                    rdfs:subClassOf :NetworkEntity ;
                    rdfs:comment "An entity participating in an MQTT network, such as an MQTT Client or an MQTT Broker."@en ;
                    rdfs:label "MQTT Network Participant"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#NetworkSession
:NetworkSession rdf:type owl:Class ;
                rdfs:subClassOf :NetworkEntity ;
                rdfs:comment "Persistent Session across a sequence of Network Connections."@en ;
                rdfs:label "MQTT Network Session"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#Payload
:Payload rdf:type owl:Class ;
         rdfs:comment "The application data carried by an MQTT Control Packet."@en ;
         rdfs:label "MQTT Payload"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#PingreqFixedHeader
:PingreqFixedHeader rdf:type owl:Class ;
                    rdfs:subClassOf :FixedHeader ;
                    rdfs:comment "The Fixed Header of a PINGREQ packet."@en ;
                    rdfs:label "MQTT PINGREQ Fixed Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#PingreqPacket
:PingreqPacket rdf:type owl:Class ;
               rdfs:subClassOf :ControlPacket ;
               rdfs:comment "An MQTT Control Packet sent by a Client to the Server to indicate that the Client is alive and to maintain the network connection."@en ;
               rdfs:label "MQTT PINGREQ Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#PingrespFixedHeader
:PingrespFixedHeader rdf:type owl:Class ;
                     rdfs:subClassOf :FixedHeader ;
                     rdfs:comment "The Fixed Header of a PINGRESP packet."@en ;
                     rdfs:label "MQTT PINGRESP Fixed Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#PingrespPacket
:PingrespPacket rdf:type owl:Class ;
                rdfs:subClassOf :ControlPacket ;
                rdfs:comment "An MQTT Control Packet sent by the Server in response to a PINGREQ Packet to indicate that the Server is alive."@en ;
                rdfs:label "MQTT PINGRESP Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#Properties
:Properties rdf:type owl:Class ;
            rdfs:comment "Abstract superclass for MQTT 5.0 Property collections. Each concrete *Properties class represents the Properties section of a specific Control Packet or Payload, encoded as a sequence of Property Identifiers and typed values."@en ;
            rdfs:label "MQTT Properties"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#PubackFixedHeader
:PubackFixedHeader rdf:type owl:Class ;
                   rdfs:subClassOf :FixedHeader ;
                   rdfs:comment "The Fixed Header of a PUBACK packet."@en ;
                   rdfs:label "MQTT PUBACK Fixed Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#PubackPacket
:PubackPacket rdf:type owl:Class ;
              rdfs:subClassOf :ControlPacket ;
              rdfs:comment "An MQTT Control Packet sent by a Receiver to acknowledge receipt of a PUBLISH Packet with QoS 1."@en ;
              rdfs:label "MQTT PUBACK Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#PubackProperties
:PubackProperties rdf:type owl:Class ;
                  rdfs:subClassOf :Properties ;
                  rdfs:comment "Properties section of the PUBACK packet variable header in MQTT 5.0 (e.g., Reason String, User Properties) accompanying the PUBACK Reason Code."@en ;
                  rdfs:label "MQTT Puback Properties"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#PubackVariableHeader
:PubackVariableHeader rdf:type owl:Class ;
                      rdfs:subClassOf :VariableHeader ;
                      rdfs:comment "The Variable Header of a PUBACK packet."@en ;
                      rdfs:label "MQTT PUBACK Variable Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#PubcompFixedHeader
:PubcompFixedHeader rdf:type owl:Class ;
                    rdfs:subClassOf :FixedHeader ;
                    rdfs:comment "The Fixed Header of a PUBCOMP packet."@en ;
                    rdfs:label "MQTT PUBCOMP Fixed Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#PubcompPacket
:PubcompPacket rdf:type owl:Class ;
               rdfs:subClassOf :ControlPacket ;
               rdfs:comment "An MQTT Control Packet sent by a Receiver as the final acknowledgement in the QoS 2 publish flow."@en ;
               rdfs:label "MQTT PUBCOMP Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#PubcompProperties
:PubcompProperties rdf:type owl:Class ;
                   rdfs:subClassOf :Properties ;
                   rdfs:comment "Properties section of the PUBCOMP packet variable header in MQTT 5.0 (e.g., Reason String, User Properties) accompanying the PUBCOMP Reason Code."@en ;
                   rdfs:label "MQTT Pubcomp Properties"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#PubcompVariableHeader
:PubcompVariableHeader rdf:type owl:Class ;
                       rdfs:subClassOf :VariableHeader ;
                       rdfs:comment "The Variable Header of a PUBCOMP packet."@en ;
                       rdfs:label "MQTT PUBCOMP Variable Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#PublishFixedHeader
:PublishFixedHeader rdf:type owl:Class ;
                    rdfs:subClassOf :FixedHeader ;
                    rdfs:comment "The Fixed Header used in PUBLISH packets."@en ;
                    rdfs:label "MQTT PUBLISH Fixed Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#PublishPacket
:PublishPacket rdf:type owl:Class ;
               rdfs:subClassOf :ControlPacket ;
               rdfs:comment "An MQTT Control Packet used by an MQTT Client to publish an application message to an MQTT Topic."@en ;
               rdfs:label "MQTT PUBLISH Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#PublishPayload
:PublishPayload rdf:type owl:Class ;
                rdfs:subClassOf :Payload ;
                rdfs:comment "The payload of a PUBLISH packet (application message body)."@en ;
                rdfs:label "MQTT PUBLISH Payload"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#PublishProperties
:PublishProperties rdf:type owl:Class ;
                   rdfs:subClassOf :Properties ;
                   rdfs:comment "Properties section of the PUBLISH packet variable header in MQTT 5.0 (e.g., Payload Format Indicator, Message Expiry Interval, Topic Alias, Response Topic, Correlation Data, Subscription Identifier(s), Content Type, User Properties)."@en ;
                   rdfs:label "MQTT Publish Properties"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#PublishVariableHeader
:PublishVariableHeader rdf:type owl:Class ;
                       rdfs:subClassOf :VariableHeader ;
                       rdfs:comment "The Variable Header of a PUBLISH packet; includes the MQTT Topic and optionally a packet identifier."@en ;
                       rdfs:label "MQTT PUBLISH Variable Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#PubrecFixedHeader
:PubrecFixedHeader rdf:type owl:Class ;
                   rdfs:subClassOf :FixedHeader ;
                   rdfs:comment "The Fixed Header of a PUBREC packet."@en ;
                   rdfs:label "MQTT PUBREC Fixed Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#PubrecPacket
:PubrecPacket rdf:type owl:Class ;
              rdfs:subClassOf :ControlPacket ;
              rdfs:comment "An MQTT Control Packet sent by a Receiver to indicate that a PUBLISH Packet with QoS 2 has been received and is being processed."@en ;
              rdfs:label "MQTT PUBREC Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#PubrecProperties
:PubrecProperties rdf:type owl:Class ;
                  rdfs:subClassOf :Properties ;
                  rdfs:comment "Properties section of the PUBREC packet variable header in MQTT 5.0 (e.g., Reason String, User Properties) accompanying the PUBREC Reason Code."@en ;
                  rdfs:label "MQTT Pubrec Properties"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#PubrecVariableHeader
:PubrecVariableHeader rdf:type owl:Class ;
                      rdfs:subClassOf :VariableHeader ;
                      rdfs:comment "The Variable Header of a PUBREC packet."@en ;
                      rdfs:label "MQTT PUBREC Variable Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#PubrelFixedHeader
:PubrelFixedHeader rdf:type owl:Class ;
                   rdfs:subClassOf :FixedHeader ;
                   rdfs:comment "The Fixed Header of an PUBREL packet."@en ;
                   rdfs:label "MQTT PUBREL Fixed Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#PubrelPacket
:PubrelPacket rdf:type owl:Class ;
              rdfs:subClassOf :ControlPacket ;
              rdfs:comment "An MQTT Control Packet sent by a Sender in the QoS 2 publish flow to release a previously received PUBREC response."@en ;
              rdfs:label "MQTT PUBREL Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#PubrelProperties
:PubrelProperties rdf:type owl:Class ;
                  rdfs:subClassOf :Properties ;
                  rdfs:comment "Properties section of the PUBREL packet variable header in MQTT 5.0 (e.g., Reason String, User Properties) accompanying the PUBREL Reason Code."@en ;
                  rdfs:label "MQTT Pubrel Properties"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#PubrelVariableHeader
:PubrelVariableHeader rdf:type owl:Class ;
                      rdfs:subClassOf :VariableHeader ;
                      rdfs:comment "The Variable Header of an PUBREL packet."@en ;
                      rdfs:label "MQTT PUBREL Variable Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#SubackFixedHeader
:SubackFixedHeader rdf:type owl:Class ;
                   rdfs:subClassOf :FixedHeader ;
                   rdfs:comment "The Fixed Header of a SUBACK packet."@en ;
                   rdfs:label "MQTT SUBACK Fixed Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#SubackPacket
:SubackPacket rdf:type owl:Class ;
              rdfs:subClassOf :ControlPacket ;
              rdfs:comment "An MQTT Control Packet sent by the Server to acknowledge a SUBSCRIBE request and indicate the assigned subscription options or failure codes."@en ;
              rdfs:label "MQTT SUBACK Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#SubackPayload
:SubackPayload rdf:type owl:Class ;
               rdfs:subClassOf :Payload ;
               rdfs:comment "SUBACK packet payload in MQTT 5.0. Sequence of Suback Reason Codes, one for each Topic Filter in the corresponding SUBSCRIBE request."@en ;
               rdfs:label "MQTT SUBACK Payload"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#SubackProperties
:SubackProperties rdf:type owl:Class ;
                  rdfs:subClassOf :Properties ;
                  rdfs:comment "Properties section of the SUBACK packet variable header in MQTT 5.0 (e.g., Reason String, User Properties) accompanying the Suback Payload."@en ;
                  rdfs:label "MQTT Suback Properties"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#SubackVariableHeader
:SubackVariableHeader rdf:type owl:Class ;
                      rdfs:subClassOf :VariableHeader ;
                      rdfs:comment "The Variable Header of a SUBACK packet."@en ;
                      rdfs:label "MQTT SUBACK Variable Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#SubscribeFixedHeader
:SubscribeFixedHeader rdf:type owl:Class ;
                      rdfs:subClassOf :FixedHeader ;
                      rdfs:comment "The Fixed Header used in SUBSCRIBE packets."@en ;
                      rdfs:label "MQTT SUBSCRIBE Fixed Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#SubscribePacket
:SubscribePacket rdf:type owl:Class ;
                 rdfs:subClassOf :ControlPacket ;
                 rdfs:comment "An MQTT Control Packet used by an MQTT Client to subscribe to one or more MQTT Topic Filters."@en ;
                 rdfs:label "MQTT SUBSCRIBE Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#SubscribePayload
:SubscribePayload rdf:type owl:Class ;
                  rdfs:subClassOf :Payload ;
                  rdfs:comment "The payload of a SUBSCRIBE packet, listing MQTT Subscription Entries."@en ;
                  rdfs:label "MQTT SUBSCRIBE Payload"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#SubscribeProperties
:SubscribeProperties rdf:type owl:Class ;
                     rdfs:subClassOf :Properties ;
                     rdfs:comment "Properties section of the SUBSCRIBE packet variable header in MQTT 5.0 (e.g., Subscription Identifier, User Properties)."@en ;
                     rdfs:label "MQTT Subscribe Properties"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#SubscribeVariableHeader
:SubscribeVariableHeader rdf:type owl:Class ;
                         rdfs:subClassOf :VariableHeader ;
                         rdfs:comment "The Variable Header of a SUBSCRIBE packet; typically includes the packet identifier."@en ;
                         rdfs:label "MQTT SUBSCRIBE Variable Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#SubscriptionEntry
:SubscriptionEntry rdf:type owl:Class ;
                   rdfs:comment "A single requested subscription consisting of an MQTT Topic Filter and an associated QoS level."@en ;
                   rdfs:label "MQTT Subscription Entry"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#Topic
:Topic rdf:type owl:Class ;
       rdfs:subClassOf [ rdf:type owl:Restriction ;
                         owl:onProperty :hasActObsSubject ;
                         owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
                         owl:onClass [ rdf:type owl:Class ;
                                       owl:unionOf ( <http://www.w3.org/ns/sosa/Actuation>
                                                     <http://www.w3.org/ns/sosa/ActuationCollection>
                                                     <http://www.w3.org/ns/sosa/Observation>
                                                     <http://www.w3.org/ns/sosa/ObservationCollection>
                                                   )
                                     ]
                       ] ,
                       [ rdf:type owl:Restriction ;
                         owl:onProperty :hasFoISubject ;
                         owl:maxCardinality "1"^^xsd:nonNegativeInteger
                       ] ,
                       [ rdf:type owl:Restriction ;
                         owl:onProperty :hasPropertySubject ;
                         owl:maxCardinality "1"^^xsd:nonNegativeInteger
                       ] ;
       rdfs:comment "A hierarchical MQTT Topic to which MQTT Clients publish and/or subscribe."@en ;
       rdfs:label "MQTT Topic"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#TopicFilter
:TopicFilter rdf:type owl:Class ;
             rdfs:comment "A filter expression (e.g., with wildcards) used in SUBSCRIBE/UNSUBSCRIBE to match MQTT Topics."@en ;
             rdfs:label "MQTT Topic Filter"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#TopicSubject
:TopicSubject rdf:type owl:Class ;
              rdfs:comment "A conceptual subject carried on an MQTT Topic, e.g., an Observation, Actuation, Property, or Feature of Interest."@en ;
              rdfs:label "MQTT Topic Subject"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#UnsubackFixedHeader
:UnsubackFixedHeader rdf:type owl:Class ;
                     rdfs:subClassOf :FixedHeader ;
                     rdfs:comment "The Fixed Header of an UNSUBACK packet."@en ;
                     rdfs:label "MQTT UNSUBACK Fixed Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#UnsubackPacket
:UnsubackPacket rdf:type owl:Class ;
                rdfs:subClassOf :ControlPacket ;
                rdfs:comment "An MQTT Control Packet sent by the Server to acknowledge an UNSUBSCRIBE request."@en ;
                rdfs:label "MQTT UNSUBACK Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#UnsubackPayload
:UnsubackPayload rdf:type owl:Class ;
                 rdfs:subClassOf :Payload ;
                 rdfs:comment "UNSUBACK packet payload in MQTT 5.0. Sequence of Unsuback Reason Codes, one for each Topic Filter in the corresponding UNSUBSCRIBE request."@en ;
                 rdfs:label "MQTT UNSUBACK Payload"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#UnsubackProperties
:UnsubackProperties rdf:type owl:Class ;
                    rdfs:subClassOf :Properties ;
                    rdfs:comment "Properties section of the UNSUBACK packet variable header in MQTT 5.0 (e.g., Reason String, User Properties) accompanying the Unsuback Payload."@en ;
                    rdfs:label "MQTT Unsuback Properties"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#UnsubackVariableHeader
:UnsubackVariableHeader rdf:type owl:Class ;
                        rdfs:subClassOf :VariableHeader ;
                        rdfs:comment "The Variable Header of an UNSUBACK packet."@en ;
                        rdfs:label "MQTT UNSUBACK Variable Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#UnsubscribeFixedHeader
:UnsubscribeFixedHeader rdf:type owl:Class ;
                        rdfs:subClassOf :FixedHeader ;
                        rdfs:comment "The Fixed Header used in UNSUBSCRIBE packets."@en ;
                        rdfs:label "MQTT UNSUBSCRIBE Fixed Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#UnsubscribePacket
:UnsubscribePacket rdf:type owl:Class ;
                   rdfs:subClassOf :ControlPacket ;
                   rdfs:comment "An MQTT Control Packet used by an MQTT Client to remove one or more subscriptions."@en ;
                   rdfs:label "MQTT UNSUBSCRIBE Packet"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#UnsubscribePayload
:UnsubscribePayload rdf:type owl:Class ;
                    rdfs:subClassOf :Payload ;
                    rdfs:comment "The payload of an UNSUBSCRIBE packet, listing MQTT Topic Filters to be removed."@en ;
                    rdfs:label "MQTT UNSUBSCRIBE Payload"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#UnsubscribeProperties
:UnsubscribeProperties rdf:type owl:Class ;
                       rdfs:subClassOf :Properties ;
                       rdfs:comment "Properties section of the UNSUBSCRIBE packet variable header in MQTT 5.0 (e.g., User Properties)."@en ;
                       rdfs:label "MQTT Unsubscribe Properties"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#UnsubscribeVariableHeader
:UnsubscribeVariableHeader rdf:type owl:Class ;
                           rdfs:subClassOf :VariableHeader ;
                           rdfs:comment "The Variable Header of an UNSUBSCRIBE packet."@en ;
                           rdfs:label "MQTT UNSUBSCRIBE Variable Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#UserProperty
:UserProperty rdf:type owl:Class ;
              rdfs:comment "MQTT 5.0 User Property. A UTF-8 String Pair (Name, Value) that can appear in many packet property sets. Semantics are application-defined."@en ;
              rdfs:label "User Property"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#VariableHeader
:VariableHeader rdf:type owl:Class ;
                rdfs:comment "The optional header carrying packet-specific metadata (e.g., packet identifier, MQTT Topic name)."@en ;
                rdfs:label "MQTT Variable Header"@en .


###  https://www.w3id.org/MQTT4SSN-Ontology#WillProperties
:WillProperties rdf:type owl:Class ;
                rdfs:comment "Will Properties in the CONNECT payload in MQTT 5.0 (e.g., Will Delay Interval, Payload Format Indicator, Message Expiry Interval, Content Type, Response Topic, Correlation Data, User Properties) applying to the Will Message."@en ;
                rdfs:label "MQTT Will Properties"@en .


#################################################################
#    Individuals
#################################################################

###  https://dtecbw.de/
<https://dtecbw.de/> rdf:type owl:NamedIndividual ,
                              <http://xmlns.com/foaf/0.1/Organization> ;
                     rdfs:comment "This research as part of the project EKI is funded by dtec.bw – Digitalization and Technology Research Center of the Bundeswehr which we gratefully acknowledge. dtec.bw is funded by the European Union – NextGenerationEU." ;
                     rdfs:label "Digitalization and Technology Research Center of the Bundeswehr" ;
                     <http://xmlns.com/foaf/0.1/homepage> <https://dtecbw.de> ;
                     <http://xmlns.com/foaf/0.1/name> "dtec.bw" .


###  https://orcid.org/0000-0003-3458-4748
<https://orcid.org/0000-0003-3458-4748> rdf:type owl:NamedIndividual ,
                                                 <http://xmlns.com/foaf/0.1/Person> ;
                                        <http://xmlns.com/foaf/0.1/homepage> <https://orcid.org/0000-0003-3458-4748> ;
                                        <http://xmlns.com/foaf/0.1/mbox> <mailto:maleshkm@hsu-hh.de> ;
                                        <http://xmlns.com/foaf/0.1/name> "Maria Maleshkova" .


###  https://orcid.org/0009-0004-0088-8633
<https://orcid.org/0009-0004-0088-8633> rdf:type owl:NamedIndividual ,
                                                 <http://xmlns.com/foaf/0.1/Person> ;
                                        <http://xmlns.com/foaf/0.1/homepage> <https://orcid.org/0009-0004-0088-8633> ;
                                        <http://xmlns.com/foaf/0.1/mbox> <mailto:doernern@hsu-hh.de> ;
                                        <http://xmlns.com/foaf/0.1/name> "Niklas Doerner" .


[ xsd:maxInclusive "15"^^xsd:unsignedByte
] .

[ xsd:minInclusive "0"^^xsd:unsignedByte
 ] .

#################################################################
#    General axioms
#################################################################

[ rdf:type owl:AllDisjointClasses ;
   owl:members ( <http://www.w3.org/ns/sosa/Actuation>
                 <http://www.w3.org/ns/sosa/ActuationCollection>
                 <http://www.w3.org/ns/sosa/FeatureOfInterest>
                 <http://www.w3.org/ns/sosa/Observation>
                 <http://www.w3.org/ns/sosa/ObservationCollection>
                 <http://www.w3.org/ns/sosa/Property>
               )
 ] .


[ rdf:type owl:AllDisjointClasses ;
  owl:members ( :Activity
                :ApplicationMessage
                :ControlPacket
                :FixedHeader
                :NetworkEntity
                :Payload
                :Properties
                :SubscriptionEntry
                :Topic
                :TopicFilter
                :TopicSubject
                :UserProperty
                :VariableHeader
                :WillProperties
              )
] .


[ rdf:type owl:AllDisjointClasses ;
  owl:members ( :AuthFixedHeader
                :ConnackFixedHeader
                :ConnectFixedHeader
                :DisconnectFixedHeader
                :PingreqFixedHeader
                :PingrespFixedHeader
                :PubackFixedHeader
                :PubcompFixedHeader
                :PublishFixedHeader
                :PubrecFixedHeader
                :PubrelFixedHeader
                :SubackFixedHeader
                :SubscribeFixedHeader
                :UnsubackFixedHeader
                :UnsubscribeFixedHeader
              )
] .


[ rdf:type owl:AllDisjointClasses ;
  owl:members ( :AuthPacket
                :ConnackPacket
                :ConnectPacket
                :DisconnectPacket
                :PingreqPacket
                :PingrespPacket
                :PubackPacket
                :PubcompPacket
                :PublishPacket
                :PubrecPacket
                :PubrelPacket
                :SubackPacket
                :SubscribePacket
                :UnsubackPacket
                :UnsubscribePacket
              )
] .


[ rdf:type owl:AllDisjointClasses ;
  owl:members ( :AuthProperties
                :ConnackProperties
                :ConnectProperties
                :DisconnectProperties
                :PubackProperties
                :PubcompProperties
                :PublishProperties
                :PubrecProperties
                :PubrelProperties
                :SubackProperties
                :SubscribeProperties
                :UnsubackProperties
                :UnsubscribeProperties
              )
] .


[ rdf:type owl:AllDisjointClasses ;
  owl:members ( :AuthVariableHeader
                :ConnackVariableHeader
                :ConnectVariableHeader
                :DisconnectVariableHeader
                :PubackVariableHeader
                :PubcompVariableHeader
                :PublishVariableHeader
                :PubrecVariableHeader
                :PubrelVariableHeader
                :SubackVariableHeader
                :SubscribeVariableHeader
                :UnsubackVariableHeader
                :UnsubscribeVariableHeader
              )
] .


[ rdf:type owl:AllDisjointClasses ;
  owl:members ( :ConnectPayload
                :PublishPayload
                :SubackPayload
                :SubscribePayload
                :UnsubackPayload
                :UnsubscribePayload
              )
] .


[ rdf:type owl:AllDisjointProperties ;
  owl:members ( :applicationMessageEncodesActuation
                :applicationMessageEncodesActuationCollection
                :applicationMessageEncodesObservation
                :applicationMessageEncodesObservationCollection
              )
] .


[ rdf:type owl:AllDisjointProperties ;
  owl:members ( :hasActObsSubject
                :hasFoISubject
                :hasPropertySubject
              )
] .


[ rdf:type owl:AllDisjointProperties ;
  owl:members ( :hasAuthFixedHeader
                :hasConnackFixedHeader
                :hasConnectFixedHeader
                :hasDisconnectFixedHeader
                :hasPingreqFixedHeader
                :hasPingrespFixedHeader
                :hasPubackFixedHeader
                :hasPubcompFixedHeader
                :hasPublishFixedHeader
                :hasPubrecFixedHeader
                :hasPubrelFixedHeader
                :hasSubackFixedHeader
                :hasSubscribeFixedHeader
                :hasUnsubackFixedHeader
                :hasUnsubscribeFixedHeader
              )
] .


[ rdf:type owl:AllDisjointProperties ;
  owl:members ( :hasAuthVariableHeader
                :hasConnackVariableHeader
                :hasConnectVariableHeader
                :hasDisconnectVariableHeader
                :hasPubackVariableHeader
                :hasPubcompVariableHeader
                :hasPublishVariableHeader
                :hasPubrecVariableHeader
                :hasPubrelVariableHeader
                :hasSubackVariableHeader
                :hasSubscribeVariableHeader
                :hasUnsubackVariableHeader
                :hasUnsubscribeVariableHeader
              )
] .


[ rdf:type owl:AllDisjointProperties ;
  owl:members ( :hasConnackProperties
                :hasConnectProperties
                :hasDisconnectProperties
                :hasProperties
                :hasPubackProperties
                :hasPubcompProperties
                :hasPublishProperties
                :hasPubrecProperties
                :hasPubrelProperties
                :hasSubackProperties
                :hasSubscribeProperties
                :hasUnsubackProperties
                :hasUnsubscribeProperties
              )
] .


[ rdf:type owl:AllDisjointProperties ;
  owl:members ( :hasConnectPayload
                :hasPublishPayload
                :hasSubackPayload
                :hasSubscribePayload
                :hasUnsubackPayload
                :hasUnsubscribePayload
              )
] .


[ rdf:type owl:AllDisjointProperties ;
  owl:members ( :isActObsSubjectOf
                :isFOISubjectOf
                :isPropertySubjectOf
              )
] .


[ rdf:type owl:AllDisjointProperties ;
  owl:members ( :isAuthFixedHeaderOf
                :isConnackFixedHeaderOf
                :isConnectFixedHeaderOf
                :isDisconnectFixedHeaderOf
                :isPingreqFixedHeaderOf
                :isPingrespFixedHeaderOf
                :isPubackFixedHeaderOf
                :isPubcompFixedHeaderOf
                :isPublishFixedHeaderOf
                :isPubrecFixedHeaderOf
                :isPubrelFixedHeaderOf
                :isSubackFixedHeaderOf
                :isSubscribeFixedHeaderOf
                :isUnsubackFixedHeaderOf
                :isUnsubscribeFixedHeaderOf
              )
] .


[ rdf:type owl:AllDisjointProperties ;
  owl:members ( :isAuthVariableHeaderOf
                :isConnackVariableHeaderOf
                :isConnectVariableHeaderOf
                :isDisconnectVariableHeaderOf
                :isPubackVariableHeaderOf
                :isPubcompVariableHeaderOf
                :isPublishVariableHeaderOf
                :isPubrecVariableHeaderOf
                :isPubrelVariableHeaderOf
                :isSubackVariableHeaderOf
                :isSubscribeVariableHeaderOf
                :isUnsubackVariableHeaderOf
                :isUnsubscribeVariableHeaderOf
              )
] .


[ rdf:type owl:AllDisjointProperties ;
  owl:members ( :isConnectPayloadOf
                :isPublishPayloadOf
                :isSubackPayloadOf
                :isSubscribePayloadOf
                :isUnsubackPayloadOf
                :isUnsubscribePayloadOf
              )
] .


[ rdf:type owl:AllDisjointProperties ;
  owl:members ( :receivesAuthPacket
                :receivesConnackPacket
                :receivesConnectPacket
                :receivesDisconnectPacket
                :receivesPingreqPacket
                :receivesPingrespPacket
                :receivesPubackPacket
                :receivesPubcompPacket
                :receivesPublishPacket
                :receivesPubrecPacket
                :receivesPubrelPacket
                :receivesSubackPacket
                :receivesSubscribePacket
                :receivesUnsubackPacket
                :receivesUnsubscribePacket
              )
] .


[ rdf:type owl:AllDisjointProperties ;
  owl:members ( :sendsAuthPacket
                :sendsConnackPacket
                :sendsConnectPacket
                :sendsDisconnectPacket
                :sendsPingreqPacket
                :sendsPingrespPacket
                :sendsPubackPacket
                :sendsPubcompPacket
                :sendsPublishPacket
                :sendsPubrecPacket
                :sendsPubrelPacket
                :sendsSubackPacket
                :sendsSubscribePacket
                :sendsUnsubackPacket
                :sendsUnsubscribePacket
              )
] .


###  Generated by the OWL API (version 5.1.18) https://github.com/owlcs/owlapi/
