# Editable RDFS vocabulary source. Assemble distributions with scripts/build_rdf.py.
# Copyright (c) 2026 CoreStory, Inc. — Apache-2.0

@prefix export: <https://ontologies.corestory.ai/sao/export/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sao: <https://ontologies.corestory.ai/sao/> .
@prefix schema: <http://schema.org/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

sao:BoundedContext a rdfs:Class ;
    rdfs:label "BoundedContext" ;
    rdfs:comment "A semantic boundary within which a domain model applies consistently. Corresponds to DDD bounded context concept." ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf sao:NamedEntity ;
    skos:note "Isolates domain models to prevent ambiguity and maintain consistency within a specific business domain or subdomain." .

sao:Capability a rdfs:Class ;
    rdfs:label "Capability" ;
    rdfs:comment "A discrete business or technical ability the system provides" ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf sao:NamedEntity ;
    skos:note "Represents what the system can do, abstracting the implementation details." .

sao:Component a rdfs:Class ;
    rdfs:label "Component" ;
    rdfs:comment "A logical building block within a module (class, function group, etc.)" ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf sao:NamedEntity .

sao:Dependency a rdfs:Class ;
    rdfs:label "Dependency" ;
    rdfs:comment "A lightweight dependency reference between components or services" ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf sao:NamedEntity ;
    skos:note "Documents dependencies for build, deployment, and runtime management." .

sao:Endpoint a rdfs:Class ;
    rdfs:label "Endpoint" ;
    rdfs:comment "A specific addressable entry point on a service" ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf sao:NamedEntity ;
    skos:note "Represents a concrete API endpoint or service entry point." .

sao:EventInterface a rdfs:Class ;
    rdfs:label "EventInterface" ;
    rdfs:comment "Event-driven interface" ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf sao:Interface ;
    skos:note "Event-driven asynchronous interface." .

sao:Feature a rdfs:Class ;
    rdfs:label "Feature" ;
    rdfs:comment "A user-facing manifestation of one or more capabilities" ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf sao:NamedEntity ;
    skos:note "Represents functionality as perceived by end users or consumers of the system." .

sao:Interface a rdfs:Class ;
    rdfs:label "Interface" ;
    rdfs:comment "A contract-defined boundary through which interaction occurs" ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf sao:NamedEntity ;
    skos:note "Defines how actors and systems interact with the application." .

sao:Module a rdfs:Class ;
    rdfs:label "Module" ;
    rdfs:comment "A deployable, cohesive unit of functionality within a bounded context" ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf sao:NamedEntity,
        sao:Versionable ;
    skos:note "Provides a logical grouping of related components that can be independently versioned and deployed." .

sao:ProgrammaticInterface a rdfs:Class ;
    rdfs:label "ProgrammaticInterface" ;
    rdfs:comment "Machine-to-machine interface" ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf sao:Interface ;
    skos:note "Machine-to-machine API interface." .

sao:Screen a rdfs:Class ;
    rdfs:label "Screen" ;
    rdfs:comment "A single screen or view in a user interface" ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf sao:NamedEntity ;
    skos:note "Represents a specific UI view that offers operations to users." .

sao:Service a rdfs:Class ;
    rdfs:label "Service" ;
    rdfs:comment "An independently deployable runtime unit" ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf sao:NamedEntity ;
    skos:note "Represents a running process that exposes endpoints and can be deployed independently." .

sao:System a rdfs:Class ;
    rdfs:label "System" ;
    rdfs:comment "Top-level container representing a software product, platform, or application" ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf sao:NamedEntity,
        sao:Versionable ;
    skos:note "The system is the root entity that encapsulates its bounded contexts, integrations, policies, and compliance requirements." .

sao:UserInterface a rdfs:Class ;
    rdfs:label "UserInterface" ;
    rdfs:comment "User-facing interface" ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf sao:Interface ;
    skos:note "User-facing interface for human interaction." .

sao:FeatureCategory a rdfs:Datatype ;
    rdfs:label "FeatureCategory" ;
    rdfs:comment "Categories of features" ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf rdfs:Literal ;
    export:permissibleValue <https://ontologies.corestory.ai/sao/export/values/FeatureCategory/core>,
        <https://ontologies.corestory.ai/sao/export/values/FeatureCategory/deprecated>,
        <https://ontologies.corestory.ai/sao/export/values/FeatureCategory/experimental>,
        <https://ontologies.corestory.ai/sao/export/values/FeatureCategory/optional> .

sao:InterfaceCategory a rdfs:Datatype ;
    rdfs:label "InterfaceCategory" ;
    rdfs:comment "Categories of system interfaces" ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf rdfs:Literal ;
    export:permissibleValue <https://ontologies.corestory.ai/sao/export/values/InterfaceCategory/event_interface>,
        <https://ontologies.corestory.ai/sao/export/values/InterfaceCategory/programmatic_interface>,
        <https://ontologies.corestory.ai/sao/export/values/InterfaceCategory/user_interface> .

