

# Enterprise ontology

The Enterprise ontology models the people, organizations, and work that your documents describe: who works where, who owns what, what was decided, and what happened. AWS Context uses it, together with the Business Process ontology, to extract entities and relationships from your Amazon Bedrock Managed Knowledge Base connections.

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

The Enterprise ontology defines the following groups of entity types. Each entity has a name and an identifier, and most entity types have optional attributes, such as a person’s role or a project’s status. The last group holds the common types that all three built-in ontologies share.


| Group | Entity types | What they represent | 
| --- | --- | --- | 
| People and organizations |  `Person`, `Organization`, `Occupation`, `Location`  | Named individuals, such as employees, customers, and domain experts. Named groups, such as companies, teams, and departments. Job titles and roles. Places, such as offices, data centers, cities, countries, AWS Regions, and Availability Zones. | 
| Work |  `Project`, `Product`, `Service`  | Projects, initiatives, programs, epics, and milestones. Externally offered products, platforms, features, and tools. Infrastructure services, application programming interfaces (APIs), and internal platforms. | 
| Events and decisions |  `Event`, `Decision`  | Things that happened, such as meetings, incidents, launches, and reviews. Recorded decisions and their rationale, such as architectural, policy, or organizational decisions. | 
| Communication |  `Message`, `Channel`  | Discrete communications, such as emails, chat messages, and threads, and the channels they’re posted in, such as chat channels and email lists. | 
| Content |  `Document`  | Source documents, such as reports, specifications, proposals, and presentations. Every document that AWS Context ingests from the connection is a `Document`. | 
| Measurements |  `Observation`  | Measurements at a point in time, such as key performance indicator (KPI) values or metric data points. | 
| 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, APIs, and your retrieval instructions. | 

## Relationship types
<a name="ontology-enterprise-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 | 
| --- | --- | --- | 
| Organization structure |  `worksFor`, `memberOf`, `subOrgOf`, `manages`, `reportsTo`, `hasOccupation`, `locatedIn`  | A `Person` *reports to* another `Person`. A team `Organization` is a *sub-organization of* a department. | 
| Work and ownership |  `worksOn`, `owns`, `participatesIn`, `dependsOn`, `blockedBy`, `isPartOf`, `expertIn`  | A `Person` *owns* a `Service`. A `Project` is *blocked by* a `Decision`. | 
| Events and decisions |  `attendee`, `organizer`, `affects`, `decided`, `supersedes`, `precededBy`  | An incident `Event` *affects* a `Product`. A `Decision` *supersedes* an earlier one. | 
| Communication |  `sender`, `recipient`, `postedIn`, `communicatedWith`, `communicatedIn`  | A `Message` is *posted in* a `Channel`. | 
| Content |  `about`, `mentions`  | A `Message` is *about* a `Project` and *mentions* a `Person`. Each entity extracted from a document is *related to* that `Document`. | 
| Measurements |  `hasObservation`, `measures`  | A `Service` *has* an `Observation`, which *measures* a `Metric`. | 
| 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`. | 