A knowledge graph stores data as a network of nodes, edges, and properties rather than rows in tables or points in embedding space — relationships are explicit, queryable facts instead of JOINs or fuzzy similarity. You'll meet the two dominant flavors (the labeled property graph and RDF triples) and see how multi-hop questions like “which products are made by companies my colleagues work for?” fall out of graph traversal in ways tables simply can't.
A knowledge graph (KG) stores information as a network of things and the connections between them, instead of as rows in tables. If you have ever sketched boxes-and-arrows on a whiteboard to explain a system, you have already drawn a knowledge graph.
Every knowledge graph is built from exactly three kinds of things:
works_at points from the person to the company, not the other way around.name: "Alice" and born: 1995; the works_at edge has since: 2021.The real world is relationship-heavy and irregular. People know people who work at companies that make products bought by other people. Modeling that in a graph has three practical payoffs:
mentors, acquired) usually requires no migration of existing data.