liveBook · Manning

Knowledge base

As explained in Knowledge Graphs and LLMs in Action

A knowledge base is a repository that stores structured representations of facts, entities, relationships, and rules for computational use.

A knowledge base stores structured domain knowledge for computational use. Intelligent systems acquire knowledge from data, environments, and experts, then use it during reasoning. In an autonomous advisor, it supplies established, domain-specific understanding rather than generic answers and can grow through feedback from suggested actions. section 2.2.3 section 2.3

Knowledge bases support an implementation pipeline:

  • Transform heterogeneous structured or semistructured data into explicit entities, relationships, and properties guided by ontologies or schemas. section 2.3
  • Store representations for reasoning, while domain experts help define semantics, evaluate results, and maintain accuracy. section 2.3
  • Apply logical statements to relevant knowledge when a deductive reasoner must act or provide suggestions. section 2.5.1

Medical diagnosis

A virtual doctor can use a knowledge base containing action costs and outcomes, disease–symptom probabilities, and patient preferences to propose tests, treatments, and queries. This approach depends on knowledge that is sufficiently complete and accurate. section 2.5.1

Figure 2.4 Extended model of an intelligent system. The focus is on the core components (the knowledge base and the reasoning engine) and the core processes (knowledge acquisition and reasoning).
figure

Shows the knowledge base alongside the reasoning engine, with knowledge acquisition and reasoning as the system’s core processes. section 2.2.3

How Knowledge Graphs and LLMs in Action covers it

How deep it goes
Explains acquisition, graph representation, reasoning use, and completeness limitations, but stops short of implementation syntax or storage technology.
Examples
Uses medical diagnosis, disease–symptom probabilities, patient preferences, action costs, treatment outcomes, and logical decision statements.
What you can do after
Evaluate how deductive reasoning uses structured domain knowledge to propose actions, while recognizing completeness and accuracy requirements.
How it connects
Connects knowledge acquisition with knowledge graphs, ontologies, schemas, large language models, reasoning engines, and deductive reasoning.

Also explained in

Compare how 10 books explain knowledge base →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Knowledge Graphs and LLMs in Action. The section links point to the parts of the book it draws on.