Daejeon, July 27–31
This paper presents an ongoing project to build a multilingual, knowledge-grounded conversational agent for interpreting classical Sinitic literature using small but fully curated semantic data. The prototype is developed on top of a Semantic MediaWiki (SMW)–based Linked Open Data (LOD) archive constructed around the seventeenth-century Korean anthology Sihwa ch’ongnim 詩話叢林 (Compendium of Poetry Talks) [Han et al. 2022]. Rather than serving as a translation engine or text-retrieval tool, the system explores how knowledge-augmented generation (KAG)—an emerging paradigm that integrates LLM outputs with structured graph reasoning—can support translingual interpretation in ways conventional retrieval-augmented generation (RAG) cannot [Gao et al. 2023; Han et al. 2024; Jeong 2024; Li, Z. et al. 2025; Liang et al. 2025].
We argue that classical East Asian corpora, with their multilingual ecosystems (classical Sinitic, modern Korean, modern Chinese, and English scholarship), provide a crucial testbed for rethinking translingual reasoning in AI. General-purpose LLMs struggle to navigate the philological and cultural depth of classical Sinitic texts, demonstrating the need for systems that combine multilingual capacity with structured knowledge representations. We aim to demonstrate that curated, multilingual LOD can meaningfully enhance LLM interpretation of premodern literature.
From RAG to KAG
Recent AI work on classical literature has concentrated on text mining, RAG pipelines, and domain-specific LLMs. Korean scholarship on literary chatbots notes that while RAG offers strong retrieval and accessible querying, it struggles with contextual reasoning, maintaining knowledge accuracy, and generating meaningful interpretive insights [Ha & Park 2025; Jeong 2024]. These weaknesses become more pronounced with classical Sinitic texts, such as those in the Sihwa ch’ongnim anthology, where compact syntax, dense allusions, and culturally layered references challenge generalist LLMs trained on modern data [Li, Z. et al. 2025; Liang et al. 2025].
Domain-specialized models such as TongGu and SikuGPT improve comprehension through targeted pretraining [Cao et al. 2024; Liu et al. 2023], yet they remain mostly monolingual and rely on unstructured text retrieval. Without structured knowledge graphs, they cannot perform explicit reasoning over the relational features essential to deep literary interpretation—such as links among people, places, genres, and historical events [Ma et al. 2020; Liu et al. 2025].
Examples from recent scholarship illustrate the limitations of retrieval-only methods: RAG pipelines for classical literature often retrieve relevant passages but fail to maintain coherence or capture cultural nuance [Jeong 2024; Ha & Park 2025]. Work on Yanxinglu (Records of Missions to China) similarly shows difficulty representing spatial and narrative structure using unstructured retrieval alone [Chen & Shi 2024]. These shortcomings stem from RAG’s dependence on similarity metrics rather than structured reasoning.
Our project adopts a KAG approach to address these limitations. KAG integrates structured knowledge graphs derived from LOD to actively inform retrieval and generation, moving beyond similarity-based matching. Specifically, we implement this using GraphRAG-style reasoning. The system translates conversational queries into graph traversals and structured reasoning, allowing scholars to engage with relational data through natural language while avoiding the technical barriers of SPARQL interfaces [Barbera 2013; Middle 2022]. KAG also enables entity alignment across languages and scripts within the knowledge graph—an essential capability for multilingual data like the Sihwa ch’ongnim LOD [Spence & Brandao 2021; Horvath 2021].
Developing KAG with Structured Data: The Sihwa ch’ongnim LOD
The Sihwa ch’ongnim provides an ideal small-data testbed for KAG because its interpretive depth depends on relational context—how people, places, occasions, and poetic concepts interact within each narrative. Each sihwa entry combines anecdotal prose with embedded poems and critical remarks, documenting poetic composition, exchange, and evaluation in premodern Korea. These relational dynamics are difficult for unstructured text retrieval to capture but align naturally with a structured LOD approach.
Our SMW platform encodes the entire anthology into a detailed semantic schema, including 932 sihwa anecdotes, 1,222 historical figures, and 547 geo-referenced locations. All entities are multilingual (Sinitic, Korean, English) and linked to external LOD sources such as Wikidata. This structured environment enables the system to connect classical texts with their translations, biographical data, and broader historical context.
Because the archive is expressed as a network of RDF triples, the KAG system can reason directly over the relationships among texts, people, places, terms, and events. We expect this will enable the chatbot to follow narrative context, recognize social relationships, interpret poetic terminology, and align entities across multiple languages with greater precision. Everyday questions are automatically converted into graph queries, producing responses grounded in curated semantic data.
Case Study: KAG in the Sihwa ch’ongnim Context
Currently, we have linked our KAG-based LLM prototype to a Neo4j graph database with our data and are in the process of testing and refining the prototype. By the time of the short paper presentation at the conference, we hope to demonstrate 1) successful semantic data query through natural-language prompts in multiple languages, 2) a live comparison of KAG versus RAG-only query results, 3) functionality across the various scripts in our database (Sinitic, Korean, and English), and 4) citation-grounded responses that point back to specific URIs within the semantic database.
Below are screenshots that demonstrate an application use case in which a complex natural-language question is converted by a KAG chatbot into a semantic query (Cypher query), queried in Neo4j, and then—after extracting the data—a response is provided to the user.
Above, the chatbot responds to the question “What poem did Kim Sinyun compose in the kyŏngin year of King Ŭijong’s reign?” in Korean with the correct poem in its original Sinitic and its Korean and English translations.
Conclusion