Skip to content
RAG Repo

YAGO (Yet Another Great Ontology) blends three sources to get both breadth and quality: Wikipedia for facts about entities, WordNet for a clean backbone of concepts and categories, and GeoNames for places. The result is a knowledge base where entities are neatly typed and the facts have been checked for consistency, which keeps the error rate low compared with graphs built from raw text alone.

A notable feature is that many facts carry time and location, so you can capture statements such as who held an office during a given period, not just the bare relationship. The data is published as RDF triples, small subject, predicate, object statements, and you can download the dumps or query them with SPARQL, a query language built for knowledge graphs.

For RAG, YAGO is a good pick when accuracy and clean entity types matter more than sheer size, for example when you need dependable facts to check or enrich the answers your system generates.

knowledge-basestructuredwikipediawordnetgeonamesrdf

Related sources