WhoBuilt

The Knowledge Graph Mullet: Trimming GraphRAG Complexity

Jun 3, 2025· 33 min· 2.2K views·Watch on YouTube

Speaker

William Lyon of Hypermode explains at an AI Engineer talk how Dgraph combines property graphs and RDF triples for GraphRAG and agent workflows.

The knowledge graph mullet

Lyon describes a hybrid approach: use a property graph model to represent and query data, with RDF triples as the underlying unit of record. He presents Dgraph as an example, combining graph traversal with RDF-based data interchange.

Modeling and querying in Dgraph

Each graph node gets a unique ID, and Dgraph groups connections into posting lists to support traversal. Its DQL queries begin with root criteria, then use nested selection sets to specify properties and graph paths; results are returned as JSON.

GraphRAG with news data

Lyon models news articles, authors, topics, organizations, places, images, and paragraph chunks as graph nodes and connections. Vector search over chunk embeddings can find an entry point, then graph traversal can add related articles; geospatial and image similarity searches offer other entry points.

Using MCP to work with a graph

Dgraph's MCP server exposes tools to inspect schemas and run queries, with a separate endpoint that also supports mutations. In a demo, Claude Desktop generated a schema and sample e-commerce data, checked for missing relationships, and produced queries and visualizations for product recommendations.

From graph tools to agents

Lyon introduces Modus, an open-source agent framework with SDKs, a runtime, and WebAssembly support. He then demonstrates a Hypermode agent that uses GitHub and Notion MCP tools to create social posts with code snippets and save them to a Notion page.

Takeaways

  • Keep a property graph model for domain concepts while using RDF triples for data interchange.
  • Treat vector search as one way into GraphRAG, then traverse connected domain data to gather context.
  • Represent articles, chunks, entities, and their relationships explicitly to support multiple graph search paths.
  • Use read-only database tools for inspection and reserve mutation tools for workflows that need to change data.
  • Give agents narrow, useful tools and verify generated database changes, since the demo found missing relationships.

Mentioned in this talk

Search inside this talk

What was claimed 7

  • built
    “we've created the Modus agent orchestration framework”
    YouTube
    Verified2 sources· Talk, Web· archived
  • uses
    Dgraph uses RDF
    triples as the smallest unit of record
    “we use RDF for data interchange and work with triples as the smallest unit of record”
    YouTube
    Unverified1 source· Talk
  • feature
    Dgraph: Combines a property graph model for data modeling and querying with RDF triples for data interchange
    “we use the property Graph model for data modeling and querying, but we use RDF for data interchange”
    YouTube
    Unverified1 source· Talk
  • feature
    Figma MCP server: Exposes query execution and schema inspection; full endpoint also supports mutations and schema changes
    “There’s a read-only endpoint that exposes the ability to execute queries or inspect the schema”
    YouTube
    Unverified1 source· Talk
  • uses
    to target multiple languages and provide a sandboxed runtime
    “We use WebAssembly to target multiple languages for different SDKs”
    YouTube
    Unverified1 source· Talk
  • integrates with
    Hypermode agents integrates with Notion
    through an MCP server connection
    “give him access to GitHub, Notion, and our company docs through Ref”
    YouTube
    Unverified1 source· Talk
  • integrates with
    Hypermode agents integrates with GitHub
    through an MCP server connection
    “give him access to GitHub”
    YouTube
    Unverified1 source· Talk

Related talks