arrow
Return

CodeKGC: Code Language Model for Generative Knowledge Graph Construction

delete2024-03-09
delete0
delete
OA
AI
DOI:10.1145/3641850delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
Current generative knowledge graph construction approaches usually fail to capture structural knowledge by simply flattening natural language into serialized texts or a specification language. However, large generative language model trained on structured data such as code has demonstrated impressive capability in understanding natural language for structural prediction and reasoning tasks. Intuitively, we address the task of generative knowledge graph construction with code language model: given a code-format natural language input, the target is to generate triples which can be represented as code completion tasks. Specifically, we develop schema-aware prompts that effectively utilize the semantic structure within the knowledge graph. As code inherently possesses structure, such as class and function definitions, it serves as a useful model for prior semantic structural knowledge. Furthermore, we employ a rationale-enhanced generation method to boost the performance. Rationales provide intermediate steps, thereby improving knowledge extraction abilities. Experimental results indicate that the proposed approach can obtain better performance on benchmark datasets compared with baselines.1
AgriCode-KG: An ontology-constrained code generation framework for automated construction of agricultural knowledge graphs
err2026-10-31
err0
PREAI
errYang Yang; Long Cheng; Jie Liu; Lian Yan; Ming Fang; Yi Guan; Jian Wei; Jingchi Jiang
errShare
errSave
A novel assembly knowledge graph construction framework enhanced by large language model
err2025-08-27
err0
PREAI
errPeilin Shao; Zhicheng Huang; Lihong Qiao; Xinzheng Xu; Yongqiang Wan; Chao Chen; Zhujia Li; Nabil Anwer; Yifan Qie
errShare
errSave
Automating construction contract review using knowledge graph-enhanced large language models
err2025-07-01
err0
PREAI
errZheng, Chunmo; Wong, Saika; Su, Xing; Tang, Yinqiu; Nawaz, Ahsan; Kassem, Mohamad
errShare
errSave

Journal

No journal information available

Organization

No organization information available
Cited Papers

Cited Papers

No cited papers available