# 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 skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

sao:Action a rdfs:Class ;
    rdfs:label "Action" ;
    rdfs:comment "An atomic operation that can be performed" ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf sao:NamedEntity .

sao:Command a rdfs:Class ;
    rdfs:label "Command" ;
    rdfs:comment "An action that changes system state" ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf sao:Action .

sao:DomainEvent a rdfs:Class ;
    rdfs:label "DomainEvent" ;
    rdfs:comment "A significant occurrence in the domain" ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf sao:Event .

sao:Event a rdfs:Class ;
    rdfs:label "Event" ;
    rdfs:comment "A notification that something occurred" ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf sao:NamedEntity .

sao:IntegrationEvent a rdfs:Class ;
    rdfs:label "IntegrationEvent" ;
    rdfs:comment "An event for cross-service communication" ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf sao:Event .

sao:Operation a rdfs:Class ;
    rdfs:label "Operation" ;
    rdfs:comment "A named, invocable unit of behavior exposed via an interface" ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf sao:NamedEntity ;
    skos:note "Represents a callable operation on a component or service." .

sao:Query a rdfs:Class ;
    rdfs:label "Query" ;
    rdfs:comment "A read-only action that retrieves data" ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf sao:Action .

sao:Rule a rdfs:Class ;
    rdfs:label "Rule" ;
    rdfs:comment "A declarative constraint or trigger governing behavior" ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf sao:NamedEntity .

sao:Step a rdfs:Class ;
    rdfs:label "Step" ;
    rdfs:comment "A discrete stage within a workflow" ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf sao:NamedEntity .

sao:Subscription a rdfs:Class ;
    rdfs:label "Subscription" ;
    rdfs:comment "A registration to receive events of a certain type" ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf sao:NamedEntity .

sao:Transaction a rdfs:Class ;
    rdfs:label "Transaction" ;
    rdfs:comment "A unit of work with ACID or BASE guarantees" ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf sao:NamedEntity .

sao:Workflow a rdfs:Class ;
    rdfs:label "Workflow" ;
    rdfs:comment "A coordinated sequence of actions achieving a business goal" ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf sao:NamedEntity ;
    skos:note "Orchestrates multi-step business processes." .

sao:ActionCategory a rdfs:Datatype ;
    rdfs:label "ActionCategory" ;
    rdfs:comment "Categories of actions" ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf rdfs:Literal ;
    export:permissibleValue <https://ontologies.corestory.ai/sao/export/values/ActionCategory/command>,
        <https://ontologies.corestory.ai/sao/export/values/ActionCategory/mutation>,
        <https://ontologies.corestory.ai/sao/export/values/ActionCategory/query> .

sao:EventCategory a rdfs:Datatype ;
    rdfs:label "EventCategory" ;
    rdfs:comment "Categories of events" ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf rdfs:Literal ;
    export:permissibleValue <https://ontologies.corestory.ai/sao/export/values/EventCategory/audit_event>,
        <https://ontologies.corestory.ai/sao/export/values/EventCategory/domain_event>,
        <https://ontologies.corestory.ai/sao/export/values/EventCategory/integration_event>,
        <https://ontologies.corestory.ai/sao/export/values/EventCategory/system_event> .

sao:RuleCategory a rdfs:Datatype ;
    rdfs:label "RuleCategory" ;
    rdfs:comment "Categories of business rules" ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf rdfs:Literal ;
    export:permissibleValue <https://ontologies.corestory.ai/sao/export/values/RuleCategory/business>,
        <https://ontologies.corestory.ai/sao/export/values/RuleCategory/constraint>,
        <https://ontologies.corestory.ai/sao/export/values/RuleCategory/derivation>,
        <https://ontologies.corestory.ai/sao/export/values/RuleCategory/trigger>,
        <https://ontologies.corestory.ai/sao/export/values/RuleCategory/validation> .

sao:accepts_input_schema a rdf:Property ;
    rdfs:label "accepts_input_schema" ;
    rdfs:comment "[Operation] `Schema` for input.",
        "`Schema` for input." ;
    rdfs:domain sao:Operation ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Schema .

