Build a semantic ontology to power AI assistants on AWS – Part 1
Database Blog
This article explains how to build a semantic ontology that helps AI assistants navigate enterprise data efficiently using a bottom-up approach grounded in actual data structures.
- Dumping raw schemas into LLMs degrades performance; semantic layers provide targeted context retrieval instead
- Bottom-up ontology strategy automates foundational 80% using LLM-guided extraction rather than manual top-down design
- Three-layer architecture: property graph for structure, vector index for semantic search, facts layer for learned assertions
- Four-step pipeline: populate base graph hierarchy, profile columns to find hidden relationships, generate deduplicated business terms, index for semantic search
- Column profiling with LLM identifies semantic relationships like "describes" or "decodes" between related columns
- Semantic deduplication achieves 30-50% term reuse by matching business concepts across technical columns
- Hybrid search combines keyword matching with vector similarity to find entities by meaning, not just exact names
This approach enables agentic systems to efficiently reason through complex data tasks by providing the right information architecture rather than relying on larger context windows.
The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.
Related articles
Jul 10
2026
2026
Build a semantic layer for agentic AI on AWS with Stardog and Amazon Bedrock AgentCore
Jun 22
2026
2026
Architecting distributed agentic AI workloads across AWS hybrid cloud services
Mar 26
2026
2026
Architecting for agentic AI development on AWS
Mar 31
2025
2025
Building an AI coding assistant on AWS: A guide for federal agencies
The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.