@prefix : <https://meta.linked.archi/examples/cloudplatform/onto#> .
@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://meta.linked.archi/examples/cloudplatform/onto#> .

<https://meta.linked.archi/examples/cloudplatform/onto#> rdf:type owl:Ontology ;
                                                          owl:imports <https://meta.linked.archi/archimate4/onto#> ;
                                                          <http://creativecommons.org/ns#license> "http://creativecommons.org/licenses/by/4.0/" ;
                                                          <http://purl.org/dc/elements/1.1/description> """Example custom metamodel extending ArchiMate 4.0 with cloud platform
concepts — microservices, containers, message brokers, API gateways, and
observability components. Demonstrates how to build an organization-specific
modeling language on top of the Linked.Archi foundation."""@en ;
                                                          <http://purl.org/dc/elements/1.1/publisher> "Linked.Archi"@en ;
                                                          <http://purl.org/dc/elements/1.1/title> "Cloud Platform Architecture Ontology"@en ;
                                                          <http://purl.org/dc/terms/created> "2026-05-03"^^xsd:date ;
                                                          <http://purl.org/dc/terms/modified> "2026-05-03"^^xsd:date ;
                                                          <http://purl.org/vocab/vann/preferredNamespacePrefix> "cp" ;
                                                          <http://purl.org/vocab/vann/preferredNamespaceUri> "https://meta.linked.archi/examples/cloudplatform/onto#" ;
                                                          owl:versionInfo "0.1.0"@en .

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

###  https://meta.linked.archi/core#prefVisNotation
<https://meta.linked.archi/core#prefVisNotation> rdf:type owl:AnnotationProperty .


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

###  https://meta.linked.archi/examples/cloudplatform/onto#deployedIn
:deployedIn rdf:type owl:ObjectProperty ;
            <http://www.w3.org/2004/02/skos/core#definition> "A container is deployed in a Kubernetes cluster."@en ;
            <http://www.w3.org/2004/02/skos/core#prefLabel> "deployed in"@en ;
            <https://meta.linked.archi/core#domainIncludes> :Container ;
            <https://meta.linked.archi/core#rangeIncludes> :KubernetesCluster .


###  https://meta.linked.archi/examples/cloudplatform/onto#publishesTo
:publishesTo rdf:type owl:ObjectProperty ;
             <http://www.w3.org/2004/02/skos/core#definition> "A microservice publishes events to a topic."@en ;
             <http://www.w3.org/2004/02/skos/core#prefLabel> "publishes to"@en ;
             <https://meta.linked.archi/core#domainIncludes> :Microservice ;
             <https://meta.linked.archi/core#rangeIncludes> :EventTopic .


###  https://meta.linked.archi/examples/cloudplatform/onto#qualifiedDeployedIn
:qualifiedDeployedIn rdf:type owl:ObjectProperty ;
                     rdfs:range :Deployment ;
                     <https://meta.linked.archi/core#unqualifiedForm> :deployedIn .


###  https://meta.linked.archi/examples/cloudplatform/onto#qualifiedPublishesTo
:qualifiedPublishesTo rdf:type owl:ObjectProperty ;
                      rdfs:range :Publishing ;
                      <https://meta.linked.archi/core#unqualifiedForm> :publishesTo .


###  https://meta.linked.archi/examples/cloudplatform/onto#qualifiedSubscribesTo
:qualifiedSubscribesTo rdf:type owl:ObjectProperty ;
                       rdfs:range :Subscription ;
                       <https://meta.linked.archi/core#unqualifiedForm> :subscribesTo .


###  https://meta.linked.archi/examples/cloudplatform/onto#subscribesTo
:subscribesTo rdf:type owl:ObjectProperty ;
              <http://www.w3.org/2004/02/skos/core#definition> "A microservice subscribes to events from a topic."@en ;
              <http://www.w3.org/2004/02/skos/core#prefLabel> "subscribes to"@en ;
              <https://meta.linked.archi/core#domainIncludes> :Microservice ;
              <https://meta.linked.archi/core#rangeIncludes> :EventTopic .


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

###  https://meta.linked.archi/examples/cloudplatform/onto#containerImage
:containerImage rdf:type owl:DatatypeProperty ;
                rdfs:range xsd:string ;
                <http://www.w3.org/2004/02/skos/core#definition> "Docker image reference (e.g., registry.example.com/order-service:1.2.3)."@en ;
                <http://www.w3.org/2004/02/skos/core#prefLabel> "container image"@en ;
                <https://meta.linked.archi/core#domainIncludes> :Container .


###  https://meta.linked.archi/examples/cloudplatform/onto#databaseEngine
:databaseEngine rdf:type owl:DatatypeProperty ;
                rdfs:range xsd:string ;
                <http://www.w3.org/2004/02/skos/core#definition> "Database engine type (e.g., PostgreSQL, MySQL, MongoDB)."@en ;
                <http://www.w3.org/2004/02/skos/core#prefLabel> "database engine"@en ;
                <https://meta.linked.archi/core#domainIncludes> :ManagedDatabase .


###  https://meta.linked.archi/examples/cloudplatform/onto#deploymentStrategy
:deploymentStrategy rdf:type owl:DatatypeProperty ;
                    rdfs:range xsd:string ;
                    <http://www.w3.org/2004/02/skos/core#definition> "How the service is deployed: blue-green, canary, rolling, recreate."@en ;
                    <http://www.w3.org/2004/02/skos/core#prefLabel> "deployment strategy"@en ;
                    <https://meta.linked.archi/core#domainIncludes> :Microservice .


###  https://meta.linked.archi/examples/cloudplatform/onto#replicaCount
:replicaCount rdf:type owl:DatatypeProperty ;
              rdfs:range xsd:integer ;
              <http://www.w3.org/2004/02/skos/core#definition> "Number of running replicas for this container."@en ;
              <http://www.w3.org/2004/02/skos/core#prefLabel> "replica count"@en ;
              <https://meta.linked.archi/core#domainIncludes> :Container .


###  https://meta.linked.archi/examples/cloudplatform/onto#resilienceLevel
:resilienceLevel rdf:type owl:DatatypeProperty ;
                 rdfs:range xsd:string ;
                 <http://www.w3.org/2004/02/skos/core#definition> "Criticality classification: critical, high, medium, low."@en ;
                 <http://www.w3.org/2004/02/skos/core#prefLabel> "resilience level"@en ;
                 <https://meta.linked.archi/core#domainIncludes> :Microservice .


###  https://meta.linked.archi/examples/cloudplatform/onto#serviceTier
:serviceTier rdf:type owl:DatatypeProperty ;
             rdfs:range xsd:string ;
             <http://www.w3.org/2004/02/skos/core#definition> "SLA tier: tier-1 (99.99%), tier-2 (99.9%), tier-3 (99%)."@en ;
             <http://www.w3.org/2004/02/skos/core#prefLabel> "service tier"@en ;
             <https://meta.linked.archi/core#domainIncludes> :Microservice .


###  https://meta.linked.archi/examples/cloudplatform/onto#topicPartitions
:topicPartitions rdf:type owl:DatatypeProperty ;
                 rdfs:range xsd:integer ;
                 <http://www.w3.org/2004/02/skos/core#definition> "Number of partitions for this event topic."@en ;
                 <http://www.w3.org/2004/02/skos/core#prefLabel> "topic partitions"@en ;
                 <https://meta.linked.archi/core#domainIncludes> :EventTopic .


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

###  https://meta.linked.archi/examples/cloudplatform/onto#APIGateway
:APIGateway rdf:type owl:Class ;
            rdfs:subClassOf <https://meta.linked.archi/archimate4/onto#ApplicationComponent> ;
            <http://www.w3.org/2004/02/skos/core#definition> """An entry point that routes, authenticates, rate-limits, and aggregates
