Knowledge Graph
A structured network of entities and relationships that makes connected facts easier to query and reason over.
Follow two links from a print to a gallery
Imagine a museum database answering “Where was the River Steps print exhibited?” Names and relationships have separate roles.
Print → included in → Exhibition
An exhibition checklist links the individual print to the exhibition called River Towns.
Exhibition → held at → Gallery
A venue record links River Towns to the North Gallery. Following both links gives a candidate answer to the location question.
Give relationships enough detail to check them
Two exhibitions can share a title. Identify the exhibition by its own record and include dates when linking venues, particularly for a touring show. Keep a reference for each assertion so a reader can trace the result back to the checklist and venue record.
How They Work with AI Systems
A knowledge graph can improve retrieval, support reasoning over known relationships, and provide a more curated layer of truth for downstream systems. In practical deployments, it may complement RAG by supplying structured entities and links that can be retrieved alongside ordinary documents. It can also support recommendation and search systems that need interpretable relationships. In many systems, the graph is guided by an ontology and populated through entity extraction and linking.
Knowledge graphs are not magic replacements for language models, and building them can require careful schema design and data integration. But they are powerful when the problem depends on connected facts that should remain explicit and inspectable.
Follow the idea
Ontology describes the kinds of relationships a collection uses.
Entity resolution investigates whether two records describe the same thing.
Related concepts (7)
Examples in the AI guides
Related Yenra articles (16)
Source · The W3C RDF Primer
Return to Knowledge Graph in the A–Z glossary