BRK307 · Breakout

Foundry IQ: Knowledge graphs for better enterprise context

  • Thursday 19 November
  • 42 min
  • Catalogue level: (300) Advanced
  • Our depth rating: 300
  • Worth watching: 2/3

Speakers: Matt Gotteiner, Lewis Liu

Watch on Microsoft’s site from 05:06

Microsoft’s player cannot open a video at a given time: once it plays, skip to the time shown.

What the session covers

Matt Gotteiner and Lewis Liu announce knowledge graph in Foundry IQ, integrated into the existing knowledge base and enabled with a feature flag, with no separate graph database to run. It has two lenses: an entity graph built from an ontology (exported from Fabric IQ, supplied as your own file or taken from built-in ontologies) for listing, counting and relationship questions, and a topic graph using Leiden clustering for broad thematic questions and topic-diverse retrieval. A managed pipeline handles permissions, scale and incremental updates, and the graph can be queried in natural language or directly with GQL. Demos over Microsoft earnings calls compare agentic search with the graph, a Python notebook shows GQL topic navigation and the diversity factor, and the Foundry IQ graph plugin for coding agents includes a playground. The team reports up to 64.3% token savings on multi-hop queries and shares lessons from the private preview.

Best for: Developers and architects building retrieval-grounded agents on Foundry IQ who need answers to counting, enumeration, relationship or broad thematic questions over unstructured documents.

Session timeline by chapter

New material starts at 05:06. After the intro, Foundry IQ recap and a framing of why classic RAG struggles, the knowledge graph announcement with its topics and entities lenses starts at 05:06.

Where to skip: Skip to 05:06; the ontology and managed pipeline parts at 08:33 and 11:15, the side-by-side demo at 14:35, the topic index internals at 25:13 and the notebook demo at 27:34 are the core; watch the plugin demo at 34:23 and the private preview lessons at 37:36; the first five minutes and the wrap-up from 40:40 can be skipped.