sao:accessible_by_roles a rdf:Property ;
    rdfs:label "accessible_by_roles" ;
    rdfs:comment "Roles that can access this feature.",
        "[Feature] Roles that can access this feature." ;
    rdfs:domain sao:Feature ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Role .

sao:affected_by_incidents a rdf:Property ;
    rdfs:label "affected_by_incidents" ;
    rdfs:comment "Incidents affecting this service.",
        "[Service] Incidents affecting this service." ;
    rdfs:domain sao:Service ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Incident .

sao:api_type a rdf:Property ;
    rdfs:label "api_type" ;
    rdfs:comment "Type of machine-to-machine API interface.",
        "[ProgrammaticInterface] Type of machine-to-machine API interface." ;
    rdfs:domain sao:ProgrammaticInterface ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:APIType .

sao:architectural_patterns a rdf:Property ;
    rdfs:label "architectural_patterns" ;
    schema:domainIncludes sao:BoundedContext,
        sao:Module ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:ArchitecturalPatternType .

sao:assessed_by a rdf:Property ;
    rdfs:label "assessed_by" ;
    rdfs:comment "Risk assessments for the system.",
        "[System] Risk assessments for the system." ;
    rdfs:domain sao:System ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:RiskAssessment .

sao:authentication_required a rdf:Property ;
    rdfs:label "authentication_required" ;
    rdfs:comment "Whether authentication is required.",
        "[Interface] Whether authentication is required." ;
    rdfs:domain sao:Interface ;
    rdfs:isDefinedBy sao: ;
    rdfs:range xsd:boolean .

sao:belongs_to_interface a rdf:Property ;
    rdfs:label "belongs_to_interface" ;
    rdfs:comment "The programmatic interface this endpoint belongs to.",
        "[Endpoint] The programmatic interface this endpoint belongs to." ;
    rdfs:domain sao:Endpoint ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:ProgrammaticInterface .

sao:component_documented_by_artifacts a rdf:Property ;
    rdfs:label "component_documented_by_artifacts" ;
    rdfs:domain sao:Component ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:KnowledgeArtifact .

sao:component_serves_model a rdf:Property ;
    rdfs:label "component_serves_model" ;
    rdfs:comment "ML models served by this component.",
        "[Component] ML models served by this component." ;
    rdfs:domain sao:Component ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:MLModel .

sao:component_uses_concurrency_pattern a rdf:Property ;
    rdfs:label "component_uses_concurrency_pattern" ;
    rdfs:comment "Concurrency patterns used by this component.",
        "[Component] Concurrency patterns used by this component." ;
    rdfs:domain sao:Component ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:ConcurrencyPattern .

sao:contained_in_context a rdf:Property ;
    rdfs:label "contained_in_context" ;
    rdfs:comment "The parent bounded context.",
        "[Module] The parent bounded context." ;
    rdfs:domain sao:Module ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:BoundedContext .

sao:contained_in_module a rdf:Property ;
    rdfs:label "contained_in_module" ;
    rdfs:comment "The parent module.",
        "[Component] The parent module." ;
    rdfs:domain sao:Component ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Module .

sao:contained_in_system a rdf:Property ;
    rdfs:label "contained_in_system" ;
    rdfs:comment "The parent system.",
        "[BoundedContext] The parent system." ;
    rdfs:domain sao:BoundedContext ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:System .

sao:contains_aggregates a rdf:Property ;
    rdfs:label "contains_aggregates" ;
    rdfs:comment "Aggregates within this bounded context.",
        "[BoundedContext] Aggregates within this bounded context." ;
    rdfs:domain sao:BoundedContext ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Aggregate .

sao:contains_bounded_contexts a rdf:Property ;
    rdfs:label "contains_bounded_contexts" ;
    rdfs:comment "Bounded contexts within the system.",
        "[System] Bounded contexts within the system." ;
    rdfs:domain sao:System ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:BoundedContext .

sao:contains_components a rdf:Property ;
    rdfs:label "contains_components" ;
    rdfs:comment "Components within this module.",
        "[Module] Components within this module." ;
    rdfs:domain sao:Module ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Component .

sao:contains_modules a rdf:Property ;
    rdfs:label "contains_modules" ;
    rdfs:comment "Modules within this bounded context.",
        "[BoundedContext] Modules within this bounded context." ;
    rdfs:domain sao:BoundedContext ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Module .

sao:contains_screens a rdf:Property ;
    rdfs:label "contains_screens" ;
    rdfs:comment "Screens in this interface.",
        "[UserInterface] Screens in this interface." ;
    rdfs:domain sao:UserInterface ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Screen .

sao:context_documented_by_artifacts a rdf:Property ;
    rdfs:label "context_documented_by_artifacts" ;
    rdfs:domain sao:BoundedContext ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:KnowledgeArtifact .

sao:context_map_relationship a rdf:Property ;
    rdfs:label "context_map_relationship" ;
    rdfs:comment "Relationship pattern (e.g., Customer-Supplier, Partnership)",
        "[BoundedContext] Relationship pattern (e.g., Customer-Supplier, Partnership)" ;
    rdfs:domain sao:BoundedContext ;
    rdfs:isDefinedBy sao: ;
    rdfs:range xsd:string .

sao:controlled_by_configs a rdf:Property ;
    rdfs:label "controlled_by_configs" ;
    rdfs:comment "Configurations that control feature availability.",
        "[Feature] Configurations that control feature availability." ;
    rdfs:domain sao:Feature ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Configuration .

sao:defined_by_contract a rdf:Property ;
    rdfs:label "defined_by_contract" ;
    rdfs:comment "The contract specifying the interface.",
        "[Interface] The contract specifying the interface." ;
    rdfs:domain sao:Interface ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Contract .

sao:depended_on_by_module a rdf:Property ;
    rdfs:label "depended_on_by_module" ;
    rdfs:comment "Modules that depend on this module.",
        "[Module] Modules that depend on this module." ;
    rdfs:domain sao:Module ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Module .

sao:depended_on_by_service a rdf:Property ;
    rdfs:label "depended_on_by_service" ;
    rdfs:comment "Services that depend on this one.",
        "[Service] Services that depend on this one." ;
    rdfs:domain sao:Service ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Service .

sao:dependency_type a rdf:Property ;
    rdfs:label "dependency_type" ;
    rdfs:comment "Type of dependency: runtime, build, optional, or dev.",
        "[Dependency] Type of dependency: runtime, build, optional, or dev." ;
    rdfs:domain sao:Dependency ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:DependencyType .

sao:depends_on_module a rdf:Property ;
    rdfs:label "depends_on_module" ;
    rdfs:comment "Other modules this module depends on.",
        "[Module] Other modules this module depends on." ;
    rdfs:domain sao:Module ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Module .

sao:depends_on_service a rdf:Property ;
    rdfs:label "depends_on_service" ;
    rdfs:comment "Services this service depends on.",
        "[Service] Services this service depends on." ;
    rdfs:domain sao:Service ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Service .

sao:deployed_as a rdf:Property ;
    rdfs:label "deployed_as" ;
    rdfs:comment "Deployments of this service.",
        "[Service] Deployments of this service." ;
    rdfs:domain sao:Service ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Deployment .

sao:downstream_from a rdf:Property ;
    rdfs:label "downstream_from" ;
    rdfs:comment "Bounded contexts that depend on this one.",
        "[BoundedContext] Bounded contexts that depend on this one." ;
    rdfs:domain sao:BoundedContext ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:BoundedContext .

sao:emits_events a rdf:Property ;
    rdfs:label "emits_events" ;
    rdfs:comment "Events produced by this component.",
        "[Component] Events produced by this component." ;
    rdfs:domain sao:Component ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Event .

sao:emits_metric a rdf:Property ;
    rdfs:label "emits_metric" ;
    rdfs:comment "Named metric link.",
        "[Component] Named metric link." ;
    rdfs:domain sao:Component ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Metric .

sao:emits_metrics a rdf:Property ;
    rdfs:label "emits_metrics" ;
    schema:domainIncludes sao:Component,
        sao:Service ;
    rdfs:comment "Metrics emitted by this component.",
        "[Component] Metrics emitted by this component.",
        "[Service] Metrics emitted by the service." ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Metric .

sao:enabled_by_capabilities a rdf:Property ;
    rdfs:label "enabled_by_capabilities" ;
    rdfs:comment "Capabilities that enable this feature.",
        "[Feature] Capabilities that enable this feature." ;
    rdfs:domain sao:Feature ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Capability .

sao:enables_features a rdf:Property ;
    rdfs:label "enables_features" ;
    rdfs:comment "Features enabled by this capability.",
        "[Capability] Features enabled by this capability." ;
    rdfs:domain sao:Capability ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Feature .

sao:enforces_policies a rdf:Property ;
    rdfs:label "enforces_policies" ;
    rdfs:comment "Policies that govern access control.",
        "[System] Policies that govern access control." ;
    rdfs:domain sao:System ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Policy .

sao:event_type a rdf:Property ;
    rdfs:label "event_type" ;
    rdfs:comment "Type of event-driven interface.",
        "[EventInterface] Type of event-driven interface." ;
    rdfs:domain sao:EventInterface ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:EventInterfaceType .

sao:exposed_by_service a rdf:Property ;
    rdfs:label "exposed_by_service" ;
    rdfs:comment "The parent service.",
        "[Endpoint] The parent service." ;
    rdfs:domain sao:Endpoint ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Service .

sao:exposed_by_system a rdf:Property ;
    rdfs:label "exposed_by_system" ;
    rdfs:comment "System exposing this interface.",
        "[Interface] System exposing this interface." ;
    rdfs:domain sao:Interface ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:System .

sao:exposes_endpoints a rdf:Property ;
    rdfs:label "exposes_endpoints" ;
    rdfs:comment "Endpoints exposed by the service.",
        "[Service] Endpoints exposed by the service." ;
    rdfs:domain sao:Service ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Endpoint .

sao:exposes_interfaces a rdf:Property ;
    rdfs:label "exposes_interfaces" ;
    rdfs:comment "Interfaces exposed to users and other systems.",
        "[System] Interfaces exposed to users and other systems." ;
    rdfs:domain sao:System ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Interface .

sao:exposes_operations a rdf:Property ;
    rdfs:label "exposes_operations" ;
    rdfs:comment "Operations that can be invoked on this component.",
        "[Component] Operations that can be invoked on this component." ;
    rdfs:domain sao:Component ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Operation .

sao:generates_logs a rdf:Property ;
    rdfs:label "generates_logs" ;
    rdfs:comment "Logs generated by this component.",
        "[Component] Logs generated by this component." ;
    rdfs:domain sao:Component ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Log .

sao:has_coverage a rdf:Property ;
    rdfs:label "has_coverage" ;
    rdfs:comment "Test coverage for this component.",
        "[Component] Test coverage for this component." ;
    rdfs:domain sao:Component ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:TestCoverage .

sao:has_dependencies a rdf:Property ;
    rdfs:label "has_dependencies" ;
    schema:domainIncludes sao:Component,
        sao:Module ;
    rdfs:comment "List of module dependencies with types (runtime, build, optional, dev).",
        "[Component] Component-level dependencies.",
        "[Module] List of module dependencies with types (runtime, build, optional, dev)." ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Dependency .

sao:has_endpoints a rdf:Property ;
    rdfs:label "has_endpoints" ;
    rdfs:comment "Endpoints belonging to this programmatic interface.",
        "[ProgrammaticInterface] Endpoints belonging to this programmatic interface." ;
    rdfs:domain sao:ProgrammaticInterface ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Endpoint .

sao:has_health_checks a rdf:Property ;
    rdfs:label "has_health_checks" ;
    rdfs:comment "Health check definitions.",
        "[Service] Health check definitions." ;
    rdfs:domain sao:Service ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:HealthCheck .

sao:has_integrations a rdf:Property ;
    rdfs:label "has_integrations" ;
    rdfs:comment "Integrations with external systems.",
        "[System] Integrations with external systems." ;
    rdfs:domain sao:System ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Integration .

sao:has_operations a rdf:Property ;
    rdfs:label "has_operations" ;
    rdfs:comment "Operations available at this endpoint.",
        "[Endpoint] Operations available at this endpoint." ;
    rdfs:domain sao:Endpoint ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Operation .

sao:has_target a rdf:Property ;
    rdfs:label "has_target" ;
    rdfs:comment "Target entity of the dependency.",
        "[Dependency] Target entity of the dependency." ;
    rdfs:domain sao:Dependency ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:NamedEntity .

sao:language a rdf:Property ;
    rdfs:label "language" ;
    rdfs:comment "Implementation language (DEPRECATED -- use written_in_language on CodeContainer)",
        "[Component] Implementation language (DEPRECATED -- use written_in_language on CodeContainer)" ;
    rdfs:domain sao:Component ;
    rdfs:isDefinedBy sao: ;
    rdfs:range xsd:string .

sao:mapped_from_directory a rdf:Property ;
    rdfs:label "mapped_from_directory" ;
    rdfs:domain sao:Module ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:StorageLocation .

sao:method a rdf:Property ;
    rdfs:label "method" ;
    rdfs:comment "HTTP method or operation type.",
        "[Endpoint] HTTP method or operation type." ;
    rdfs:domain sao:Endpoint ;
    rdfs:isDefinedBy sao: ;
    rdfs:range xsd:string .

sao:module_documented_by_artifacts a rdf:Property ;
    rdfs:label "module_documented_by_artifacts" ;
    rdfs:domain sao:Module ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:KnowledgeArtifact .

sao:module_has_coverage a rdf:Property ;
    rdfs:label "module_has_coverage" ;
    rdfs:comment "Test coverage for this module.",
        "[Module] Test coverage for this module." ;
    rdfs:domain sao:Module ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:TestCoverage .

sao:module_has_dependencies a rdf:Property ;
    rdfs:label "module_has_dependencies" ;
    rdfs:comment "Package dependencies.",
        "[Module] Package dependencies." ;
    rdfs:domain sao:Module ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:PackageDependency .

sao:module_managed_by_package_manager a rdf:Property ;
    rdfs:label "module_managed_by_package_manager" ;
    rdfs:comment "The package manager managing this module.",
        "[Module] The package manager managing this module." ;
    rdfs:domain sao:Module ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:PackageManager .

sao:module_tested_by_suites a rdf:Property ;
    rdfs:label "module_tested_by_suites" ;
    rdfs:comment "Test suites that test this module.",
        "[Module] Test suites that test this module." ;
    rdfs:domain sao:Module ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:TestSuite .

sao:must_comply_with a rdf:Property ;
    rdfs:label "must_comply_with" ;
    rdfs:comment "Compliance requirements the system must comply with.",
        "[System] Compliance requirements the system must comply with." ;
    rdfs:domain sao:System ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:ComplianceRequirement .

sao:offers_operations a rdf:Property ;
    rdfs:label "offers_operations" ;
    rdfs:comment "Operations available on this screen.",
        "[Screen] Operations available on this screen." ;
    rdfs:domain sao:Screen ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Operation .

sao:part_of_ui a rdf:Property ;
    rdfs:label "part_of_ui" ;
    rdfs:comment "The user interface this screen belongs to.",
        "[Screen] The user interface this screen belongs to." ;
    rdfs:domain sao:Screen ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:UserInterface .

sao:path a rdf:Property ;
    rdfs:label "path" ;
    rdfs:comment "URL path or route.",
        "[Endpoint] URL path or route." ;
    rdfs:domain sao:Endpoint ;
    rdfs:isDefinedBy sao: ;
    rdfs:range xsd:string .

sao:port a rdf:Property ;
    rdfs:label "port" ;
    rdfs:comment "Port number.",
        "[Endpoint] Port number." ;
    rdfs:domain sao:Endpoint ;
    rdfs:isDefinedBy sao: ;
    rdfs:range xsd:integer .

sao:provided_by_modules a rdf:Property ;
    rdfs:label "provided_by_modules" ;
    rdfs:comment "Modules providing this.",
        "[Capability] Modules providing this." ;
    rdfs:domain sao:Capability ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Module .

sao:provides_capabilities a rdf:Property ;
    rdfs:label "provides_capabilities" ;
    rdfs:comment "Capabilities offered by this module.",
        "[Module] Capabilities offered by this module." ;
    rdfs:domain sao:Module ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Capability .

sao:rate_limit a rdf:Property ;
    rdfs:label "rate_limit" ;
    rdfs:comment "Requests per minute limit.",
        "[Interface] Requests per minute limit." ;
    rdfs:domain sao:Interface ;
    rdfs:isDefinedBy sao: ;
    rdfs:range xsd:integer .

sao:realized_by_capabilities a rdf:Property ;
    rdfs:label "realized_by_capabilities" ;
    rdfs:comment "Capabilities realizing this feature.",
        "[Feature] Capabilities realizing this feature." ;
    rdfs:domain sao:Feature ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Capability .

sao:realizes_features a rdf:Property ;
    rdfs:label "realizes_features" ;
    rdfs:comment "Features enabled by this capability.",
        "[Capability] Features enabled by this capability." ;
    rdfs:domain sao:Capability ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Feature .

sao:receives_integration_events a rdf:Property ;
    rdfs:label "receives_integration_events" ;
    rdfs:comment "Integration events received.",
        "[Service] Integration events received." ;
    rdfs:domain sao:Service ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:IntegrationEvent .

sao:required_features a rdf:Property ;
    rdfs:label "required_features" ;
    rdfs:comment "Features needed to enable this module.",
        "[Module] Features needed to enable this module." ;
    rdfs:domain sao:Module ;
    rdfs:isDefinedBy sao: ;
    rdfs:range xsd:string .

sao:requires_permissions a rdf:Property ;
    rdfs:label "requires_permissions" ;
    rdfs:comment "Permissions needed to use this capability.",
        "[Capability] Permissions needed to use this capability." ;
    rdfs:domain sao:Capability ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Permission .

sao:route a rdf:Property ;
    rdfs:label "route" ;
    rdfs:comment "URL route or navigation path.",
        "[Screen] URL route or navigation path." ;
    rdfs:domain sao:Screen ;
    rdfs:isDefinedBy sao: ;
    rdfs:range xsd:string .

sao:runs_as_services a rdf:Property ;
    rdfs:label "runs_as_services" ;
    rdfs:comment "Services that execute this module.",
        "[Module] Services that execute this module." ;
    rdfs:domain sao:Module ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Service .

sao:runs_module a rdf:Property ;
    rdfs:label "runs_module" ;
    rdfs:comment "Module this service runs.",
        "[Service] Module this service runs." ;
    rdfs:domain sao:Service ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Module .

sao:service_documented_by_artifacts a rdf:Property ;
    rdfs:label "service_documented_by_artifacts" ;
    rdfs:domain sao:Service ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:KnowledgeArtifact .

sao:service_type a rdf:Property ;
    rdfs:label "service_type" ;
    rdfs:comment "Type of independently deployable runtime unit.",
        "[Service] Type of independently deployable runtime unit." ;
    rdfs:domain sao:Service ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:ServiceType .

sao:system_documented_by_artifacts a rdf:Property ;
    rdfs:label "system_documented_by_artifacts" ;
    rdfs:domain sao:System ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:KnowledgeArtifact .

sao:tested_by_suites a rdf:Property ;
    rdfs:label "tested_by_suites" ;
    rdfs:comment "Test suites that test this component.",
        "[Component] Test suites that test this component." ;
    rdfs:domain sao:Component ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:TestSuite .

sao:topics a rdf:Property ;
    rdfs:label "topics" ;
    rdfs:comment "Event topics or channels.",
        "[EventInterface] Event topics or channels." ;
    rdfs:domain sao:EventInterface ;
    rdfs:isDefinedBy sao: ;
    rdfs:range xsd:string .

sao:ubiquitous_language a rdf:Property ;
    rdfs:label "ubiquitous_language" ;
    rdfs:comment "Key terms in the ubiquitous language for this context",
        "[BoundedContext] Key terms in the ubiquitous language for this context" ;
    rdfs:domain sao:BoundedContext ;
    rdfs:isDefinedBy sao: ;
    rdfs:range xsd:string .

sao:ui_type a rdf:Property ;
    rdfs:label "ui_type" ;
    rdfs:comment "Type of user-facing interface.",
        "[UserInterface] Type of user-facing interface." ;
    rdfs:domain sao:UserInterface ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:UserInterfaceType .

sao:upstream_from a rdf:Property ;
    rdfs:label "upstream_from" ;
    rdfs:comment "Contexts upstream from this one (this context depends on them)",
        "[BoundedContext] Contexts upstream from this one (this context depends on them)" ;
    rdfs:domain sao:BoundedContext ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:BoundedContext .

sao:APIType a rdfs:Datatype ;
    rdfs:label "APIType" ;
    rdfs:comment "Types of programmatic interfaces" ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf rdfs:Literal ;
    export:permissibleValue <https://ontologies.corestory.ai/sao/export/values/APIType/graphql_api>,
        <https://ontologies.corestory.ai/sao/export/values/APIType/grpc_api>,
        <https://ontologies.corestory.ai/sao/export/values/APIType/rest_api>,
        <https://ontologies.corestory.ai/sao/export/values/APIType/sdk>,
        <https://ontologies.corestory.ai/sao/export/values/APIType/soap_api> .

sao:ArchitecturalPatternType a rdfs:Datatype ;
    rdfs:label "ArchitecturalPatternType" ;
    rdfs:comment "Types of architectural patterns" ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf rdfs:Literal ;
    export:permissibleValue <https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/api_gateway>,
        <https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/batch_sequential>,
        <https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/bff>,
        <https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/clean_architecture>,
        <https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/cqrs>,
        <https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/domain_model>,
        <https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/event_driven>,
        <https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/event_sourcing>,
        <https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/hexagonal>,
        <https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/layered>,
        <https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/microservice>,
        <https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/modular_monolith>,
        <https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/pipe_and_filter>,
        <https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/plugin>,
        <https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/repository>,
        <https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/saga>,
        <https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/sidecar>,
        <https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/strangler_fig>,
        <https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/table_module>,
        <https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/transaction_script> .

sao:DependencyType a rdfs:Datatype ;
    rdfs:label "DependencyType" ;
    rdfs:comment "Types of dependencies" ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf rdfs:Literal ;
    export:permissibleValue <https://ontologies.corestory.ai/sao/export/values/DependencyType/build>,
        <https://ontologies.corestory.ai/sao/export/values/DependencyType/dev>,
        <https://ontologies.corestory.ai/sao/export/values/DependencyType/optional>,
        <https://ontologies.corestory.ai/sao/export/values/DependencyType/runtime> .

sao:EventInterfaceType a rdfs:Datatype ;
    rdfs:label "EventInterfaceType" ;
    rdfs:comment "Types of event interfaces" ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf rdfs:Literal ;
    export:permissibleValue <https://ontologies.corestory.ai/sao/export/values/EventInterfaceType/event_stream>,
        <https://ontologies.corestory.ai/sao/export/values/EventInterfaceType/message_queue>,
        <https://ontologies.corestory.ai/sao/export/values/EventInterfaceType/pub_sub>,
        <https://ontologies.corestory.ai/sao/export/values/EventInterfaceType/webhook> .

