AIToday

AWS, Stardog offer semantic layer to ground AI agents in business data

Amazon AI Blog3h ago
AWS, Stardog offer semantic layer to ground AI agents in business data

Key takeaway

AWS and Stardog have outlined how to build a semantic layer—a structured, business-rule-driven knowledge graph—that helps AI agents on Amazon Bedrock reason reliably across fragmented enterprise data sources. Because company data lives in separate systems with different definitions of the same concepts, AI agents risk returning technically valid but factually wrong or contradictory answers. A semantic layer solves this by capturing business context once and letting agents reuse it to query multiple sources (Aurora, Redshift, Athena) consistently.

Summaries like this, in your inbox every morning.

Sign up free →

3 Key Points

  • What happened

    AWS and Stardog have published guidance on building a semantic layer—a unified, business-rule-driven view of enterprise data—that AI agents running on Amazon Bedrock can query across fragmented systems like Aurora and Redshift without manual data integration.

  • Why it matters

    Enterprise data scattered across systems defines the same concepts differently (e.g., "customer" in CRM vs. billing), causing AI agents to return conflicting answers. A semantic layer captures business context and metrics once, letting agents compose correct answers from many sources and stand behind the numbers they return.

  • What to watch

    The approach complements Retrieval Augmented Generation (RAG) rather than replacing it; most production systems need both. Two integration paths are outlined: a direct SPARQL tool and the Stardog Cloud Model Context Protocol (MCP) server as a Gateway tool target.

Context & Analysis

Enterprise analytics has pursued the same two-decade goal: shrink the time between a business question and a trustworthy answer. The body traces this evolution from scheduled reports through dashboards, then self-service BI, to agentic analytics—where autonomous agents reason over live data on demand rather than visualizing pre-built datasets. Foundation models available on Amazon Bedrock have already cleared the first hurdle: they can plan, write queries, and iterate. The hard part sits underneath: the data itself.

The core challenge is data fragmentation. Enterprise records live across purpose-built systems—operational data in Aurora and RDS, analytics history in Redshift, unstructured content in S3. Each system defines the same business concepts differently. The "customer" in a CRM is not the same record as the "customer" in billing; "revenue" calculated by one regional team differs from another's. An AI agent given direct access to this fragmented landscape will write technically valid SQL that produces wrong, conflicting, or unexplainable answers, eroding confidence the moment two agents return two different numbers for the same question.

A semantic layer addresses this by capturing business context once as an ontology—a unified model of concepts, relationships, attributes, and rules—and mapping those concepts to rows in each live source. When implemented as Stardog does it (with ontology, stable identifiers for every entity, and rules that derive new facts and validate data), the result is a knowledge graph where entities are connected as business relationships rather than isolated rows. The agent queries this layer; the layer translates each query into SQL for the underlying systems at runtime. Data stays where it is; meaning is reused. The body emphasizes that a semantic layer does not replace RAG but complements it, with most production systems needing both accessible through the same agent.

FAQ

How does a semantic layer differ from RAG?
RAG (Retrieval Augmented Generation) works well when the answer lives in searchable text like documents or support tickets. A semantic layer works better for analytical questions requiring joins across live systems, consistent business rules, and access policies. The body states that most production systems need both, reachable through the same agent.
What AWS services does this approach support?
The post shows how to federate Stardog across Amazon Aurora and Amazon Redshift. The body notes it can be extended to Amazon Athena and other AWS data sources, and mentions Stardog works behind AWS computes including Amazon EKS, Amazon ECS, and AWS Lambda.
Which AI model does the example use?
The post uses Anthropic Claude Sonnet 4.6 on Amazon Bedrock, which the body describes as capable of planning multi-step workflows, reasoning about schemas, and producing SQL well enough to act as a junior analyst would.

Discussion

No comments yet. Be the first to share your thoughts!

Log in to join the discussion

Related Articles

Stay ahead with AI news

Get curated AI news from 200+ sources delivered daily to your inbox. Free to use.

Get Started Free

Free · takes 30 seconds · unsubscribe anytime

1 minute a day. The AI essentials.

200+ sources · Email / LINE / Slack

Get it free →