> For the complete documentation index, see [llms.txt](https://docs.zingg.ai/zingg/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zingg.ai/zingg/running-zingg/knowledge-graph.md).

# Knowledge Graph

Build a knowledge graph on top of your resolved entities to analyze relationships across your data.

{% hint style="info" icon="right-long" %}
Enterprise Plus only. Knowledge Graph is available in Zingg Enterprise Plus (ZinggES). Not available in Community, Enterprise Lite, or Enterprise.
{% endhint %}

Entity resolution resolves who your entities are. The Knowledge Graph goes one step further - it maps the relationships between those entities once they are resolved.

After Zingg groups records into clusters and assigns Zingg IDs, the knowledge graph layer builds a graph structure on top of those resolved entities. This lets you query not just, "Is this the same customer?" but also "how are these customers connected to each other through shared addresses, accounts, devices, or transactions?"

Common applications include fraud detection (finding rings of connected entities), customer householding (understanding which individuals belong to the same household), supplier network analysis, and compliance screening (identifying indirect relationships between\
sanctioned entities and your counterparties).

### How it fits in the Zingg workflow

The Knowledge Graph is a post-match feature. The sequence is:

1. Run a match or incremental to resolve entities and assign Zingg IDs.
2. Zingg IDs become the nodes in the knowledge graph.
3. The knowledge graph layer maps edges between nodes based on shared attributes, transactions, or relationships defined by your data model.
4. Query the graph to find connected entities, paths between nodes, and clusters of related records.

{% hint style="success" icon="right-long" %}
**Read more:**

* Entity resolution and graph analysis with Neo4j - [Connect Graph Databases](/zingg/connect-your-data/connect-graph-databases-neo4j.md)
  {% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.zingg.ai/zingg/running-zingg/knowledge-graph.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
