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

vocabulary.v1.metrics.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
# #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
#

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

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

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

@prefix sdh:       .
@prefix platform:  .
@prefix ci:        .
@prefix scm:       .
@prefix org:       .
@prefix metrics:   .

@prefix oslc:         .
@prefix oslc_auto:    .
@prefix oslc_asset:   .
@prefix oslc_config:  .

@prefix doap:     .
@prefix foaf:     .
@prefix dcterms:  . 

# PROV ontology
@prefix prov:  .
# Dublin Core Metadata Element Set, Version 1.1
@prefix dc:    .
# 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 -----------------------------------------------------------------##

metrics:MetricService a owl:Class ;
  rdfs:subClassOf platform:LinkedDataMicroService ;
  rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty platform:vocabulary ;
    owl:someValuesFrom metrics:MetricVocabulary 
  ] , [ 
    a owl:Restriction ;
    owl:onProperty platform:hasResourceType ;
    owl:hasValue metrics:MetricEndpoint
  ] , [ 
    a owl:Restriction ;
    owl:onProperty platform:providesDomain ;
    owl:hasValue metrics:MetricDomain 
  ] , [
    a owl:Restriction ;
    owl:onProperty metrics:calculatesMetric ;
    owl:minCardinality "1"^^xsd:nonNegativeInteger ;
  ] , [
    a owl:Restriction ;
    owl:onProperty metrics:hasEndpoint ;
    owl:minCardinality "1"^^xsd:nonNegativeInteger ;
  ].  

metrics:MetricEndpoint a owl:Class ;
  rdfs:subClassOf platform:Endpoint ;
  rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty metrics:supports;
    owl:cardinality "1"^^xsd:nonNegativeInteger ;
  ] .
  
metrics:MetricDefinition a owl:Class ;
  rdfs:subClassOf platform:Operation .

metrics:MetricVocabulary a owl:Class ;
  rdfs:subClassOf platform:Vocabulary ;
  rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty platform:implements ;
    owl:hasValue metrics:MetricDomain
  ] .  


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

metrics:calculatesMetric a owl:ObjectProperty ;
  rdfs:domain metrics:MetricService ;
  rdfs:range metrics:MetricDefinition .
  
metrics:hasEndpoint a owl:ObjectProperty ;
  rdfs:subPropertyOf platform:hasResource ;
  rdfs:domain metrics:MetricService ;
  rdfs:range metrics:MetricEndpoint .

metrics:supports a owl:ObjectProperty ;
  rdfs:subPropertyOf platform:providesOperation ;  
  rdfs:domain metrics:MetricEndpoint ;
  rdfs:range metrics:MetricDefinition .

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

metrics:MetricDomain a platform:Domain ;
  platform:identifier "Metrics" ;
  platform:title "Metrics" ;
  platform:description "Metrics Domain" .

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy