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

  • Nur Siti Muninggar Universitas Indonesia
  • Adila Alfa Krisnadhi Universitas Indonesia
Keywords: Indonesian Legal Ontology, Knowledge Graph Construction


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.
How to Cite
Muninggar, N. S., & Krisnadhi, A. A. (2023). LexID: The Metadata and Semantic Knowledge Graph Construction of Indonesian Legal Document. Jurnal Ilmu Komputer Dan Informasi, 16(1), 15-46. https://doi.org/10.21609/jiki.v16i1.1096