sao:action a rdf:Property ;
    rdfs:label "action" ;
    rdfs:comment "Action when rule fires.",
        "[Rule] Action when rule fires." ;
    rdfs:domain sao:Rule ;
    rdfs:isDefinedBy sao: ;
    rdfs:range xsd:string .

sao:allowed_by_permissions a rdf:Property ;
    rdfs:label "allowed_by_permissions" ;
    rdfs:comment "[Action] `Permission` entities required.",
        "`Permission` entities required." ;
    rdfs:domain sao:Action ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Permission .

sao:allowed_in_states a rdf:Property ;
    rdfs:label "allowed_in_states" ;
    rdfs:comment "Back-reference to `State` entities that allow this action.",
        "[Action] Back-reference to `State` entities that allow this action." ;
    rdfs:domain sao:Action ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:State .

sao:command_type a rdf:Property ;
    rdfs:label "command_type" ;
    rdfs:comment "Kind of command.",
        "[Command] Kind of command." ;
    rdfs:domain sao:Command ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:CommandType .

sao:compensated_by_step a rdf:Property ;
    rdfs:label "compensated_by_step" ;
    rdfs:comment "Compensating step for rollback.",
        "[Step] Compensating step for rollback." ;
    rdfs:domain sao:Step ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Step .

sao:compensates_for_step a rdf:Property ;
    rdfs:label "compensates_for_step" ;
    rdfs:comment "Step this compensates for.",
        "[Step] Step this compensates for." ;
    rdfs:domain sao:Step ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Step .

sao:correlation_id a rdf:Property ;
    rdfs:label "correlation_id" ;
    rdfs:comment "For tracing related events.",
        "[Event] For tracing related events." ;
    rdfs:domain sao:Event ;
    rdfs:isDefinedBy sao: ;
    rdfs:range xsd:string .

sao:delivery_mode a rdf:Property ;
    rdfs:label "delivery_mode" ;
    rdfs:comment "Push or pull delivery.",
        "[Subscription] Push or pull delivery." ;
    rdfs:domain sao:Subscription ;
    rdfs:isDefinedBy sao: ;
    rdfs:range xsd:string .

sao:emits_events_from_action a rdf:Property ;
    rdfs:label "emits_events_from_action" ;
    rdfs:comment "[Action] `Event` entities emitted.",
        "`Event` entities emitted." ;
    rdfs:domain sao:Action ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Event .

sao:emitted_by_action a rdf:Property ;
    rdfs:label "emitted_by_action" ;
    rdfs:comment "Back-reference to `Action` entities that emit this event.",
        "[Event] Back-reference to `Action` entities that emit this event." ;
    rdfs:domain sao:Event ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Action .

sao:emitted_by_component a rdf:Property ;
    rdfs:label "emitted_by_component" ;
    rdfs:comment "[Event] `Component` that produced the event.",
        "`Component` that produced the event." ;
    rdfs:domain sao:Event ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Component .

sao:enforces_aggregate_invariants a rdf:Property ;
    rdfs:label "enforces_aggregate_invariants" ;
    rdfs:comment "Back-reference to `Aggregate` entities whose invariants this rule enforces.",
        "[Rule] Back-reference to `Aggregate` entities whose invariants this rule enforces." ;
    rdfs:domain sao:Rule ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Aggregate .

sao:errors a rdf:Property ;
    rdfs:label "errors" ;
    rdfs:comment "Possible error responses.",
        "[Operation] Possible error responses." ;
    rdfs:domain sao:Operation ;
    rdfs:isDefinedBy sao: ;
    rdfs:range xsd:string .

sao:event_structured_by_schema a rdf:Property ;
    rdfs:label "event_structured_by_schema" ;
    rdfs:comment "[Event] `Schema` defining event payload.",
        "`Schema` defining event payload." ;
    rdfs:domain sao:Event ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Schema .

sao:executed_by_operation a rdf:Property ;
    rdfs:label "executed_by_operation" ;
    rdfs:comment "Back-reference to `Operation` entities that execute this action.",
        "[Action] Back-reference to `Operation` entities that execute this action." ;
    rdfs:domain sao:Action ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Operation .