API calls from external consumers to internal microservices."""@en ;
            <http://www.w3.org/2004/02/skos/core#prefLabel> "API Gateway"@en ;
            <https://meta.linked.archi/core#prefVisNotation> "https://example.com/icons/api-gateway.svg" .


###  https://meta.linked.archi/examples/cloudplatform/onto#CacheStore
:CacheStore rdf:type owl:Class ;
            rdfs:subClassOf <https://meta.linked.archi/archimate4/onto#ApplicationComponent> ;
            <http://www.w3.org/2004/02/skos/core#definition> "An in-memory cache (e.g., Redis, Memcached) for low-latency data access."@en ;
            <http://www.w3.org/2004/02/skos/core#prefLabel> "Cache Store"@en ;
            <https://meta.linked.archi/core#prefVisNotation> "https://example.com/icons/cache.svg" .


###  https://meta.linked.archi/examples/cloudplatform/onto#Container
:Container rdf:type owl:Class ;
           rdfs:subClassOf <https://meta.linked.archi/archimate4/onto#Node> ;
           <http://www.w3.org/2004/02/skos/core#definition> """A lightweight, portable runtime unit (e.g., Docker container) that
packages a microservice with its dependencies."""@en ;
           <http://www.w3.org/2004/02/skos/core#prefLabel> "Container"@en ;
           <https://meta.linked.archi/core#prefVisNotation> "https://example.com/icons/container.svg" .


###  https://meta.linked.archi/examples/cloudplatform/onto#Deployment
:Deployment rdf:type owl:Class ;
            rdfs:subClassOf <https://meta.linked.archi/core#QualifiedRelationship> ;
            <http://www.w3.org/2004/02/skos/core#definition> "A deployment relationship from a container to a cluster."@en ;
            <http://www.w3.org/2004/02/skos/core#prefLabel> "Deployment"@en ;
            <https://meta.linked.archi/core#unqualifiedForm> :deployedIn .


###  https://meta.linked.archi/examples/cloudplatform/onto#EventTopic
:EventTopic rdf:type owl:Class ;
            rdfs:subClassOf <https://meta.linked.archi/archimate4/onto#DataObject> ;
            <http://www.w3.org/2004/02/skos/core#definition> "A named channel on a message broker where events are published and consumed."@en ;
            <http://www.w3.org/2004/02/skos/core#prefLabel> "Event Topic"@en ;
            <https://meta.linked.archi/core#prefVisNotation> "https://example.com/icons/event-topic.svg" .


###  https://meta.linked.archi/examples/cloudplatform/onto#KubernetesCluster
:KubernetesCluster rdf:type owl:Class ;
                   rdfs:subClassOf <https://meta.linked.archi/archimate4/onto#Node> ;
                   <http://www.w3.org/2004/02/skos/core#definition> "A Kubernetes cluster that orchestrates container deployment and scaling."@en ;
                   <http://www.w3.org/2004/02/skos/core#prefLabel> "Kubernetes Cluster"@en ;
                   <https://meta.linked.archi/core#prefVisNotation> "https://example.com/icons/k8s-cluster.svg" .


###  https://meta.linked.archi/examples/cloudplatform/onto#ManagedDatabase
:ManagedDatabase rdf:type owl:Class ;
                 rdfs:subClassOf <https://meta.linked.archi/archimate4/onto#ApplicationComponent> ;
                 <http://www.w3.org/2004/02/skos/core#definition> "A cloud-managed database service (e.g., RDS, Cloud SQL, Cosmos DB)."@en ;
                 <http://www.w3.org/2004/02/skos/core#prefLabel> "Managed Database"@en ;
                 <https://meta.linked.archi/core#prefVisNotation> "https://example.com/icons/managed-db.svg" .


###  https://meta.linked.archi/examples/cloudplatform/onto#MessageBroker
:MessageBroker rdf:type owl:Class ;
               rdfs:subClassOf <https://meta.linked.archi/archimate4/onto#ApplicationComponent> ;
               <http://www.w3.org/2004/02/skos/core#definition> """An asynchronous messaging infrastructure component (e.g., Kafka, RabbitMQ)
