LexID: The Metadata and Semantic Knowledge Graph Construction of Indonesian Legal Document

Research output: Contribution to journalArticlepeer-review


The Legal Fiction principle stipulates that the government needs to ensure the public availability of all of their legal documents. Unfortunately, the text-based search services they provide cannot return satisfactory answers in retrieval scenarios requiring proper representation of relationships between various legal documents. A key problem here is the lack of explicit representation of such relationships behind the employed retrieval engines. We aim to address this problem by proposing LexID knowledge graph (KG) that provides an explicit knowledge representation for Indonesian legal domain usable for such retrieval purposes. The KG contains both legal metadata information and semantic content of the legal clauses of the legal document's articles, modeled using formal vocabulary from the LexID ontology also presented in this paper. The KG is constructed from thousands of Indonesian legal documents. Since the procedure of writing a legal document regulated by the government is clear and detailed, we use a rule-based approach to construct our KG. At the end, we describe several use cases of the KG to address different retrieval needs. In Addition, we evaluated the quality of our KG by measuring its ability to answer questions and got that LexID can answer questions with the macro average F1 score is about 0.91.
Original languageEnglish
JournalJurnal Ilmu Komputer dan Informasi
Issue number1
Publication statusPublished - 1 Mar 2023


Dive into the research topics of 'LexID: The Metadata and Semantic Knowledge Graph Construction of Indonesian Legal Document'. Together they form a unique fingerprint.

Cite this