NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Construction of “Analects of Confucius” Knowledge Base Including Pragmatics Information

Yang Ye, Seiji Tsuchiya, Fuji RenIEEJ 2009

Abstract

In this paper, we propose an approach of constructing the knowledge base for “Analects of Confucius”, which aims to help the correct understanding of “Analects of Confucius”. The content of “Analects of Confucius” has the characteristics that it has not been categorized by topics and always has comprehensive meanings. Thus it is necessary to build an framework to manage and build the knowledge base for it. The construction of knowledge base in the past work has been focusing on the research of the words and the shallow meaning and explicitly communicated meaning of the passages which can not be used for deeper meaning and implicitly communicated meaning. The present paper sets up an categorization system for “Analects of Confucius”, then based on it, the knowledge base is built by using pragmatics information with reference to utterance interpretation method in pragmatics. The question answering system adopts the knowledge base of “Analects of Confucius” and gives an assessment of it. The results show that the combined answer with pragmatics information and modern text interpretation outperforms the answers which are extracted only from modern text by 32.2%.

Introduction

Classical texts like the Analects of Confucius are notoriously difficult for natural language processing (NLP) systems. Unlike modern technical manuals, the Analects are not organized by theme; chapters are simply titled after their first two words. Furthermore, the text is "high-context," meaning the true message often lies in what is implied rather than what is explicitly stated. Existing knowledge base methods—such as vector space models or simple ontologies—excel at "shallow" meanings but struggle with the polysemy and metaphorical nature of Confucian verses. Without a way to encode "pragmatic" information, AI systems provide literal but functionally incorrect answers to philosophical queries.

Methodology: Integrating Pragmatics

The researchers constructed a multi-layered knowledge base (KB) consisting of 770 entries. The core innovation is the integration of Relevance Theory from the field of pragmatics to interpret utterances through three distinct procedures: explicature (literal meaning), high-level explicature (speaker intent), and implicature (hidden meaning derived from context).

Table 1: Examples of the knowledge base structure, showing how pragmatic information like implicature is mapped to specific verses.

As illustrated in the table above, the KB records not just the source text and its modern translation, but also specific pragmatic information that clarifies the underlying lesson, such as "The emphasis of education is to cultivate personality."

Categorization System

Because the Analects lack an inherent thematic structure, the researchers manually imposed a hierarchical taxonomy to make the data searchable. This system includes 13 major content categories and 106 subcategories, ranging from Politics to Everyday Life.

Table 2: The hierarchical categorization system used to organize the Analects into searchable themes.

This structural reorganization allows the system to perform disambiguation through pragmatics. For example, it can distinguish between different meanings of the same word (like "Junzi/Gentleman") based on whether the context implies a "moral person" or a "political ruler."

Key Results

The proposed pragmatics-informed system was compared against a baseline using only modern text interpretations. To evaluate the system, a custom benchmark of 199 unique questions was established based on inquiries from 50 human subjects.

  • Precision Boost: The pragmatics-informed system outperformed the baseline by 32.2% in precision.
  • Recall: Recall jumped from 15.0% to 60.0%, suggesting that the pragmatic layer allows the system to find relevant answers that literal keyword searches would miss entirely.
  • F-Score: The system achieved an F-score of 52.4%, compared to just 20.2% for the baseline.

Conclusion

By encoding pragmatic information as a first-class citizen in the database, the system successfully bridges the gap between a user's modern query and ancient aphorisms. While the current knowledge base was manually curated, future work aims to develop automated construction methods to expand the system to cover the broader "Four Books and Five Classics" of Confucianism.

Summary updated

BibTeX
@inproceedings{ye2009construction,
  author = {Yang Ye and Seiji Tsuchiya and Fuji Ren},
  title = {{Construction of \“Analects of Confucius\” Knowledge Base Including Pragmatics Information}},
  booktitle = {IEEJ},
  year = {2009},
  doi = {10.1541/ieejeiss.129.133},
}
Figure