Home›Agent Frameworks›Stardog と Amazon Bedrock AgentCore を使って AWS 上のエージェント AI にセマンティックレイヤーを構築する

Stardog と Amazon Bedrock AgentCore を使って AWS 上のエージェント AI にセマンティックレイヤーを構築するBuild a semantic layer for agentic AI on AWS with Stardog and Amazon Bedrock AgentCore

元記事を読むRead original articleaws.amazon.com(新しいタブで開きます)(opens in a new tab)
AI2 点サマリSummary highlight
  • Stardog のナレッジグラフと Amazon Bedrock AgentCore を組み合わせ、AIエージェントが企業データを意味的に理解・活用できるセマンティックレイヤーの構築方法を解説。
  • データの文脈理解と推論精度の向上に貢献する。

This post explains how to combine Stardog's knowledge graph platform with Amazon Bedrock AgentCore to build a semantic layer that enables AI agents to reason over enterprise data with richer contextual understanding.

本ページの本文と要約は AI による自動生成です。日本語版と英語版は言語ごとに独立して生成されるため、表現や詳しさが異なる場合があります。正確性は元記事 (aws.amazon.com) をご確認ください。The body and summaries are AI-generated independently for each language, so wording and detail may differ. Verify accuracy at the original source (aws.amazon.com).

要約と収集メタデータに基づく AI 解説。元記事全文の転載・翻訳ではありません。AI explainer based on the summaries and collected metadata, not a copy or translation of the full source article.

企業がAIエージェントに社内データを任せるうえで課題となるのが、散在するデータの「意味」や相互の関係をどう理解させるかという点だ。AWSの機械学習ブログは、知識グラフ基盤のStardogとAmazon Bedrock AgentCoreを組み合わせ、エージェントが企業データを意味的に理解し横断検索できるセマンティックレイヤーの構築手法を公開した。

大規模言語モデル(LLM)は自然言語の処理に長ける一方、社内システムごとに異なるスキーマや用語、テーブル構造の背後にある業務上の意味までは把握しづらい。この溝を埋めるのがセマンティックレイヤーで、データの定義や関係性をモデル化し、エージェントが文脈をふまえて正しく問い合わせられるようにする役割を担う。

Stardogは、RDFやオントロジーに基づく知識グラフプラットフォームで、複数のデータソースを仮想的に統合し、推論(インファレンス)によって明示されていない関係まで導き出せる点が特徴とされる。これにより、部門やシステムをまたいだデータを一貫した意味体系のもとで扱えるようになる。

一方のAmazon Bedrock AgentCoreは、生成AIエージェントの構築・運用を支えるAWSのサービス群で、ツール連携やメモリ、セキュアな実行環境などを提供する。今回の構成では、エージェントがユーザーの自然言語による質問をStardogの知識グラフへの問い合わせに変換し、意味的に裏付けられた回答を返す流れが想定されている。

このアプローチの利点は、LLMが陥りがちな事実誤認(ハルシネーション)を抑え、回答の根拠をデータにひも付けやすくなる点にある。単純なベクトル検索型のRAG(検索拡張生成)に対し、知識グラフを組み合わせる「GraphRAG」的な手法は、関係性の深い問い合わせや説明可能性の面で優位になる可能性があると指摘されている。

知識グラフとLLMの統合は、Neo4jなど他のベンダーも取り組む領域であり、業界全体で関心が高まっている。企業データの信頼性を担保しつつエージェントの実用性を引き上げる選択肢の一つとして、今回のような組み合わせは今後さらに検討が進むと見られる。

Enterprises deploying AI agents frequently encounter a persistent gap: large language models can produce fluent text but often lack grounding in an organization's specific data and the business meaning behind it. A post on the AWS Machine Learning Blog outlines an architecture that pairs Stardog's knowledge graph platform with Amazon Bedrock AgentCore to build a semantic layer, an abstraction that gives AI agents a consistent, machine-readable understanding of enterprise data so they can query and reason across sources with richer context.

A semantic layer sits between raw data stores and the applications that consume them, translating disparate schemas, column names, and formats into shared business concepts and relationships. In this approach, that layer is expressed as a knowledge graph. Rather than treating data as isolated tables or documents, a knowledge graph models entities, their attributes, and the connections between them using standards such as RDF and ontologies described in OWL. This structure lets an agent follow relationships explicitly, for example linking a customer to their contracts, accounts, and support history, instead of inferring those links purely from statistical patterns in text.

Stardog contributes several capabilities to this design. It supports SPARQL queries over graph data and includes an inference engine that can derive new facts from defined rules and ontologies. It also offers data virtualization, which allows queries to reach data where it already lives across relational databases, warehouses, and other systems without requiring everything to be copied into one place. The stated benefit is that agents receive answers that reflect defined business logic and relationships, which the post suggests can improve accuracy and reduce the risk of unsupported or hallucinated responses compared with retrieval that relies on text similarity alone.

