Case & CodeA FIELD GUIDE TO AI
Start learning
Intermediate

Knowledge graph

Also: knowledge graphs

In plain words

A map of things and how they connect, such as people, companies, and events, with lines between them.

The fuller definition

A knowledge graph represents entities and relationships explicitly, often as nodes and labelled connections.

How it fits together
  1. Person

    Morgan

  2. Relationship

    Sent

  3. Document

    Email A03

A simplified relationship, not a screenshot or a complete design.

A concrete example

A matter graph links a person to an email they sent and that email to the document it attaches.

The distinction that matters

A drawn relationship can be asserted or inferred; record its source and uncertainty rather than treating every edge as established.

Related terms

Where it is taught

How document-grounded AI answers work

Source and further reading

Sentence Transformers · Semantic search

The definition and example are written for this library. The link gives background, official documentation or legal authority as labelled. Legal scope depends on the jurisdiction and current text; product features depend on release and settings.

Lessons, terms, practical guides and sources ESC