Data ontology
The Data ontology models your data estate. This includes the catalogs, databases, tables, and columns in your structured sources, along with their business metadata and the lineage between them. AWS Context uses it for AWS Glue Data Catalog, Snowflake, and Databricks Unity Catalog connections and builds the entities directly from each source’s catalog metadata.
Entity types
The Data ontology defines the following groups of entity types. Which types appear in your Agent Context depends on what your connected sources contain. The last group holds the common types that all three built-in ontologies share.
| Group | Entity types | What they represent |
|---|---|---|
|
Catalog structure |
|
The containers and assets in your catalog: catalogs, databases or schemas, tables, and their columns. |
|
Business metadata |
|
The business context that your catalog attaches to assets, such as glossary terms, metadata forms, tags, and links to related resources. |
|
Lineage |
|
The jobs that read and write your data, and the datasets that lineage refers to. |
|
Semantic layers |
|
The metrics, dimensions, and views that a source’s own semantic layer defines, such as Snowflake semantic views and Databricks metric views. |
|
Other data assets |
|
Other assets that a catalog can describe. These include database and search clusters, storage locations, search indexes, data streams and their schemas, and machine learning resources such as models, datasets, and evaluators. |
|
Retrieval context (shared) |
|
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
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. In the Semantic layers group, a metric is additive over a dimension if you can add up its values across that dimension, such as revenue across Regions. It’s non-additive over a dimension if you can’t, such as an account balance across days.
| Group | Relationship types | Example |
|---|---|---|
|
Catalog structure |
|
A |
|
Business metadata |
|
A |
|
Joins and lineage |
|
A |
|
Semantic layers |
|
A |
|
Other data assets |
|
A |
|
Retrieval context (shared) |
|
A |