Create a Knowledge Graph
Build a knowledge graph from your documents.
Create a Knowledge Graph
Knowledge graphs extract entities (people, organizations, locations) and relationships from your documents, building a connected network you can explore and query.
Prerequisites
- At least one document uploaded and fully processed (status: Completed)
- Documents in Processing status cannot be added to graphs
Steps
- Navigate to Graphs in the sidebar
- Click New Graph in the top-right corner
- Enter a name for your graph
- Select source content:
- Select Documents: Choose individual files from the dropdown
- Select Folders: Choose folders to include all their documents
- You can select both documents and folders
- Click Create Graph
The graph appears in the Processing Graphs section. Processing runs in the background—you can continue using Moongraph while it completes.
What happens during processing
Graph creation runs through several stages:
- Queued — Waiting for a worker to start
- Extraction — Entities and relationships are extracted from document chunks
- Resolution — Duplicate entities are identified and merged
- Storage — The graph is saved to the database
Processing time depends on the number and size of documents. A few documents may take a couple of minutes; larger collections take longer.
Monitoring progress
Click on a processing graph to see real-time progress:
- Chunks processed / total
- Entities extracted so far
- Relationships extracted so far
- Current processing stage
The page updates automatically. You can cancel processing if needed using the Cancel button.
Related
- Add Documents to an Existing Graph
- Graphs Reference — All status states and UI options
- Why Build a Graph? — When graphs are useful