English

Using Large Language Models for Knowledge Engineering (LLMKE): A Case Study on Wikidata

Computation and Language 2023-09-18 v1 Artificial Intelligence

Abstract

In this work, we explore the use of Large Language Models (LLMs) for knowledge engineering tasks in the context of the ISWC 2023 LM-KBC Challenge. For this task, given subject and relation pairs sourced from Wikidata, we utilize pre-trained LLMs to produce the relevant objects in string format and link them to their respective Wikidata QIDs. We developed a pipeline using LLMs for Knowledge Engineering (LLMKE), combining knowledge probing and Wikidata entity mapping. The method achieved a macro-averaged F1-score of 0.701 across the properties, with the scores varying from 1.00 to 0.328. These results demonstrate that the knowledge of LLMs varies significantly depending on the domain and that further experimentation is required to determine the circumstances under which LLMs can be used for automatic Knowledge Base (e.g., Wikidata) completion and correction. The investigation of the results also suggests the promising contribution of LLMs in collaborative knowledge engineering. LLMKE won Track 2 of the challenge. The implementation is available at https://github.com/bohuizhang/LLMKE.

Keywords

Cite

@article{arxiv.2309.08491,
  title  = {Using Large Language Models for Knowledge Engineering (LLMKE): A Case Study on Wikidata},
  author = {Bohui Zhang and Ioannis Reklos and Nitisha Jain and Albert Meroño Peñuela and Elena Simperl},
  journal= {arXiv preprint arXiv:2309.08491},
  year   = {2023}
}

Comments

Knowledge Base Construction from Pre-trained Language Models (LM-KBC) Challenge @ ISWC 2023

R2 v1 2026-06-28T12:22:45.479Z