World's Fair 2025
The Knowledge Graph Mullet: Trimming GraphRAG Complexity - William Lyon
Overview
This talk introduces the "Knowledge Graph Mullet," a hybrid approach combining property graph and RDF triple concepts for more versatile knowledge graph management. It advocates for using a property graph model for data interaction and querying, while leveraging the scalability of RDF triples for the underlying storage. The presentation demonstrates this approach using Dgraph, an open-source graph database, and explores its application in building sophisticated Graph RAG (Retrieval Augmented Generation) workflows and AI agents.
Who should watch
- AI Engineers
- Product Managers
- Builders working with knowledge graphs
- Those interested in Graph RAG and AI agent orchestration
- Developers looking to integrate LLMs with databases
Key takeaways
- The Knowledge Graph Mullet combines property graph (nodes, relationships, key-value properties, Cypher-like querying) with RDF triples (subject-predicate-object) for a flexible data model.
- Dgraph is presented as an open-source tool that supports both property graph modeling and RDF triple storage, optimizing for large-scale graph data.
- Graph RAG can be enhanced by using multiple entry points into the knowledge graph, such as vector similarity search, geospatial indexing, or image embeddings, to retrieve richer context.
- The Model Context Protocol (MCP) enables LLMs to interact with databases like Dgraph by exposing tools and functionalities, facilitating agentic coding assistants and exploratory data analysis.
- The Modus orchestration framework is an open-source project designed for building stateful, long-running AI agents, utilizing WebAssembly for cross-language SDKs and a secure runtime environment.
- HyperMode agents allow for the creation of domain-specific agents from simple prompts, granting them access to tools via MCP servers for interacting with services like GitHub and Notion.
- Agents can be built to analyze repositories, generate social media content with code snippets, and save results to external platforms, demonstrating practical AI agent capabilities.
- The ability to eject agent logic to Modus code allows for further customization and enhancement of agent functionality.
Notable quotes
*The knowledge graph mullet which is all about property graph in the front and RDF triples in the back.*
*We can really leverage the benefits and sort of best of both worlds to expose a property graph model for how we want to think about and query the data but leverage the scalability of RDF triples in our knowledge graph system.*
*Fundamentally, MCP is a way of exposing tools to models. And in the context of databases, this means we're giving the model a way to interact with our database.*
Unofficial community note. Prefer the recording for nuance.