TLDR: A novel framework combines RDF graph databases with LLMs to enable precise audience targeting through natural language queries in large enterprises like Amazon RME. It addresses challenges of information overload and communication bottlenecks by providing transparent, explainable reasoning for its results, enhancing trust and efficiency in operational communications.
In today’s vast enterprise environments, especially within large-scale maintenance organizations like Amazon’s Reliability & Maintenance Engineering (RME), effective communication and identifying the right people for specific information can be a monumental challenge. Imagine trying to reach every maintenance technician working with a particular vendor’s equipment across multiple global sites – traditional methods often lead to either overwhelming everyone with irrelevant information or, worse, missing critical recipients entirely. This complexity results in information overload and slower response times, hindering operational efficiency.
The rise of Large Language Models (LLMs) offers promising avenues to tackle these communication bottlenecks. Users now expect to formulate queries in natural language, such as “I want to reach out to all maintenance technicians working with Vendor X’s conveyor belts or fire alarms of model FA123 at European sites,” and receive precise results. However, a significant hurdle for deploying LLM-based solutions in enterprise settings is their inherent lack of transparency. Without understanding how an AI system arrives at its conclusions, users may lose trust, especially when decisions directly impact critical operations.
To address these pressing issues, a novel framework has been developed that combines the power of RDF graph databases with LLM-driven workflows. This innovative solution empowers communication owners to accurately identify target audience groups for any maintenance issue using simple, natural language queries. Crucially, it provides transparent reasoning for the retrieved results, building trust and ensuring users can validate the system’s decisions.
How the Framework Works
The system’s architecture is composed of four main components: a Customer User Interface (UI), AI Engines, a Knowledge Base, and the core Proposed Framework. The Customer UI allows users to input natural language queries, visualize formal queries, and view results alongside their reasoning explanations. The AI Engines leverage advanced foundation models like Amazon Nova Pro and Claude 3.5 Sonnet from Amazon Bedrock for robust natural language understanding.
The Knowledge Base is a comprehensive repository of RME information, consolidating data from various internal sources such as equipment documentation, employee profiles, and facility details. This information is structured using a purpose-built maintenance ontology and stored in Amazon Neptune, a graph database that supports RDF storage and scalable analytics. To enable efficient searching, the knowledge graph is integrated with Amazon’s OpenSearch Service, ensuring synchronization between the graph database and the search index.
The heart of the solution lies in the Proposed Framework, which acts as an intelligent workflow orchestrator. When a user inputs a natural language query, the framework evaluates it to establish an execution plan. It then orchestrates two key workflows: Named Entity Recognition (NER) and Formal Query Formulation (FQF).
The NER workflow identifies key terms within the natural language statement – for example, recognizing “Vendor X” as a vendor or “conveyor belts” as equipment. It then aligns these terms with their corresponding entities already existing in the Knowledge Base. This process is designed to prevent “hallucinations” by constraining the search space and ensuring reliable output.
Following NER, the FQF workflow takes the identified entities and formally establishes the relationships among them as expressed in the original natural language query. Using LLMs, it translates the statement into a formal logical formulation, often a Boolean algebra expression. A crucial aspect here is the use of a “Chain-of-Thought” inspired reasoning breakdown, which not only helps achieve more accurate formulations but also aids in generating clear explanations later. This formal expression is then converted into formats like JSON Visual Query Language (jVQL) for UI visualization and SPARQL for querying the Amazon Neptune database to retrieve the relevant data.
Also Read:
- AGENTiGraph: Empowering Accessible Knowledge Management with AI-Driven Knowledge Graphs
- Breaking the Filter Bubble: How AI Uncovers Hidden Interests for Better Recommendations
Ensuring Transparency and Trust
While LLMs are powerful, their interpretations might not always perfectly align with a user’s intent. For instance, a query like “find all technicians working with vendor X in LATAM” requires the user to verify that “technicians” was correctly identified as a job title, “X” as a vendor, and “LATAM” as a region. In high-stakes environments where timely and accurate communication is paramount, such as for operational updates or safety messages, this validation is critical.
To address this, the framework incorporates an explainability feature based on multi-step reasoning. It generates structured, concise explanations by combining the execution plan steps with their descriptions and intermediate outputs. These explanations reveal how the system interpreted key terms, mapped them to knowledge base entities, and constructed the logical relationships for the formal queries. This transparency allows users to validate the system’s decisions, understand its reasoning, and refine their queries for even greater accuracy, ultimately fostering trust in the AI-powered system.
In conclusion, this innovative framework offers a robust solution to the challenges of audience targeting and communication in large enterprises. By seamlessly integrating RDF graph databases with LLM-driven workflows, it enables intuitive natural language querying while upholding transparency through advanced explainable AI techniques. This approach demonstrates how organizations can harness the full potential of AI without compromising clarity and trust in critical operational communications. For more in-depth technical details, you can refer to the full research paper available here.