that decouples producers from consumers."""@en ;
               <http://www.w3.org/2004/02/skos/core#prefLabel> "Message Broker"@en ;
               <https://meta.linked.archi/core#prefVisNotation> "https://example.com/icons/message-broker.svg" .


###  https://meta.linked.archi/examples/cloudplatform/onto#Microservice
:Microservice rdf:type owl:Class ;
              rdfs:subClassOf <https://meta.linked.archi/archimate4/onto#ApplicationComponent> ;
              <http://www.w3.org/2004/02/skos/core#definition> """A fine-grained, independently deployable service that implements
a bounded context. Communicates with other services via APIs or messaging."""@en ;
              <http://www.w3.org/2004/02/skos/core#example> """ex:OrderService a cp:Microservice ;
    skos:prefLabel \"Order Service\"@en ;
    cp:resilienceLevel \"critical\" ;
    cp:deploymentStrategy \"blue-green\" ;
    cp:serviceTier \"tier-1\" ."""@en ;
              <http://www.w3.org/2004/02/skos/core#prefLabel> "Microservice"@en ;
              <https://meta.linked.archi/core#prefVisNotation> "https://example.com/icons/microservice.svg" .


###  https://meta.linked.archi/examples/cloudplatform/onto#ObservabilityStack
:ObservabilityStack rdf:type owl:Class ;
                    rdfs:subClassOf <https://meta.linked.archi/archimate4/onto#ApplicationComponent> ;
                    <http://www.w3.org/2004/02/skos/core#definition> "A monitoring, logging, and tracing infrastructure (e.g., Prometheus + Grafana + Jaeger)."@en ;
                    <http://www.w3.org/2004/02/skos/core#prefLabel> "Observability Stack"@en ;
                    <https://meta.linked.archi/core#prefVisNotation> "https://example.com/icons/observability.svg" .


###  https://meta.linked.archi/examples/cloudplatform/onto#Publishing
:Publishing rdf:type owl:Class ;
            rdfs:subClassOf <https://meta.linked.archi/core#QualifiedRelationship> ;
            <http://www.w3.org/2004/02/skos/core#definition> "A publishing relationship from a microservice to an event topic."@en ;
            <http://www.w3.org/2004/02/skos/core#prefLabel> "Publishing"@en ;
            <https://meta.linked.archi/core#unqualifiedForm> :publishesTo .


###  https://meta.linked.archi/examples/cloudplatform/onto#Subscription
:Subscription rdf:type owl:Class ;
              rdfs:subClassOf <https://meta.linked.archi/core#QualifiedRelationship> ;
              <http://www.w3.org/2004/02/skos/core#definition> "A subscription relationship from a microservice to an event topic."@en ;
              <http://www.w3.org/2004/02/skos/core#prefLabel> "Subscription"@en ;
              <https://meta.linked.archi/core#unqualifiedForm> :subscribesTo .


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