sao:ServiceType a rdfs:Datatype ;
    rdfs:label "ServiceType" ;
    rdfs:comment "Types of runtime services" ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf rdfs:Literal ;
    export:permissibleValue <https://ontologies.corestory.ai/sao/export/values/ServiceType/batch_program>,
        <https://ontologies.corestory.ai/sao/export/values/ServiceType/cics_transaction>,
        <https://ontologies.corestory.ai/sao/export/values/ServiceType/daemon>,
        <https://ontologies.corestory.ai/sao/export/values/ServiceType/function>,
        <https://ontologies.corestory.ai/sao/export/values/ServiceType/ims_transaction>,
        <https://ontologies.corestory.ai/sao/export/values/ServiceType/job>,
        <https://ontologies.corestory.ai/sao/export/values/ServiceType/microservice>,
        <https://ontologies.corestory.ai/sao/export/values/ServiceType/monolith>,
        <https://ontologies.corestory.ai/sao/export/values/ServiceType/stored_proc_service> .

sao:UserInterfaceType a rdfs:Datatype ;
    rdfs:label "UserInterfaceType" ;
    rdfs:comment "Types of user interfaces" ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf rdfs:Literal ;
    export:permissibleValue <https://ontologies.corestory.ai/sao/export/values/UserInterfaceType/cli>,
        <https://ontologies.corestory.ai/sao/export/values/UserInterfaceType/desktop_ui>,
        <https://ontologies.corestory.ai/sao/export/values/UserInterfaceType/mobile_ui>,
        <https://ontologies.corestory.ai/sao/export/values/UserInterfaceType/web_ui> .

<https://ontologies.corestory.ai/sao/export/values/APIType/graphql_api> rdf:value "graphql_api" ;
    rdfs:comment "GraphQL query language API." .

<https://ontologies.corestory.ai/sao/export/values/APIType/grpc_api> rdf:value "grpc_api" ;
    rdfs:comment "gRPC remote procedure call API." .

<https://ontologies.corestory.ai/sao/export/values/APIType/rest_api> rdf:value "rest_api" ;
    rdfs:comment "RESTful HTTP-based API." .

<https://ontologies.corestory.ai/sao/export/values/APIType/sdk> rdf:value "sdk" ;
    rdfs:comment "Software development kit for programmatic access." .

<https://ontologies.corestory.ai/sao/export/values/APIType/soap_api> rdf:value "soap_api" ;
    rdfs:comment "SOAP protocol-based web service API." .

<https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/api_gateway> rdf:value "api_gateway" ;
    rdfs:comment "API gateway pattern" .

<https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/batch_sequential> rdf:value "batch_sequential" ;
    rdfs:comment "Batch sequential processing" .

<https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/bff> rdf:value "bff" ;
    rdfs:comment "Backend for Frontend pattern" .

<https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/clean_architecture> rdf:value "clean_architecture" ;
    rdfs:comment "Clean architecture (Uncle Bob)" .

<https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/cqrs> rdf:value "cqrs" ;
    rdfs:comment "Command Query Responsibility Segregation" .

<https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/domain_model> rdf:value "domain_model" ;
    rdfs:comment "Domain model pattern" .

<https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/event_driven> rdf:value "event_driven" ;
    rdfs:comment "Event-driven architecture" .

<https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/event_sourcing> rdf:value "event_sourcing" ;
    rdfs:comment "Event sourcing pattern" .

<https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/hexagonal> rdf:value "hexagonal" ;
    rdfs:comment "Hexagonal (ports and adapters) architecture" .

<https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/layered> rdf:value "layered" ;
    rdfs:comment "Traditional layered architecture" .

<https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/microservice> rdf:value "microservice" ;
    rdfs:comment "Microservice architecture" .

<https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/modular_monolith> rdf:value "modular_monolith" ;
    rdfs:comment "Modular monolith architecture" .

<https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/pipe_and_filter> rdf:value "pipe_and_filter" ;
    rdfs:comment "Pipe and filter architecture" .

<https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/plugin> rdf:value "plugin" ;
    rdfs:comment "Plugin architecture" .

<https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/repository> rdf:value "repository" ;
    rdfs:comment "Repository pattern" .

<https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/saga> rdf:value "saga" ;
    rdfs:comment "Saga pattern for distributed transactions" .

<https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/sidecar> rdf:value "sidecar" ;
    rdfs:comment "Sidecar pattern" .

<https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/strangler_fig> rdf:value "strangler_fig" ;
    rdfs:comment "Strangler fig migration pattern" .

<https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/table_module> rdf:value "table_module" ;
    rdfs:comment "Table module pattern" .

<https://ontologies.corestory.ai/sao/export/values/ArchitecturalPatternType/transaction_script> rdf:value "transaction_script" ;
    rdfs:comment "Transaction script pattern" .

<https://ontologies.corestory.ai/sao/export/values/DependencyType/build> rdf:value "build" ;
    rdfs:comment "Required at build or compile time." .

