Knowledge bases and knowledge graphs
A knowledge base is a large, curated store of facts and rules that software can query and reason over. A knowledge graph is a knowledge base that stores its facts as subject–predicate–object statements called triples (Sun et al., 2024b). Examples range from Cyc, written by hand over four decades, to large open graphs such as Wikidata and DBpedia (Lenat & Marcus, 2023; Färber et al., 2018). Measured studies of open graphs find duplicate entities, missing facts and middling references. The largest hand-built base had no published systematic evaluation as of 2015.
Two questions remain open. One is how to record where each statement came from, its provenance, in a way people actually adopt. The other is whether language models, which absorb facts from text, will replace these stores or work alongside them.
Hand-built and community-built knowledge
Knowledge bases differ mainly in who writes the facts. Cyc is the extreme case of expert authorship. Its builders describe a four-decade, 50-person project to write down tens of millions of pieces of common sense and general models of the world (Lenat & Marcus, 2023). Its knowledge base holds tens of millions of hand-authored assertions, almost all of them general rule-of-thumb axioms (Lenat & Marcus, 2023).
Open knowledge graphs instead draw on many contributors or on existing sources. A survey of five widely used open graphs (DBpedia, Freebase, OpenCyc, Wikidata and YAGO) noted that, though extensively used, they had not been compared in depth before (Färber et al., 2018). Wikidata alone had more than 1.1 billion statements by December 2020 (Shenoy et al., 2022).
Cyc and the missing outside evaluation Weak evidence: few or small studies support this
What Cyc achieved is known almost only from its own builders. Two researchers outside the project, Ernest Davis and Gary Marcus, wrote in 2015 that Cyc published very little in its first fifteen years and that no systematic evaluation of its contents, capacities and limitations had been published (Davis & Marcus, 2015). They added that it is unclear how much of Cyc deals with commonsense inference and how much with specialised applications such as medical records (Davis & Marcus, 2015).
Accounts of how usable Cyc is from outside also conflict. Davis and Marcus cite one study that found ResearchCyc poorly organised and very difficult to use, alongside other outside scientists who reported differently (Davis & Marcus, 2015). They argue the field would benefit from a systematic description and evaluation of Cyc (Davis & Marcus, 2015).
Measuring quality
Quality in a knowledge graph is measured against explicit criteria. The survey of five open graphs defined data quality criteria, compared the graphs on them, and proposed a framework for choosing the most suitable graph for a given use (Färber et al., 2018).
Wikidata shows measurable quality problems at scale. A study of its December 2020 dump used three signals of low quality: statements removed and not added back, statements marked as deprecated, and violations of the graph’s own constraint rules. It found duplicate entities, missing triples, violated type rules and confused taxonomic distinctions (Shenoy et al., 2022). The first signal treats the community’s edits as a vote: a statement removed and never restored is taken as agreed to be wrong (Shenoy et al., 2022).
Most Wikidata statements cite a source, but the sources are of middling quality. About 73% of statements carry references, yet few studies had assessed how good those references are (Beghaeiraveri et al., 2024). A scoring system built for that purpose gave Wikidata subsets an average referencing quality of 0.58, on a scale where 1 is the best score (Beghaeiraveri et al., 2024).
Recording provenance
Provenance is the record of where a piece of data came from and who made it, so that others can judge whether to trust it. The W3C, which sets web standards, defines it as information on the entities, activities and people behind data, used to judge its quality, reliability or trustworthiness (Moreau & Missier, 2013). Three models record it at different levels of detail.
| Model | What it describes | Unit |
|---|---|---|
| W3C PROV (2013) | Who and what produced a piece of data, from what | Any entity, activity or agent |
| Nanopublications | One scientific result with its own provenance | A single assertion |
| Micropublications | A claim with its evidence, challenges and disagreement | A claim and its argument |
W3C PROV describes provenance with three core types. An entity is any thing, such as a document, a file or an idea. An activity happens over time and acts on entities. An agent bears responsibility for an activity or entity (Moreau & Missier, 2013).
Nanopublications go down to the single statement. Each one states a scientific result as a single assertion in RDF, the web’s format for triples. It attaches provenance to that assertion and treats it as a publication of its own (Kuhn et al., 2014). Micropublications go further and model a claim together with its evidence, including data, methods, commentary, challenges and disagreement (Clark et al., 2014). Their authors argue this lets them serve where statement-only models such as nanopublications fall short, while staying compatible with them (Clark et al., 2014).
Adoption Weak evidence: few or small studies support this
Claims of wide adoption come mostly from the people who built these models. When PROV became a standard in 2013, its working group reported over 40 implementations of its ontology, PROV-O (W3C Provenance Working Group, 2013). By 2014 nanopublications had been used mostly in the life sciences, in fields such as pharmacology and genomics (Kuhn et al., 2014).
By 2018 the format’s developers reported more than 10 million nanopublications, mostly life-science data, spread across fifteen servers in nine countries (Kuhn et al., 2018). They described the PROV ontology as widely adopted by then (Kuhn et al., 2018). A 2026 snapshot of one public nanopublication registry, by the same group, held 79,672 stored nanopublications signed by 616 distinct agents (Kuhn et al., 2026). The two counts measure different things, a network total and one registry, so they do not show a decline.
Language models as knowledge bases Contested: studies disagree on this
Researchers disagree on how much factual knowledge language models hold. Language models, trained on large amounts of text, can answer factual questions without any curated store. Their rise sparked a debate on whether they will replace knowledge graphs (Sun et al., 2024b).
The case for models
The case for models rests on cost and coverage. Advocates list their advantages over structured knowledge bases: no schema to design, an open set of relations, easy extension to more data, and no human supervision needed for training (Petroni et al., 2019). A 2019 probe found that the BERT model, without further training, held relational knowledge competitive with traditional methods that had some access to the right answers (Petroni et al., 2019). One follow-up built knowledge graphs from language models without human supervision and reported facts missing from existing graphs (Wang et al., 2020b). A review agreed that needing no supervision is a major advantage, but held that a model needs a set of further properties to fully act as a knowledge base (AlKhamissi et al., 2022).
The case against
The early probe results were later challenged as partly an artefact. One study found that the models’ good scores came mainly from biased prompts that fit quirks of the test data. It questioned whether such models are reliable knowledge bases (Cao et al., 2021). Language models also struggle with less popular facts, and making them larger barely improves their memory of these long-tail facts (Mallen et al., 2023).
Models know rare facts even less well than graphs do. On the Head-to-Tail benchmark of factual questions, the best model tested answered about 31% of questions correctly overall (Sun et al., 2024b). Its authors conclude that long-tail knowledge is sparse in knowledge graphs and even scarcer in language models, and suggest keeping facts about obscure entities and new events as triples that a model retrieves when needed (Sun et al., 2024b).
Combining the two Weak evidence: few or small studies support this
Some position papers argue that the two complement each other. One roadmap holds that language models are black boxes that often fail to capture and access facts. Knowledge graphs store facts explicitly but are hard to build and keep current, so the two should be unified (Pan et al., 2024c). It proposes three designs: graphs that improve models, models that help build graphs, and systems where both work together (Pan et al., 2024c).
Another paper argues that models cannot substitute for explicit knowledge bases but could help extend and curate them (Razniewski et al., 2021). The second paper rests on qualitative arguments.
Further reading
- Färber and colleagues, “Linked data quality of DBpedia, Freebase, OpenCyc, Wikidata, and YAGO” (Färber et al., 2018): the standard side-by-side comparison of five open knowledge graphs, with a framework for choosing among them.
- Shenoy and colleagues, “A study of the quality of Wikidata” (Shenoy et al., 2022): how to find low-quality statements in a graph of over a billion statements using the community’s own edits and rules.
- Davis and Marcus, “Commonsense reasoning and commonsense knowledge in artificial intelligence” (Davis & Marcus, 2015): an outside view of commonsense knowledge in AI, including what is and is not known about Cyc.
- Moreau and Missier, “PROV-DM: The PROV data model” (Moreau & Missier, 2013): the W3C standard for describing where data came from.
- Sun and colleagues, “Head-to-Tail: How knowledgeable are large language models?” (Sun et al., 2024b): a benchmark framed around whether language models will replace knowledge graphs, and why rare facts are the weak point.
- Pan and colleagues, “Unifying large language models and knowledge graphs: A roadmap” (Pan et al., 2024c): the main statement of the case for combining the two.
First published .
Known gaps
What this article cannot tell you yet.
- No independent, systematic measure of the accuracy or coverage of Cyc was found; its size is known only from its own authors.
- The numeric accuracy and coverage scores from the comparison of DBpedia, Freebase, OpenCyc, Wikidata and YAGO were not recorded, so the article cannot say which graph scored best.
- Current usage figures for W3C PROV, and adoption figures for micropublications and RO-Crate, were not researched; the adoption evidence for PROV and nanopublications comes from the communities that built them.
- No single current count of published nanopublications was found; the 2018 total and the 2026 registry snapshot measure different things.
- No experiment that directly decides between language models replacing knowledge bases and complementing them was found.
References
- Solid source
- Rated highly trustworthy by the research, and every passage taken from it was found in it.
- Weak source
- Rated low, or a passage taken from it was not found in it.
- Medium trust
- Rated medium by the research.
- Not checked
- Rated high, but its passages could not all be checked against it.
Show all 19 references
- AlKhamissi, B., Li, M., Celikyilmaz, A., Diab, M., & Ghazvininejad, M. (2022). A review on language models as knowledge bases. arXiv:2204.06031 (preprint). https://arxiv.org/abs/2204.06031 Medium trust Preprint, abstract only.
- Beghaeiraveri, S. A. H., Gray, A. J. G., & McNeill, F. (2024). RQSS: Referencing quality scoring system for Wikidata. Semantic Web, IOS Press. https://www.semantic-web-journal.net/system/files/swj3326.pdf Solid source Peer-reviewed, read in large part.
- Cao, B., Lin, H., Han, X., Sun, L., Yan, L., Liao, M., et al. (2021). Knowledgeable or educated guess? Revisiting language models as knowledge bases. ACL 2021. https://arxiv.org/abs/2106.09231 Medium trust Preprint, abstract only.
- Clark, T., Ciccarese, P. N., & Goble, C. A. (2014). Micropublications: A semantic model for claims, evidence, arguments and annotations in biomedical communications. Journal of Biomedical Semantics, 5:28. https://pmc.ncbi.nlm.nih.gov/articles/PMC4530550/ Medium trust Peer-reviewed, read in full.
- Davis, E., & Marcus, G. (2015). Commonsense reasoning and commonsense knowledge in artificial intelligence. Communications of the ACM, 58(9). https://cs.nyu.edu/~davise/papers/CommonsenseFinal.pdf Medium trust Peer-reviewed, read in large part.
- Färber, M., Bartscherer, F., Menne, C., & Rettinger, A. (2018). Linked data quality of DBpedia, Freebase, OpenCyc, Wikidata, and YAGO. Semantic Web, 9(1), IOS Press. https://www.semantic-web-journal.net/system/files/swj1465.pdf Solid source Peer-reviewed, read in large part.
- Kuhn, T., Chichester, C., Krauthammer, M., & Dumontier, M. (2014). Publishing without publishers: A decentralized approach to dissemination, retrieval, and archiving of data. arXiv:1411.2749; later PeerJ Computer Science. https://arxiv.org/pdf/1411.2749 Medium trust Preprint, read in full.
- Kuhn, T., Meroño-Peñuela, A., Malic, A., Poelen, J. H., Hurlbert, A. H., Ortiz, E. C., et al. (2018). Nanopublications: A growing resource of provenance-centric scientific linked data. arXiv:1809.06532. https://arxiv.org/html/1809.06532.pdf Solid source Peer-reviewed, read in full.
- Kuhn, T., Balseiro, V., Caselli, A., et al. (2026). A robust decentralized infrastructure for trust-aware open knowledge sharing. The Semantic Web, ISWC 2026, Lecture Notes in Computer Science, Springer, pp. 152-170. https://knowledgepixels.com/nanopub-ecosystem-paper/ Medium trust Book, read in full.
- Lenat, D., & Marcus, G. (2023). Getting from generative AI to trustworthy AI: What LLMs might learn from Cyc. arXiv:2308.04445 (preprint). https://arxiv.org/pdf/2308.04445 Medium trust Preprint, read in large part.
- Mallen, A., Asai, A., Zhong, V., Das, R., Khashabi, D., & Hajishirzi, H. (2023). When not to trust language models: Investigating effectiveness of parametric and non-parametric memories. ACL 2023. https://arxiv.org/abs/2212.10511 Solid source Preprint, abstract only.
- Moreau, L., & Missier, P. (2013). PROV-DM: The PROV data model. W3C Recommendation. https://www.w3.org/TR/prov-dm/ Solid source Documentation, read in full.
- Pan, S., Luo, L., Wang, Y., Chen, C., Wang, J., & Wu, X. (2024c). Unifying large language models and knowledge graphs: A roadmap. IEEE Transactions on Knowledge and Data Engineering. https://arxiv.org/abs/2306.08302 Medium trust Peer-reviewed, read in full.
- Petroni, F., Rocktäschel, T., Lewis, P., Bakhtin, A., Wu, Y., Miller, A. H., et al. (2019). Language models as knowledge bases? EMNLP 2019. https://arxiv.org/abs/1909.01066 Medium trust Preprint, abstract only.
- Razniewski, S., Yates, A., Kassner, N., & Weikum, G. (2021). Language models as or for knowledge bases. arXiv:2110.04888 (preprint). https://arxiv.org/abs/2110.04888 Medium trust Peer-reviewed, read in full.
- Shenoy, K., Ilievski, F., Garijo, D., Schwabe, D., & Szekely, P. (2022). A study of the quality of Wikidata. Journal of Web Semantics, 72. https://arxiv.org/abs/2107.00156 Medium trust Peer-reviewed, read in full.
- Sun, K., Xu, Y. E., Zha, H., Liu, Y., & Dong, X. L. (2024b). Head-to-Tail: How knowledgeable are large language models (LLMs)? A.K.A. Will LLMs replace knowledge graphs? NAACL 2024. https://arxiv.org/abs/2308.10168 Solid source Preprint, read in full.
- W3C Provenance Working Group (2013). PROV implementation report. W3C Working Group Note. https://www.w3.org/TR/2013/NOTE-prov-implementations-20130430/ Medium trust Read in full.
- Wang, C., Liu, X., & Song, D. (2020b). Language models are open knowledge graphs. arXiv:2010.11967 (preprint). https://arxiv.org/abs/2010.11967 Medium trust Preprint, abstract only.