sao:executed_during_transition a rdf:Property ;
    rdfs:label "executed_during_transition" ;
    rdfs:comment "Back-reference to `Transition` entities that execute this action.",
        "[Action] Back-reference to `Transition` entities that execute this action." ;
    rdfs:domain sao:Action ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Transition .

sao:executed_in_step a rdf:Property ;
    rdfs:label "executed_in_step" ;
    rdfs:comment "Back-reference to `Step` entities that execute this action.",
        "[Action] Back-reference to `Step` entities that execute this action." ;
    rdfs:domain sao:Action ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Step .

sao:executes_actions a rdf:Property ;
    rdfs:label "executes_actions" ;
    rdfs:comment "[Transaction] `Action` entities in this transaction.",
        "`Action` entities in this transaction." ;
    rdfs:domain sao:Transaction ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Action .

sao:executes_actions_in_step a rdf:Property ;
    rdfs:label "executes_actions_in_step" ;
    rdfs:comment "[Step] `Action` entities executed.",
        "`Action` entities executed." ;
    rdfs:domain sao:Step ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Action .

sao:executes_in_transaction a rdf:Property ;
    rdfs:label "executes_in_transaction" ;
    rdfs:comment "[Action] `Transaction` context.",
        "`Transaction` context." ;
    rdfs:domain sao:Action ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Transaction .

sao:executes_operation_actions a rdf:Property ;
    rdfs:label "executes_operation_actions" ;
    rdfs:comment "[Operation] `Action` entities performed.",
        "`Action` entities performed." ;
    rdfs:domain sao:Operation ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Action .

sao:exposed_by_component a rdf:Property ;
    rdfs:label "exposed_by_component" ;
    rdfs:comment "[Operation] `Component` providing this operation.",
        "`Component` providing this operation." ;
    rdfs:domain sao:Operation ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Component .

sao:filter a rdf:Property ;
    rdfs:label "filter" ;
    rdfs:comment "Filter expression for event selection.",
        "[Subscription] Filter expression for event selection." ;
    rdfs:domain sao:Subscription ;
    rdfs:isDefinedBy sao: ;
    rdfs:range xsd:string .

sao:filters a rdf:Property ;
    rdfs:label "filters" ;
    rdfs:comment "Query filters.",
        "[Query] Query filters." ;
    rdfs:domain sao:Query ;
    rdfs:isDefinedBy sao: ;
    rdfs:range xsd:string .

sao:followed_by_steps a rdf:Property ;
    rdfs:label "followed_by_steps" ;
    rdfs:comment "Next steps in sequence.",
        "[Step] Next steps in sequence." ;
    rdfs:domain sao:Step ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Step .

sao:follows_step a rdf:Property ;
    rdfs:label "follows_step" ;
    rdfs:comment "Previous steps.",
        "[Step] Previous steps." ;
    rdfs:domain sao:Step ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Step .

sao:governs_domain_entities a rdf:Property ;
    rdfs:label "governs_domain_entities" ;
    rdfs:comment "Back-reference to `DomainEntity` entities governed by this rule.",
        "[Rule] Back-reference to `DomainEntity` entities governed by this rule." ;
    rdfs:domain sao:Rule ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:DomainEntity .

sao:guards_transitions a rdf:Property ;
    rdfs:label "guards_transitions" ;
    rdfs:comment "Back-reference to `Transition` entities guarded by this rule.",
        "[Rule] Back-reference to `Transition` entities guarded by this rule." ;
    rdfs:domain sao:Rule ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Transition .

sao:idempotency_key a rdf:Property ;
    rdfs:label "idempotency_key" ;
    rdfs:comment "For idempotent execution.",
        "[Command] For idempotent execution." ;
    rdfs:domain sao:Command ;
    rdfs:isDefinedBy sao: ;
    rdfs:range xsd:string .

sao:implemented_by_callables a rdf:Property ;
    rdfs:label "implemented_by_callables" ;
    rdfs:comment "[Operation] `CallableUnit` entities that implement this operation.",
        "`CallableUnit` entities that implement this operation." ;
    rdfs:domain sao:Operation ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:CallableUnit .