Chapters (14)

  1. 00:11 Recap Depth 100 · Novelty 0/3

    Session intro, agenda and one-slide recap of Foundry IQ

    Matt Gotteiner (PM on Foundry IQ) and Lewis Liu (Agentic Knowledge) open by noting that agent queries in production are getting harder for both retrieval systems and agents. The agenda covers how customer queries are evolving, the Entity Graph and topics, and how to get started. A one-slide recap describes Foundry IQ knowledge sources, which handle data connections, authentication, authorization, data transformation and embeddings, and which can be reused across agents so each agent grounds in a unified enterprise context.

  2. 02:23 Recap Depth 200 · Novelty 1/3

    Why classic RAG struggles: relationship, theme and database-style questions

    Lewis groups the hard queries customers bring into three patterns: answers hidden in structure and relationships (e.g. which supplier is linked to last quarter's incidents), themes and patterns across large volumes of data, and database-style questions such as top-N or counts over unstructured documents. He argues that similarity-based search struggles with these. A concrete example asks what case Microsoft management made for its AI investment in earnings calls and what evidence supports it, which needs products, speakers and supporting passages.

  3. 05:06 New Depth 200 · Novelty 3/3

    Announcing knowledge graph in Foundry IQ: topics and entities lenses

    Lewis announces knowledge graph in Foundry IQ as one feature integrated into the knowledge base experience, with two lenses: topics for themes and global queries, and entities for typed, connected records giving precise answers. There is no separate graph database to stand up, secure or operate; it runs on the same Foundry IQ engine and is turned on with a feature flag through the existing pipeline. He frames it as the next step after keyword, embedding and hybrid search, which remain in place, trading higher build cost for more precision and answerable question types.

  4. 08:33 Deep dive Depth 300 · Novelty 2/3

    Entity graph concepts and three ways to bring an ontology into Foundry IQ

    The entity graph is a network of typed entities with unique IDs (people, places, contracts, incidents) and their relationships, enabling precise library-style lookups and questions like 'how many' or 'show me all'. An ontology acts as a semantic layer and business vocabulary that defines which entities and relationships to capture; the earnings-call example uses organizations, people and conference calls. Ontologies can be uploaded three ways: exported from Fabric IQ, supplied as your own file (created with third-party tools or a coding assistant), or taken from built-in ontologies shipped in the plugin for common domains.

  5. 11:15 Deep dive Depth 300 · Novelty 2/3

    Managed graph build pipeline: robustness, quality, permissions, scale, updates

    Building a graph conceptually takes six steps (documents, understanding, entity extraction, relationship extraction, normalization), but the hard parts are robustness on messy data, controlling compounding model errors, carrying source permissions into the graph, scaling to millions of documents and incremental updates without full rebuilds. Lewis says these are where prototypes and POCs fail, so Foundry IQ builds them in natively: documents uploaded to Blob storage go through a fully managed pipeline, with connectors supporting 26 document types. The graph can be queried in plain language (NL-to-GQL translation, then an LLM answers) or directly with graph queries as developer primitives.

  6. 14:35 Demo Depth 200 · Novelty 2/3

    Demo video: agentic search vs knowledge graph on earnings-call questions

    A recorded side-by-side demo compares agentic search with agentic search powered by knowledge graph over Microsoft earnings calls. Asked to list each analyst and the executives who answered them, agentic search finds only one pair, while the graph version translates the question into an ontology-based structured query and returns complete pairs including one-to-many relationships. A counting question ('how many') fails with traditional RAG, while the graph translates it into a graph query that returns a count of 7.

  7. 17:02 Deep dive Depth 200 · Novelty 2/3

    Internal benchmark, up to 64.3% token savings and entity graph use cases

    Finding no public benchmark hard enough for knowledge graphs, the team built internal datasets from customer use cases and reports significant quality gains on challenging queries and up to 64.3% token savings on multi-hop queries, since build-time cost is spent upfront and reused at query time. Lewis lists use cases where the graph leapfrogs agentic search: exhaustive intersections (e.g. energy plant incidents), listing and counting (top five suppliers by revenue), missing attributes and links (e.g. healthcare diseases without early symptoms) and explicit, deterministic grounding. He notes the industry is in an early stage of adopting graphs for agents.

  8. 20:26 Deep dive Depth 300 · Novelty 2/3

    Topic graph: a table of contents for the corpus and ontology bootstrapping

    Matt introduces topic graph as the second knowledge graph feature, aimed at broad questions such as what is being overlooked beyond Azure and headline Copilot numbers, where RAG tends to fixate on one part of the corpus. Topics act like a table of contents: chunks are embedded, a topic detection algorithm groups related vectors into topics, the entity extraction pipeline builds the graph and topics are then summarized. Topics also help bootstrap an ontology for an unfamiliar corpus through a feedback loop with an agent that proposes and refines entity types.

  9. 25:13 Deep dive Depth 400 · Novelty 2/3

    Inside the topic index: GQL hierarchy, centroids and Leiden clustering

    The topic index stores topic titles, descriptions and parent–child relationships queryable via graph query language, plus vector centroids of each cluster. The example dataset has 841 passages from 41 earnings calls (FY14 to FY26), visualized in two dimensions. Clustering uses the Leiden algorithm, inspired by the Microsoft Research GraphRAG paper, producing nested clusters; subtopics are used for retrieval centroids, while broad topics give the agent a map of the corpus.

  10. 27:34 Demo Depth 400 · Novelty 2/3

    Notebook demo: walking topics with GQL and diverse vs balanced topic search

    In a Python notebook with the Foundry IQ SDK, Matt lists top-level topics and subtopics with GQL queries and retrieves passages by running a vector query around a subtopic's centroid. He shows that pure cosine-similarity results cluster in a handful of topics, then introduces diverse queries (round robin across topics) and balanced queries controlled by a diversity factor option on the topic graph query. The default diversity factor is 0.2, and balanced is recommended as the starting default because it keeps vector similarity while spreading results.

  11. 32:37 Deep dive Depth 200 · Novelty 2/3

    Evaluation: quality ladder and token efficiency; when to use topics

    Across a mix of datasets, the team found a quality ladder: RAG alone, then entities add more correct answers and topics close the gap, while token use decreases as entities and topics are added. Matt points to a blog with the full methodology. Topics fit broad, open-ended questions, summarization, boosting result diversity and exploring an unfamiliar corpus.

  12. 34:23 Demo Depth 200 · Novelty 2/3

    Demo: Foundry IQ graph plugin for coding agents and knowledge graph playground

    Matt shows the Foundry IQ graph plugin, installed from the Azure Skills Marketplace, which teaches a coding agent to build knowledge graphs; it is written mainly in Python and driven by prompts such as setting up a knowledge graph in an Azure subscription. The plugin includes a knowledge graph playground that compares passage-only search with knowledge graph results side by side. Additional views include an entity view and entity graph browser for debugging relationships, an ontology view replacing raw XML, and a site map for browsing topics and subtopics.

  13. 37:36 Deep dive Depth 300 · Novelty 2/3

    Lessons from the private preview: scope, ontology size, selectivity, model choice

    Lewis shares lessons from a knowledge graph private preview run for a couple of months with customers across industries. Knowledge graph extends rather than replaces vector and keyword search, so teams should know which questions they need to solve (simple lookups like 'who is Ben' may not need a graph). He recommends starting with a small corpus and limited ontology, being selective about what goes into the graph because triple extraction consumes output tokens, and names a model (captioned as 'GPT-406 Luna') as the recommended quality–cost trade-off.

  14. 40:40 Closing Depth 100 · Novelty 0/3

    Wrap-up: entity vs topic scenarios and next steps at Ignite

    Matt recaps that entity graph serves precise questions (listing, counting, sets, intersections, missing items, grounding), while topics serve broad thematic questions, teaching agents about the corpus and summarization. Getting started only requires installing the Foundry IQ plugin. Next steps include a breakout on agentic retrieval the next day at 2:45, two labs (next day and Friday), a streamed innovation session and blogs on the evaluation methodology.

Announcements (9)

  • 05:06 not stated Foundry IQ

    Knowledge graph in Foundry IQ

    A feature integrated into the Foundry IQ knowledge base that adds topic and entity representations on the same engine, without a separate graph database.

    Speaker’s quote (at 05:06)
    „So in this week, we are announcing the feature knowledge graph in Foundry IQ. It is 1 feature integrated into the knowledge base experience.“
  • 08:33 not stated Foundry IQ

    Entity graph in Foundry IQ

    A network of typed entities with unique IDs and their relationships extracted from documents for precise lookups.

    Speaker’s quote (at 08:33)
    „So entity graph is a network of connected entities. They are people, places, contracts, incidents, things plus their relationship altogether.“
  • 10:21 not stated Foundry IQ

    Ontology upload to Foundry IQ (Fabric IQ export, own file, built-in)

    Lets customers bring an ontology by exporting it from Fabric IQ, uploading their own file or using a built-in ontology from the plugin.

    Speaker’s quote (at 10:21)
    „There are three ways you can upload an ontology into Foundry IQ. The first one is if you're a Fabric IQ customer“
  • 13:13 not stated Foundry IQ

    Managed entity graph build pipeline

    A fully managed, scalable pipeline that builds the entity graph automatically from documents in Blob storage, respecting source permissions and handling incremental updates.

    Speaker’s quote (at 13:13)
    „We have connectors that support 26 different document types and run these through this pipeline that we help fully manage and scale“
  • 13:39 not stated Foundry IQ

    Natural-language and GQL querying of the knowledge graph

    Translates plain-language questions into GQL structured queries, or lets developers write graph queries directly.

    Speaker’s quote (at 13:39)
    „We do an NL to GQL, and we convert these into structured query, and you get the structured data back.“
  • 20:26 not stated Foundry IQ

    Topic graph in Foundry IQ

    Clusters corpus content into summarized, hierarchical topics that act as a table of contents for broad, thematic retrieval.

    Speaker’s quote (at 20:26)
    „I'm now going to kind of switch gears and talk about the next feature in knowledge graph, which is topic graph.“
  • 30:41 not stated Foundry IQ

    Topic-diverse and balanced retrieval with diversity factor

    A topic graph query option that spreads vector search results across topics according to a tunable diversity factor.

    Speaker’s quote (at 30:41)
    „there's this diverse factor query topic graph option where you can basically set a diversity factor and that's how you do it.“
  • 34:23 not stated Foundry IQ

    Foundry IQ graph plugin

    A plugin from the Azure Skills Marketplace that teaches coding agents to build and refine knowledge graphs in Foundry IQ.

    Speaker’s quote (at 34:23)
    „I can go to the Azure Skills Marketplace, I can install the Foundry IQ plugin, and then suddenly my coding agent is now an expert in knowledge graphs.“
  • 35:43 not stated Foundry IQ

    Knowledge graph playground

    A plugin UI to compare passage-only and knowledge graph answers and browse entities, ontology and topic site map.

    Speaker’s quote (at 35:43)
    „one of the really cool things you get out of the box with this plugin is this really cool knowledge graph playground.“

Demos (3)

  • 14:35 Not stated Foundry IQ

    Show developers how knowledge graph improves enumeration and counting questions over an unstructured earnings-call corpus compared with plain agentic search.

    Steps (4)
    1. Run the same question in agentic search (left) and agentic search powered by knowledge graph (right): list each analyst and every executive who answered their questions in the Microsoft earnings calls.
    2. Observe the graph-powered run's extra step that resolves the network of entities and translates the question into an ontology-based structured query.
    3. Compare results: agentic search returns one pair, the graph returns complete analyst–executive pairs with one-to-many relationships.
    4. Run a counting question ('how many') on the same corpus and inspect the returned graph query and its count (7).

    Prerequisites: A Foundry IQ knowledge base with knowledge graph built over the earnings-call corpus and an ontology.

  • 27:34 Not stated Foundry IQ

    Show developers how to navigate the topic hierarchy and use topic-aware diverse and balanced retrieval in code.

    Steps (6)
    1. Open a Python notebook and set up the Foundry IQ SDK.
    2. Run a GQL query to list the top-level topics of the topic graph.
    3. Run a GQL query selecting subtopics whose parent is a chosen topic (e.g. Azure growth and infrastructure).
    4. Retrieve passages for a subtopic by running a vector query using the topic centroid, sized by the stored topic coverage.
    5. Compare nearest-neighbour results with diverse queries (round robin across topics) using the visualizations and stats.
    6. Pass the topic graph option with a diversity factor and compare the effect of different values, ending with the balanced mode.

    Prerequisites: Python, the Foundry IQ SDK and a knowledge base with a built topic graph (here an earnings-call corpus).

  • 34:23 Not stated Foundry IQ graph plugin

    Let a developer use a coding agent to build a knowledge graph and then inspect and debug it in the playground.

    Steps (7)
    1. Install the Foundry IQ plugin from the Azure Skills Marketplace into your coding agent.
    2. Set up the plugin's Python dependencies.
    3. Prompt the coding agent to set up a knowledge graph in your Azure subscription and build a graph over your documents.
    4. Open the knowledge graph playground and ask a question, comparing passage-only search with knowledge graph results.
    5. Switch to the entity view and use the entity graph browser to inspect nodes and relationships behind the answer.
    6. Open the ontology view to review entity types and relationships as a graph.
    7. Browse the site map to explore topics and subtopics of the corpus.

    Prerequisites: A coding agent, an Azure subscription, Python dependencies and a set of documents.

Watch on Microsoft’s site: BRK307