Context and knowledge

Knowledge graph

stable definition
Machine-readable Download Markdown

Definition

A knowledge graph is a graph-shaped representation of entities or concepts and their named relationships. Nodes may represent people, products, documents, places, events, or abstract concepts. Edges represent claims such as "works for," "depends on," "located in," or "supersedes." Types, identifiers, constraints, and an ontology or schema give those relationships consistent meaning.

A useful graph separates a claim from its evidence. Provenance can record which document, database row, observation, or extractor supports an edge, along with time and confidence. The graph may then support structured queries, neighborhood exploration, path finding, entity resolution, or rule-based inference. Missing edges do not necessarily mean a relationship is false; the graph may simply be incomplete.

Where the name became prominent

Graph-based knowledge representation predates the current term by decades. Google's 2012 launch of its capitalized Knowledge Graph product helped popularize the modern name. Amit Singhal described a search model centered on real-world entities and their relationships, summarized as "things, not strings." The announcement is evidence for a prominent product and public usage, not a claim that Google invented knowledge graphs in general.

Distinguish it from nearby terms

  • A database graph stores nodes and edges. It becomes a knowledge graph when those elements represent a knowledge domain with meaningful identities and relations.
  • An ontology defines concepts, relation types, and constraints. A knowledge graph contains instance data and may use an ontology.
  • A vector index retrieves by learned similarity. A knowledge graph follows explicit relationships. Many systems combine them.
  • A control graph represents permitted workflow transitions. It is not a knowledge graph merely because both use nodes and edges.

Operational significance

Decide which artifact is authoritative. In many AI systems, the graph should be a rebuildable projection over source material, especially when a model extracted it. Preserve stable identifiers and source links, version the schema, record extraction methods, and define how corrections propagate. Evaluate entity resolution, relation precision and recall, freshness, and the accuracy of queries that depend on several edges.

Check your understanding

A graph states that a policy supersedes an older policy. A trustworthy answer should expose both source documents and the effective date, not rely on the edge label alone.