sao:isolation_level a rdf:Property ;
    rdfs:label "isolation_level" ;
    rdfs:comment "Transaction isolation level.",
        "[Transaction] Transaction isolation level." ;
    rdfs:domain sao:Transaction ;
    rdfs:isDefinedBy sao: ;
    rdfs:range xsd:string .

sao:offered_on_screens a rdf:Property ;
    rdfs:label "offered_on_screens" ;
    rdfs:comment "[Operation] `Screen` entities offering this operation.",
        "`Screen` entities offering this operation." ;
    rdfs:domain sao:Operation ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Screen .

sao:operation_tested_by_cases a rdf:Property ;
    rdfs:label "operation_tested_by_cases" ;
    rdfs:comment "[Operation] `TestCase` entities that test this operation.",
        "`TestCase` entities that test this operation." ;
    rdfs:domain sao:Operation ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:TestCase .

sao:performed_by_actor a rdf:Property ;
    rdfs:label "performed_by_actor" ;
    rdfs:comment "[Action] `Actor` performing the action.",
        "`Actor` performing the action." ;
    rdfs:domain sao:Action ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Actor .

sao:produced_by_aggregate a rdf:Property ;
    rdfs:label "produced_by_aggregate" ;
    rdfs:comment "Source `Aggregate`.",
        "[DomainEvent] Source `Aggregate`." ;
    rdfs:domain sao:DomainEvent ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Aggregate .

sao:produces_output_schema a rdf:Property ;
    rdfs:label "produces_output_schema" ;
    rdfs:comment "[Operation] `Schema` for output.",
        "`Schema` for output." ;
    rdfs:domain sao:Operation ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Schema .

sao:projections a rdf:Property ;
    rdfs:label "projections" ;
    rdfs:comment "Fields to return.",
        "[Query] Fields to return." ;
    rdfs:domain sao:Query ;
    rdfs:isDefinedBy sao: ;
    rdfs:range xsd:string .

sao:recorded_in_audit a rdf:Property ;
    rdfs:label "recorded_in_audit" ;
    rdfs:comment "Back-reference to `AuditEntry` entities that record this action.",
        "[Action] Back-reference to `AuditEntry` entities that record this action." ;
    rdfs:domain sao:Action ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:AuditEntry .

sao:subscribed_by_actor a rdf:Property ;
    rdfs:label "subscribed_by_actor" ;
    rdfs:comment "[Subscription] `Actor` subscribing.",
        "`Actor` subscribing." ;
    rdfs:domain sao:Subscription ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Actor .

sao:subscribed_by_subscriptions a rdf:Property ;
    rdfs:label "subscribed_by_subscriptions" ;
    rdfs:comment "Back-reference to `Subscription` entities that subscribe to this event.",
        "[Event] Back-reference to `Subscription` entities that subscribe to this event." ;
    rdfs:domain sao:Event ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Subscription .

sao:subscribes_to_event_types a rdf:Property ;
    rdfs:label "subscribes_to_event_types" ;
    rdfs:comment "[Subscription] `Event` types subscribed to.",
        "`Event` types subscribed to." ;
    rdfs:domain sao:Subscription ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Event .

sao:subscribes_to_interface a rdf:Property ;
    rdfs:label "subscribes_to_interface" ;
    rdfs:comment "[Subscription] `EventInterface` for delivery.",
        "`EventInterface` for delivery." ;
    rdfs:domain sao:Subscription ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:EventInterface .

sao:targeted_at_services a rdf:Property ;
    rdfs:label "targeted_at_services" ;
    rdfs:comment "Target `Service` entities.",
        "[IntegrationEvent] Target `Service` entities." ;
    rdfs:domain sao:IntegrationEvent ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Service .

sao:targets_resources a rdf:Property ;
    rdfs:label "targets_resources" ;
    rdfs:comment "[Action] `Resource` entities affected.",
        "`Resource` entities affected." ;
    rdfs:domain sao:Action ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Resource .

sao:transaction_type a rdf:Property ;
    rdfs:label "transaction_type" ;
    rdfs:comment "Kind of transaction.",
        "[Transaction] Kind of transaction." ;
    rdfs:domain sao:Transaction ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:TransactionType .

