Knowledge graph

Updated

A knowledge graph is a way of representing knowledge as a network: entities such as people, places, products and concepts are the nodes, and named relationships between them are the edges. Each connection reads as a fact, for example "Marie Curie won the Nobel Prize in Physics". The term became widely known in 2012, when Google introduced its Knowledge Graph to improve search results.

Parts of a knowledge graph

  • Nodes (entities): the things the graph knows about.

  • Edges (relationships): the named, directed links between nodes, such as "works for", "located in" or "is a type of".

  • Properties: details attached to a node or an edge, such as a date or a size.

  • Triples: subject, relationship and object taken together. A graph is a collection of triples.

  • Schema or ontology: the agreed types of entities and relationships that keep the graph consistent.

What knowledge graphs are used for

  • Search: answering a question directly instead of listing pages.

  • Recommendations: suggesting products, films or articles related to what a person already chose.

  • Artificial intelligence: giving an AI agent or language model reliable facts and relationships to reason over.

  • Research and learning: mapping a field, a book's arguments or the people and events of a historical period.

  • Business: connecting customers, products, suppliers and documents that live in separate systems.

How to build a simple knowledge graph

  1. Choose a subject and a question the graph should help answer.

  2. List the entities and decide their types.

  3. Add relationships and name each one with a verb.

  4. Look for clusters and bridges. Groups of closely linked nodes are themes, and a node that joins two groups is often the most interesting.

  5. Extend it as you learn more. A graph grows without having to be redrawn.

Knowledge graph vs concept map and mind map

A mind map branches from one central topic. A concept map also names the links between ideas, and is usually drawn by hand to explain a subject. A knowledge graph follows the same principle at a larger scale, with typed entities, and can be queried by software. An ER diagram describes tables for a relational database, while a knowledge graph stores the relationships themselves as data.

Example

Lucas, a history student, maps the causes of the Industrial Revolution. Nodes include inventions, inventors, cities and resources. Edges such as "invented", "powered" and "supplied" connect them. The graph shows that coal links to more nodes than anything else, which becomes the argument of his essay.

Knowledge graphs in MockFlow

MockFlow boards have a knowledge graph component for exploring a subject visually: see Create a knowledge graph. To begin from a sentence or a document, use Create a knowledge graph with AI, or the concept knowledge graph skill. More generators are on the AI diagram generator page.

MockFlow

Turn ideas into plans on one board.

No account needed
mockflow.com/new

Open a blank board in one click. Boards last 24 hours, so sign up to keep one.

MCPBrainstorm with MockFlow MCP

Add MockFlow as an MCP connector in Claude, Cursor, or any MCP-compatible AI assistant to generate flowcharts, mindmaps, architecture diagrams, and 16 types of visualizations.

Desktop App MCP Powerful
CLI Web MCP Developer
Web MCP Easiest

Built into the MockFlow Desktop App. AI creates visuals directly on your open canvas — no URLs, no waiting.

1
Open Desktop App → open a MockFlow project
2
In Claude Code / Cursor, run:
claude mcp add --transport http -s user mockflow-ideaboard http://localhost:21193/mcp
3
Ask: "Create a flowchart for..."

Best for: Designers, product teams, daily MockFlow users.

Download Desktop App →

Install from npm, log in via browser (OAuth), and boards are saved to your MockFlow account.

1
npm install -g @mockflow/ideaboard-mcp
2
mockflow-ideaboard-mcp login
3
mockflow-ideaboard-mcp

Best for: Developers using Claude Code, Cursor, or VS Code Copilot.

npm Package →

Add MockFlow as a connector in Claude.ai or ChatGPT. No installation. A new board is created and you get a shareable URL.

1
Open Claude.ai → Settings → Connectors
2
Paste this URL, then click Connect and sign in to MockFlow: https://app.mockflow.com/ideaboard/connector/mcp
3
Ask Claude to create a flowchart — done!

ChatGPT: use https://app.mockflow.com/ideaboard/mcp and save its boards to your account to keep them

Best for: Managers, marketers, anyone using Claude.ai or ChatGPT in the browser.

Welcome back
Don't have an account? Sign up

Faster ways in

Sign in with an account you already use.