

# Business Process ontology

The Business Process ontology models how work gets done and why: the workflows and procedures that teams follow, the tasks and rules that govern them, and the reasoning behind decisions. AWS Context uses it, together with the Enterprise ontology, to extract entities and relationships from your Amazon Bedrock Managed Knowledge Base connections.

## Entity types
<a name="ontology-business-process-entity-types"></a>

The Business Process ontology defines the following groups of entity types. The last group holds the common types that all three built-in ontologies share.


| Group | Entity types | What they represent | 
| --- | --- | --- | 
| Workflows and procedures |  `Workflow`, `WorkflowStep`, `WorkflowTemplate`, `Procedure`  | Named workflows and their steps, reusable workflow patterns that teams adapt for a specific domain, and versioned operational documents, such as runbooks, checklists, and protocols. | 
| Work and governance |  `Action`, `Rule`, `Violation`  | Trackable units of work, such as tasks and action items, the rules and policies that govern work, and known cases where a rule isn’t satisfied. | 
| Deliberation |  `Issue`, `Position`, `Argument`, `Evidence`, `Objection`  | Open questions that need discussion, the proposed answers to them, and the arguments, evidence, and objections for and against those answers. | 
| Navigation |  `RoutingNode`  | Pointers that tell an agent where to find information and how to access it. | 
| Retrieval context (shared) |  `Concept`, `Metric`, `Question`, `ValidSql`, `Skill`, `Api`, `RetrievalInstruction`  | The common types, shared by all three built-in ontologies, that help agents answer questions: business concepts, governed metrics, question patterns, validated question-and-SQL examples, skills, application programming interfaces (APIs), and your retrieval instructions. | 

## Relationship types
<a name="ontology-business-process-relationship-types"></a>

Relationship types are directional. The following table groups them by what they describe. The last group holds the common relationship types that all three built-in ontologies share.


| Group | Relationship types | Example | 
| --- | --- | --- | 
| Workflow structure |  `containsStep`, `stepDependsOn`, `callsFlow`, `specializes`, `composesWith`, `clustersWith`  | A `Workflow` *contains* a `WorkflowStep`, which *depends on* an earlier step. | 
| Workflow inputs and outputs |  `requiresSkill`, `consumes`, `produces`  | A `Workflow` *consumes* an `Api` and *produces* a `Metric`. | 
| Procedure versions |  `latestVersion`, `predecessorVersion`  | A `Procedure` points to its *latest version*. | 
| Governance |  `governedBy`, `conflictsWith`, `triggers`, `violates`, `remediates`, `implements`, `usedFor`  | A `Violation` *violates* a `Rule`, and an `Action` *remediates* the violation. | 
| Deliberation |  `respondsTo`, `supports`, `opposes`, `grounds`  | A `Position` *responds to* an `Issue`, and `Evidence` *supports* the position. | 
| Navigation |  `availableAt`, `accessibleVia`, `constrainedBy`, `leadsTo`, `covers`, `succeededWith`, `routedTo`  | A `RoutingNode` *covers* a topic and *leads to* another routing node. | 
| Retrieval context (shared) |  `mapsTo`, `joinsTo`, `broader`, `relatedTo`, `derivedFrom`, `definedBy`, `answeredBy`, `requires`, `appliesTo`, `validatesTable`  | A `Concept` *maps to* the data element it means. A `Metric` is *defined by* a `Concept`. | 