sao:triggered_by_workflow_events a rdf:Property ;
    rdfs:label "triggered_by_workflow_events" ;
    rdfs:comment "[Workflow] `Event` entities that start the workflow.",
        "`Event` entities that start the workflow." ;
    rdfs:domain sao:Workflow ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Event .

sao:triggers_transitions a rdf:Property ;
    rdfs:label "triggers_transitions" ;
    rdfs:comment "Back-reference to `Transition` entities triggered by this event.",
        "[Event] Back-reference to `Transition` entities triggered by this event." ;
    rdfs:domain sao:Event ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Transition .

sao:triggers_workflows a rdf:Property ;
    rdfs:label "triggers_workflows" ;
    rdfs:comment "Back-reference to `Workflow` entities triggered by this event.",
        "[Event] Back-reference to `Workflow` entities triggered by this event." ;
    rdfs:domain sao:Event ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Workflow .

sao:validated_by_action_rules a rdf:Property ;
    rdfs:label "validated_by_action_rules" ;
    rdfs:comment "[Action] `Rule` entities that validate.",
        "`Rule` entities that validate." ;
    rdfs:domain sao:Action ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Rule .

sao:validates_actions a rdf:Property ;
    rdfs:label "validates_actions" ;
    rdfs:comment "Back-reference to `Action` entities validated by this rule.",
        "[Rule] Back-reference to `Action` entities validated by this rule." ;
    rdfs:domain sao:Rule ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Action .

sao:validates_attributes a rdf:Property ;
    rdfs:label "validates_attributes" ;
    rdfs:comment "Back-reference to `Attribute` entities validated by this rule.",
        "[Rule] Back-reference to `Attribute` entities validated by this rule." ;
    rdfs:domain sao:Rule ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:Attribute .

sao:workflow_type a rdf:Property ;
    rdfs:label "workflow_type" ;
    rdfs:comment "Coordination pattern.",
        "[Workflow] Coordination pattern." ;
    rdfs:domain sao:Workflow ;
    rdfs:isDefinedBy sao: ;
    rdfs:range sao:WorkflowType .

sao:CommandType a rdfs:Datatype ;
    rdfs:label "CommandType" ;
    rdfs:comment "Types of commands" ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf rdfs:Literal ;
    export:permissibleValue <https://ontologies.corestory.ai/sao/export/values/CommandType/archive>,
        <https://ontologies.corestory.ai/sao/export/values/CommandType/create>,
        <https://ontologies.corestory.ai/sao/export/values/CommandType/delete>,
        <https://ontologies.corestory.ai/sao/export/values/CommandType/execute>,
        <https://ontologies.corestory.ai/sao/export/values/CommandType/restore>,
        <https://ontologies.corestory.ai/sao/export/values/CommandType/update> .

sao:TransactionType a rdfs:Datatype ;
    rdfs:label "TransactionType" ;
    rdfs:comment "Types of transactions" ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf rdfs:Literal ;
    export:permissibleValue <https://ontologies.corestory.ai/sao/export/values/TransactionType/distributed>,
        <https://ontologies.corestory.ai/sao/export/values/TransactionType/local>,
        <https://ontologies.corestory.ai/sao/export/values/TransactionType/saga>,
        <https://ontologies.corestory.ai/sao/export/values/TransactionType/two_phase_commit> .

sao:WorkflowType a rdfs:Datatype ;
    rdfs:label "WorkflowType" ;
    rdfs:comment "Types of workflows" ;
    rdfs:isDefinedBy sao: ;
    rdfs:subClassOf rdfs:Literal ;
    export:permissibleValue <https://ontologies.corestory.ai/sao/export/values/WorkflowType/asynchronous>,
        <https://ontologies.corestory.ai/sao/export/values/WorkflowType/choreography>,
        <https://ontologies.corestory.ai/sao/export/values/WorkflowType/orchestration>,
        <https://ontologies.corestory.ai/sao/export/values/WorkflowType/saga>,
        <https://ontologies.corestory.ai/sao/export/values/WorkflowType/synchronous> .

<https://ontologies.corestory.ai/sao/export/values/ActionCategory/command> rdf:value "command" ;
    rdfs:comment "State-changing command action." .

