DBpedia
DBpedia turns the semi-structured parts of Wikipedia into a proper knowledge graph. An extraction pipeline reads infoboxes, categories, article links, and other markup, then publishes the facts as RDF triples: small statements of the form subject, predicate, object, such as "Berlin, capital of, Germany". Across all languages this adds up to billions of facts about people, places, organisations, works, and events, each tied to a stable identifier you can link to and from.
There are two main ways to work with it. For exploration and small live lookups, DBpedia runs a public SPARQL endpoint, where SPARQL is the query language designed for searching knowledge graphs, so you can ask for, say, every city in a country with its population in one query. For anything at scale you will want the bulk dumps (downloadable per language and per dataset), which you load into your own triple store or graph database so you are not depending on, or overloading, the shared public endpoint.
For RAG, DBpedia is most useful as a layer of structured facts and entity relationships sitting beside your text. You can use it to resolve which "Mercury" a query means, pull a tidy set of attributes for an entity to ground an answer, or expand a question with related entities before you retrieve. Because it mirrors Wikipedia's structure across many languages, coverage is broad and general rather than deep in any one field.
Two caveats. The data is only as consistent as Wikipedia's infoboxes, so expect gaps, the occasional stale value, and some messy typing. On licensing, DBpedia is CC BY-SA 3.0: commercial use is fine, but it is share-alike, meaning a derivative dataset you distribute must carry the same licence, and you must attribute the source.
DBpedia predates Wikidata and overlaps with it heavily. Wikidata is now the more actively curated of the two, but DBpedia's linked-data identifiers and language coverage mean the two are still often used together.
Related sources
Freebase
A collaborative knowledge base once run by Google, now retired but still available as downloadable data dumps. It holds structured facts about millions of entities, and much of its content has since moved into Wikidata.
OpenCyc
The open release of Cyc, one of the oldest attempts to hand-build common-sense knowledge for machines. It holds hundreds of thousands of concepts and millions of assertions about how the everyday world fits together. Now archived, but the data is still available.
Structured Wikipedia
Wikipedia rendered as pre-parsed, machine-readable JSON: abstracts, short descriptions, infoboxes, sections, parsed tables and references, with links to Wikidata entities. A beta from Wikimedia Enterprise covering nine languages, also mirrored on Hugging Face. The section-segmented shape a RAG pipeline actually wants.
SYNTH
A fully open synthetic corpus of amplified multilingual encyclopaedic text with built-in reasoning traces and exercises covering RAG, information extraction and QA. Released by PleIAs with the AI Alliance, it targets training and evaluating small, grounded, citeable reasoning models.