Knowledge Graph
Structured representation of knowledge as a network of entities and the relationships between them, used for search, reasoning and data integration.
A knowledge graph stores facts as a graph: nodes represent entities such as people, places, organizations or concepts, and labeled edges represent relationships between them, such as born in, works for or part of. Facts are often expressed as triples of subject, predicate and object. A schema or ontology defines the types of entities and relations allowed, giving the data consistent meaning. Because relationships are explicit, a knowledge graph can answer questions that require following chains of connections and can combine information from many sources.
The approach grew from decades of work on semantic networks, ontologies and the Semantic Web, a vision promoted by Tim Berners-Lee of machine-readable linked data on the web, with standards such as RDF from the W3C. Google popularized the term in 2012 when it introduced its Knowledge Graph to show facts about entities directly in search results. Wikidata, a Wikimedia project launched the same year, became a large open, collaboratively edited knowledge graph used across Wikipedia and beyond.
Knowledge graphs power search panels, recommendation engines, fraud detection, biomedical research and enterprise data integration. They complement statistical AI: large language models are fluent but can hallucinate, while graphs offer explicit, verifiable facts, so combining the two in retrieval systems is an active area of work. Building and maintaining a graph is labor-intensive, and errors or gaps propagate into applications. In investigative work, link analysis tools apply similar graph thinking to map connections between people, companies and events.
Key points
- Knowledge graphs represent entities as nodes and relationships as labeled edges.
- Ontologies define the entity types and relations, giving the data consistent meaning.
- Google's Knowledge Graph and Wikidata, both launched in 2012, brought the approach to wide use.
- Explicit, verifiable facts in graphs complement the fluent but less reliable output of language models.
Related entries
Graph Theory
Branch of mathematics that studies networks of nodes connected by edges, used to model relationships from road maps to social networks.
Semantic Search
Search technique that matches queries to content by meaning and intent rather than by exact keywords, often using embeddings and language models.
Retrieval-Augmented Generation
Technique that improves a language model's answers by first retrieving relevant documents and supplying them to the model as context.
Approach to artificial intelligence that represents knowledge with explicit symbols and rules and manipulates them through logic and search.
Link Analysis
Analytical technique that represents people, organizations, places, events and objects as connected nodes to reveal relationships and patterns.
Wikipedia
Free, multilingual online encyclopedia written collaboratively by volunteers and hosted by the nonprofit Wikimedia Foundation since 2001.
Tim Berners-Lee
British computer scientist who invented the World Wide Web at CERN and founded the World Wide Web Consortium to develop its open standards.
AI program that emulates the decision-making of a human specialist by applying a knowledge base of rules to the facts of a particular case.
Referenced by
Other entries that discuss or point to Knowledge Graph.