<https://ontologies.corestory.ai/sao/export/values/DependencyType/dev> rdf:value "dev" ;
    rdfs:comment "Required only for development or testing." .

<https://ontologies.corestory.ai/sao/export/values/DependencyType/optional> rdf:value "optional" ;
    rdfs:comment "Optional dependency for additional features." .

<https://ontologies.corestory.ai/sao/export/values/DependencyType/runtime> rdf:value "runtime" ;
    rdfs:comment "Required at runtime for execution." .

<https://ontologies.corestory.ai/sao/export/values/EventInterfaceType/event_stream> rdf:value "event_stream" ;
    rdfs:comment "Continuous stream of events." .

<https://ontologies.corestory.ai/sao/export/values/EventInterfaceType/message_queue> rdf:value "message_queue" ;
    rdfs:comment "Queue-based asynchronous messaging." .

<https://ontologies.corestory.ai/sao/export/values/EventInterfaceType/pub_sub> rdf:value "pub_sub" ;
    rdfs:comment "Publish-subscribe messaging pattern." .

<https://ontologies.corestory.ai/sao/export/values/EventInterfaceType/webhook> rdf:value "webhook" ;
    rdfs:comment "HTTP callback for event notifications." .

<https://ontologies.corestory.ai/sao/export/values/FeatureCategory/core> rdf:value "core" ;
    rdfs:comment "Essential feature required for basic operation." .

<https://ontologies.corestory.ai/sao/export/values/FeatureCategory/deprecated> rdf:value "deprecated" ;
    rdfs:comment "Feature scheduled for removal." .

<https://ontologies.corestory.ai/sao/export/values/FeatureCategory/experimental> rdf:value "experimental" ;
    rdfs:comment "Beta feature under development." .

<https://ontologies.corestory.ai/sao/export/values/FeatureCategory/optional> rdf:value "optional" ;
    rdfs:comment "Add-on feature that can be enabled or disabled." .

<https://ontologies.corestory.ai/sao/export/values/InterfaceCategory/event_interface> rdf:value "event_interface" ;
    rdfs:comment "Event-driven asynchronous interface." .

<https://ontologies.corestory.ai/sao/export/values/InterfaceCategory/programmatic_interface> rdf:value "programmatic_interface" ;
    rdfs:comment "Machine-to-machine API interface." .

<https://ontologies.corestory.ai/sao/export/values/InterfaceCategory/user_interface> rdf:value "user_interface" ;
    rdfs:comment "Human-facing interface for user interaction." .

<https://ontologies.corestory.ai/sao/export/values/ServiceType/batch_program> rdf:value "batch_program" ;
    rdfs:comment "Mainframe batch program" .

<https://ontologies.corestory.ai/sao/export/values/ServiceType/cics_transaction> rdf:value "cics_transaction" ;
    rdfs:comment "CICS online transaction" .

<https://ontologies.corestory.ai/sao/export/values/ServiceType/daemon> rdf:value "daemon" ;
    rdfs:comment "Background service or daemon process." .

<https://ontologies.corestory.ai/sao/export/values/ServiceType/function> rdf:value "function" ;
    rdfs:comment "Serverless function or lambda" .

<https://ontologies.corestory.ai/sao/export/values/ServiceType/ims_transaction> rdf:value "ims_transaction" ;
    rdfs:comment "IMS online transaction" .

<https://ontologies.corestory.ai/sao/export/values/ServiceType/job> rdf:value "job" ;
    rdfs:comment "Batch processing job" .

<https://ontologies.corestory.ai/sao/export/values/ServiceType/microservice> rdf:value "microservice" ;
    rdfs:comment "Small, independently deployable service." .

<https://ontologies.corestory.ai/sao/export/values/ServiceType/monolith> rdf:value "monolith" ;
    rdfs:comment "Single-tier monolithic application." .

<https://ontologies.corestory.ai/sao/export/values/ServiceType/stored_proc_service> rdf:value "stored_proc_service" ;
    rdfs:comment "Stored procedure exposed as service" .

<https://ontologies.corestory.ai/sao/export/values/UserInterfaceType/cli> rdf:value "cli" ;
    rdfs:comment "Command-line interface." .

<https://ontologies.corestory.ai/sao/export/values/UserInterfaceType/desktop_ui> rdf:value "desktop_ui" ;
    rdfs:comment "Desktop application user interface." .

<https://ontologies.corestory.ai/sao/export/values/UserInterfaceType/mobile_ui> rdf:value "mobile_ui" ;
    rdfs:comment "Mobile device (iOS/Android) user interface." .

<https://ontologies.corestory.ai/sao/export/values/UserInterfaceType/web_ui> rdf:value "web_ui" ;
    rdfs:comment "Web browser-based user interface." .