Amazon Bedrock AgentCore provides the runtime and operational scaffolding for the agents themselves. Announced by AWS in 2025, AgentCore is a set of services intended to help developers deploy and operate agents securely at scale, and it is designed to be broadly compatible with different agent frameworks and foundation models rather than tied to a single one. Its components typically include a managed runtime for executing agents, memory for retaining context across interactions, a gateway for connecting agents to tools and APIs, and identity and observability features for access control and monitoring. In this pattern, AgentCore Gateway or a similar tool-calling mechanism appears to be the point where the agent reaches the Stardog knowledge graph, issuing structured queries and receiving grounded results that inform its reasoning.

The combination reflects a broader industry trend toward grounding generative AI in structured enterprise knowledge. Much early production work relied on retrieval-augmented generation, or RAG, which pairs a language model with a vector database so the model can pull in relevant document snippets. Vector search excels at finding semantically similar passages, but it does not inherently capture precise relationships, hierarchies, or business rules. Knowledge graphs are increasingly presented as a complement, and hybrid approaches sometimes described as GraphRAG aim to blend both. The Stardog and AgentCore pairing fits within that direction, using the graph as the authoritative semantic layer while the agent framework handles orchestration.

For readers evaluating similar architectures, it is worth noting the surrounding ecosystem. On AWS, Amazon Neptune offers a managed graph database supporting RDF and property graph models, and Amazon Bedrock Knowledge Bases provides managed RAG capabilities, including support for graph-backed retrieval. Other vendors and open-source projects, such as Neo4j and various semantic layer tools used in analytics, address adjacent needs. Choosing among them typically depends on factors like existing data governance requirements, the need for formal reasoning, and how much data must remain federated across systems rather than centralized.

Prospective adopters should treat the described benefits as dependent on implementation quality. Building an effective knowledge graph requires investment in ontology design, data mapping, and ongoing maintenance, and the value of the semantic layer is closely tied to how well those models capture the organization's domain. The blog post is positioned as a reference architecture and walkthrough rather than a benchmark, so teams would likely need to validate accuracy, latency, and cost against their own workloads. Still, it illustrates a maturing pattern for giving agentic AI more reliable access to the meaning embedded in enterprise data.

ポコとTECHガイドPoko & TECH Guide

ポコと当サイトのTECHガイドが、記事の要約と収集した情報から読みどころを語るAI生成の対話です。Poko and TECH Dashboard's own TECH Guide discuss the article's highlights in an AI-generated conversation based on its summary and collected source details.

  1. ポコPokoセマンティックレイヤーって何? AIエージェントにどんなものを足すの?What’s a semantic layer? What does it add for an AI agent?
  2. TECHガイドTECH Guide簡単に言うと、データの意味や関係を分かりやすくする層じゃな。記事ではStardogのナレッジグラフを使うのじゃよ。Simply put, it’s a layer that clarifies data’s meaning and relationships. The article uses Stardog’s knowledge graph for that.
  3. ポコPokoそれって何が嬉しいの? Amazon AuroraとAmazon Redshiftのデータを一緒に扱えるってこと?Why is that useful? Does it mean the agent can work with data from both Amazon Aurora and Amazon Redshift?
  4. TECHガイドTECH Guide記事によれば、両方を横断して顧客360の質問に答えられるのじゃ。文脈を豊かに理解し、推論精度の向上にも貢献するそうじゃよ。According to the article, it can answer customer 360 questions across both sources. That richer context can also help improve reasoning accuracy.
  5. ポコPokoつまり、Stardogでデータの意味をつなぎ、AgentCore上のAIエージェントがそこを調べて答えるんだね!So Stardog connects the meaning behind the data, and an AI agent on AgentCore queries it to answer questions. Got it!
  6. TECHガイドTECH Guideその理解でよいぞ。記事の見どころは、AWS上でその仕組みをどう構築し、Strands Agentsのエージェントから使うかじゃな。Exactly. The key point is how the article builds that setup on AWS and lets a Strands Agents agent use it.
記事情報・収集記録Article details & collection record
出典Source
AWS Machine Learning Blog公式Official
公開日時 (JST)Published (JST)
収集日時 (JST)Collected (JST)
配信形式Format
ブログBlog
原文言語Source language
EN
重要度の位置づけImportance in this lane
MediumMedium priority(Agent Frameworks 131件中、同等以上 95件)(95 of 131 Agent Frameworks entries are equal or higher)
出典の平均重要度(掲載直近 30 件・最大 30 件)Source average (last 30 listed, up to 30)
2.1 / 31=情報 · 2=中 · 3=高1=Info · 2=Medium · 3=High
情報の寿命Half-life
長期 (アーキテクチャ)Long-term (architecture)

🤖Agent Frameworks の他の記事More from Agent Frameworksもっと見る →View more →

ページ上部へScroll to top