All Downloads are FREE. Search and download functionalities are using the official Maven repository.

vocabulary.v1.amqp.ttl Maven / Gradle / Ivy

#
# #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
#   This file is part of the Smart Developer Hub Project:
#     http://www.smartdeveloperhub.org/
#
#   Center for Open Middleware
#     http://www.centeropenmiddleware.com/
# #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
#   Copyright (C) 2015-2016 Center for Open Middleware.
# #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
#   Licensed under the Apache License, Version 2.0 (the "License");
#   you may not use this file except in compliance with the License.
#   You may obtain a copy of the License at
#
#             http://www.apache.org/licenses/LICENSE-2.0
#
#   Unless required by applicable law or agreed to in writing, software
#   distributed under the License is distributed on an "AS IS" BASIS,
#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#   See the License for the specific language governing permissions and
#   limitations under the License.
# #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
#   Artifact    : org.smartdeveloperhub.vocabulary:sdh-vocabulary:0.3.0
#   Bundle      : sdh-vocabulary-0.3.0.jar
# #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
#

##----------------------------------------------------------------------------##
#     __    __    __    __    __    __    __    __    __    __    __    __     #
#  __/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__  #
# /  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \ #
# \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/ #
# /  \__/                                                                 /  \ #
# \__/                     _____                      __                  \__/ #
# /  \                    / ___/____ ___  ____ ______/ /_                 /  \ #
# \__/                    \__ \/ __ `__ \/ __ `/ ___/ __/                 \__/ #
# /  \                   ___/ / / / / / / /_/ / /  / /_                   /  \ #
# \__/    ____          /____/_/_/_/ /_/\__,_/_/   \__/   __  __      __  \__/ #
# /  \   / __ \___ _   _____  / /___  ____  ___  _____   / / / /_  __/ /_ /  \ #
# \__/  / / / / _ \ | / / _ \/ / __ \/ __ \/ _ \/ ___/  / /_/ / / / / __ \\__/ #
# /  \ / /_/ /  __/ |/ /  __/ / /_/ / /_/ /  __/ /     / __  / /_/ / /_/ //  \ #
# \__//_____/\___/|___/\___/_/\____/ .___/\___/_/     /_/ /_/\__,_/_.___/ \__/ #
# /  \                            /_/                                     /  \ #
# \__/                __   __        __                  __               \__/ #
# /  \          \  / /  \ /  `  /\  |__) |  | |     /\  |__) \ /          /  \ #
# \__/           \/  \__/ \__, /~~\ |__) \__/ |___ /~~\ |  \  |           \__/ #
# /  \__                                                                  /  \ #
# \__/  \__    __    __    __    __    __    __    __    __    __    __   \__/ #
# /  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \ #
# \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/ #
#    \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/    #
#                                                                              #
##----------------------------------------------------------------------------##
#              __   __            __   __             ___                      # 
#   /\   |\/| /  \ |__)     |\/| /  \ |  \ |  | |    |__                       # 
#  /~~\  |  | \__X |        |  | \__/ |__/ \__/ |___ |___                      # 
#                                                                              #
##----------------------------------------------------------------------------##

##-- PREFIXES ----------------------------------------------------------------##

@prefix rdfs:  .
@prefix rdf:   .
@prefix owl:   .
@prefix xsd:   .

@prefix sdh:       .
@prefix platform:  .
@prefix amqp:      .
@prefix types:      .

@prefix foaf:     .
@prefix dcterms:  . 

# PROV ontology
@prefix prov:    .
# Dublin Core Metadata Element Set, Version 1.1
@prefix dc:      .
# Dublin Core Metadata Initiative Type Vocabulary
@prefix dctype:  .
# Web of Trust Ontology
@prefix wot:     . 
# SemWeb Vocab Status Ontology
@prefix vs:      .
# Resource Directory Description Language (RDDL)
@prefix rddl:    .

##-- MODULE DECLARATION ------------------------------------------------------##

@base  .

 rdf:type owl:Ontology ;
  owl:versionIRI  ;
  owl:imports 
     .

##-- ENUMERATIONS-------------------------------------------------------------##

##-- CLASSES -----------------------------------------------------------------##

# A broker may specify a host and port. 
# If no host is specified, "localhost" (127.0.0.1) will be used as default value.
# If no port is specified, AMQP's default port will be used as default (i.e., 5672).
# If no virtual host is specified, "/" will be used as default value.
amqp:Broker a owl:Class ;
  rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty amqp:host ;
    owl:maxCardinality "1"^^xsd:nonNegativeInteger
  ] , [
    a owl:Restriction ;
    owl:onProperty amqp:port ;
    owl:maxCardinality "1"^^xsd:nonNegativeInteger
  ] , [
    a owl:Restriction ;
    owl:onProperty amqp:virtualHost ;
    owl:maxCardinality "1"^^xsd:nonNegativeInteger
  ] .

amqp:ShortString a rdfs:Datatype ;
  rdfs:subClassOf xsd:token ;
  xsd:minLength "0"^^xsd:nonNegativeInteger ;
  xsd:maxLength "255"^^xsd:nonNegativeInteger .

amqp:Path a rdfs:Datatype ;
  rdfs:subClassOf amqp:ShortString ;
  xsd:minLength "1"^^xsd:nonNegativeInteger ;
  xsd:maxLength "127"^^xsd:nonNegativeInteger .

amqp:Name a rdfs:Datatype ;
  rdfs:subClassOf amqp:ShortString ;
  xsd:maxLength "127"^^xsd:nonNegativeInteger ;
  xsd:pattern "[a-zA-Z0-9\\-_\\.:]*" .

amqp:RoutingKey a rdfs:Datatype ;
  rdfs:subClassOf amqp:ShortString ;
  xsd:pattern "[a-zA-Z0-9]+(\\.[a-zA-Z0-9]+)*" .

##-- PROPERTIES --------------------------------------------------------------##

amqp:broker a owl:ObjectProperty ;
  rdfs:range amqp:Broker .

amqp:virtualHost a owl:DatatypeProperty ;
  rdfs:range amqp:Path .

amqp:exchangeName a owl:DatatypeProperty ;
  rdfs:range amqp:Name .
  
amqp:routingKey a owl:DatatypeProperty ;
  rdfs:range amqp:RoutingKey .

amqp:host a owl:DatatypeProperty ;
  rdfs:range types:Hostname .

amqp:port a owl:DatatypeProperty ;
  rdfs:range types:Port .

##-- REFINEMENTS -------------------------------------------------------------##

##-- INDIVIDUALS--------------------------------------------------------------##

##----------------------------------------------------------------------------##
#  MODULE END                                                                  #
##----------------------------------------------------------------------------##




© 2015 - 2025 Weber Informatics LLC | Privacy Policy