The joint entity–relation extraction model based on hierarchical architecture for Chinese programming knowledge with complex semantics
Purpose Constructing knowledge graphs for disciplinary analysis faces challenges in Chinese programming domains due to semantic complexity and context dependency. Traditional entity–relation extraction methods struggle with entity nesting, relation overlapping and feature extraction difficulties. This study aims to develop an effective joint extraction model for Chinese programming knowledge to support knowledge graph construction. Design/methodology/approach The authors propose MMBRel, a hierarchical model integrating relation-aware encoding using RoBERTa-wwm for joint processing; dynamic threshold generation for filtering entity interactions; global–local attention fusion combining semantic and syntactic features and adversarial training for enhanced generalization. Findings A Chinese C++ knowledge data set with detailed annotations was constructed. Experimental results show MMBRel significantly outperforms baseline models in joint entity–relation extraction, effectively handling overlapping relations and entity nesting while achieving comprehensive feature extraction. Originality/value To the best of the authors’ knowledge, this introduces the first hierarchical joint extraction model for Chinese programming knowledge with novel encoding and threshold mechanisms. The work contributes a high-quality data set and provides robust support for disciplinary knowledge graph construction, advancing extraction methodology for Chinese technical domains.
Authors
- Li Bingxue
- Xiuxia Tian (ORCID: https://orcid.org/0000-0002-3862-9803)
- Zhuang Pei
Institutions
- Shanghai University of Electric Power (CN)
Publication Details
- Journal
- International Journal of Web Information Systems
- Published
- 2025-12-19
- DOI
- https://doi.org/10.1108/ijwis-08-2025-0230
- Primary Topic
- Advanced Graph Neural Networks
- Type
- article
- Field-Weighted Citation Impact
- 0.00