<https://ontologies.corestory.ai/sao/export/values/ActionCategory/mutation> rdf:value "mutation" ;
    rdfs:comment "Data mutation or modification action." .

<https://ontologies.corestory.ai/sao/export/values/ActionCategory/query> rdf:value "query" ;
    rdfs:comment "Read-only query action." .

<https://ontologies.corestory.ai/sao/export/values/CommandType/archive> rdf:value "archive" ;
    rdfs:comment "Archive an entity for retention." .

<https://ontologies.corestory.ai/sao/export/values/CommandType/create> rdf:value "create" ;
    rdfs:comment "Create a new entity." .

<https://ontologies.corestory.ai/sao/export/values/CommandType/delete> rdf:value "delete" ;
    rdfs:comment "Delete an entity." .

<https://ontologies.corestory.ai/sao/export/values/CommandType/execute> rdf:value "execute" ;
    rdfs:comment "Execute an operation or process." .

<https://ontologies.corestory.ai/sao/export/values/CommandType/restore> rdf:value "restore" ;
    rdfs:comment "Restore an archived entity." .

<https://ontologies.corestory.ai/sao/export/values/CommandType/update> rdf:value "update" ;
    rdfs:comment "Update an existing entity." .

<https://ontologies.corestory.ai/sao/export/values/EventCategory/audit_event> rdf:value "audit_event" ;
    rdfs:comment "Audit trail or compliance event." .

<https://ontologies.corestory.ai/sao/export/values/EventCategory/domain_event> rdf:value "domain_event" ;
    rdfs:comment "Domain-specific business event." .

<https://ontologies.corestory.ai/sao/export/values/EventCategory/integration_event> rdf:value "integration_event" ;
    rdfs:comment "Integration or cross-service event." .

<https://ontologies.corestory.ai/sao/export/values/EventCategory/system_event> rdf:value "system_event" ;
    rdfs:comment "System-level technical event." .

<https://ontologies.corestory.ai/sao/export/values/RuleCategory/business> rdf:value "business" ;
    rdfs:comment "Business logic or domain rule." .

<https://ontologies.corestory.ai/sao/export/values/RuleCategory/constraint> rdf:value "constraint" ;
    rdfs:comment "Constraint or invariant rule." .

<https://ontologies.corestory.ai/sao/export/values/RuleCategory/derivation> rdf:value "derivation" ;
    rdfs:comment "Derivation rule for computed values." .

<https://ontologies.corestory.ai/sao/export/values/RuleCategory/trigger> rdf:value "trigger" ;
    rdfs:comment "Event trigger or automation rule." .

<https://ontologies.corestory.ai/sao/export/values/RuleCategory/validation> rdf:value "validation" ;
    rdfs:comment "Validation rule for data integrity." .

<https://ontologies.corestory.ai/sao/export/values/TransactionType/distributed> rdf:value "distributed" ;
    rdfs:comment "Distributed transaction across multiple resources." .

<https://ontologies.corestory.ai/sao/export/values/TransactionType/local> rdf:value "local" ;
    rdfs:comment "Local transaction within a single database." .

<https://ontologies.corestory.ai/sao/export/values/TransactionType/saga> rdf:value "saga" ;
    rdfs:comment "Saga pattern with compensating transactions" .

<https://ontologies.corestory.ai/sao/export/values/TransactionType/two_phase_commit> rdf:value "two_phase_commit" ;
    rdfs:comment "Two-phase commit protocol." .

<https://ontologies.corestory.ai/sao/export/values/WorkflowType/asynchronous> rdf:value "asynchronous" ;
    rdfs:comment "Asynchronous non-blocking workflow." .

<https://ontologies.corestory.ai/sao/export/values/WorkflowType/choreography> rdf:value "choreography" ;
    rdfs:comment "Event-driven choreography workflow" .

<https://ontologies.corestory.ai/sao/export/values/WorkflowType/orchestration> rdf:value "orchestration" ;
    rdfs:comment "Centrally orchestrated workflow." .

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

<https://ontologies.corestory.ai/sao/export/values/WorkflowType/synchronous> rdf:value "synchronous" ;
    rdfs:comment "Synchronous blocking workflow." .

