# Knowledge graph

URL: https://www.getdynamiq.ai/glossary/knowledge-graph

> A database of entities and the relationships between them, such as a person working at an organization, used to answer connection questions.

A database of entities and the relationships between them, such as a person working at an organization, used to answer connection questions.

A knowledge graph stores facts as entities and the relationships connecting them, a person, an organization, a works-at relationship between them, rather than as blocks of text to search. Each fact carries provenance back to the document it was drawn from, so a graph is not just a diagram, it is a queryable, source-linked record.

Regulated investigations, know-your-customer checks, ownership questions, are relationship questions by nature. Without a knowledge graph, an analyst reconstructs those connections by hand, reading document after document and keeping the map in their head.

Which vendors share a registered address with this counterparty is a graph query across shared attributes and relationships, not something a keyword search over documents can answer directly.

**In Dynamiq**, a Knowledge Base can extract entities and relationships into a graph alongside its vector store, constrained by an editable ontology, entity types, relationship types and the patterns allowed between them, so extraction stays on-schema rather than free-form. Every fact remains traceable to the document and the access list it came from.

## See it in Dynamiq

-   [Knowledge](https://www.getdynamiq.ai/product/knowledge-rag)

## Related terms

-   [GraphRAG](https://www.getdynamiq.ai/glossary/graphrag)
-   [Vector database](https://www.getdynamiq.ai/glossary/vector-database)
-   [Retrieval-augmented generation (RAG)](https://www.getdynamiq.ai/glossary/retrieval-augmented-generation)

## See an agent on your own workflow.

Bring a process and its documents. Our engineers will show you how Dynamiq runs it, in your environment or ours.

[Start free](https://app.getdynamiq.ai/signup) · [Talk to the team](https://www.getdynamiq.ai/book-a-demo)
