Dataset Viewer (First 5GB)
Auto-converted to Parquet Duplicate
global_id
int64
local_id
int64
regulation_type
string
enacting_body
string
regulation_number
string
year
string
about
string
effective_date
string
chapter
string
article
string
content
string
embedding
list
tfidf_vector
list
chunk_id
int64
kg_entity_count
int64
authority_score
float64
temporal_score
float64
legal_richness
float64
cross_ref_strength
float64
kg_connectivity
float64
completeness_score
float64
kg_entities_json
string
kg_concept_clusters_json
string
0
0
PERATURAN PEMERINTAH
REPUBLIK INDONESIA
70
2008
PEMBUBARAN PERUSAHAAN PERSEROAN (PERSERO) PT INDUSTRI SODA INDONESIA
4 November 2008
N/A
Preamble
Menimbang Mengingat PERATURAN PEMERINTAH REPUBLIK INDONESIA NOMOR 70 TAHUN 2008 TENTANG PEMBUBARAN PERUSAHAAN PERSEROAN (PERSERO) PT INDUSTRI SODA INDONESIA DENGAN RAHMAT TUHAN YANG MAHA ESA PRESIDEN REPUBLIK INDONESIA, - a. bahwa berdasarkan hasil penelitian dan kajian atas kinerja Perusahaan Perseroan (Persero) PT Industri Soda Indonesia, kelangsungan Perusahaan Perseroan (Persero) PT Industri Soda Indonesia tidak dapat dipertahankan lagi sehingga perlu untuk membubarkan Perusahaan Perseroan (Persero) PT Industri Soda Indonesia; - b. bahwa berdasarkan keputusan Rapat Umum Pemegang Saham Luar Biasa Perusahaan Perseroan (Persero) PT Industri Soda Indonesia Nomor Ris-19/D2.MBU/2007 tanggal 9 Oktober 2007 telah ditetapkan pembubaran dan status Perusahaan Perseroan (Persero) PT Industri Soda Indonesia sebagai perusahaan dalam likuidasi, yang berlaku efektif terhitung sejak ditetapkannya pembubaran Perusahaan Perseroan (Persero) PT Industri Soda Indonesia dengan Peraturan Pemerintah; - c. bahwa berdasarkan pertimbangan sebagaimana dimaksud dalam huruf a dan huruf b, perlu menetapkan Peraturan Pemerintah tentang Pembubaran Perusahaan Perseroan (Persero) PT Industri Soda Indonesia; - 1. Pasal 5 ayat (2) Undang-Undang Dasar Negara Republik Indonesia Tahun 1945; 2. Undang-Undang Nomor 19 Tahun 2003 tentang Badan Usaha Milik Negara (Lembaran Negara Republik Indonesia Tahun 2003 Nomor 70, Tambahan Lembaran Negara Republik Indonesia Nomor 4297); 3. Peraturan Pemerintah Nomor 45 Tahun 2005 tentang Pendirian, Pengurusan, Pengawasan, Pembubaran Badan Usaha Milik Negara (Lembaran Negara Republik Indonesia tahun 2005 Nomor 117, Tambahan Lembaran Negara Republik Indonesia Nomor 4556); MEMUTUSKAN: Menetapkan : PERATURAN PEMERINTAH TENTANG PEMBUBARAN PERUSAHAAN (PERSERO) PT INDUSTRI SODA INDONESIA.
[ -0.004447084851562977, -0.06395908445119858, -0.007271371316164732, 0.0006800562841817737, -0.0025666544679552317, -0.05237264931201935, 0.01437431201338768, 0.06530651450157166, -0.042268335819244385, 0.010590129531919956, -0.08595019578933716, -0.015617622062563896, -0.041538700461387634, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
1
13
0.3
0.55
0.466667
0.8
0.85
0.65
[["undang-undang nomor 19 tahun 2003", "regulation_reference"], ["peraturan pemerintah nomor 45 tahun 2005", "regulation_reference"], ["pasal 5 ayat (2)", "regulation_reference"], ["ayat", "legal_concept"], ["huruf", "legal_concept"], ["keputusan", "legal_concept"], ["perusahaan", "legal_concept"], ["dapat", "legal_concept"], ["pasal", "legal_concept"], ["peraturan", "legal_concept"], ["republik indonesia", "government_entity"], ["presiden", "government_entity"], ["rt", "government_entity"]]
{"structure": ["pasal 5 ayat (2)", "ayat", "huruf", "pasal"], "subjects": ["perusahaan"], "rights": ["dapat"]}
1
1
PERATURAN PEMERINTAH
REPUBLIK INDONESIA
70
2008
PEMBUBARAN PERUSAHAAN PERSEROAN (PERSERO) PT INDUSTRI SODA INDONESIA
4 November 2008
N/A
Pasal 1
Terhitung sejak berlakunya Peraturan Pemerintah ini, Perusahaan Negara Soda yang didirikan berdasarkan Peraturan Pemerintah Nomor 32 Tahun 1978 tentang Pengalihan Bentuk Perusahaan Negara Soda menjadi Perusahan Perseroan (Persero) (Lembaran Negara Republik Indonesia Tahun 1978 Nomor 47) dibubarkan.
[ -0.03281811252236366, -0.08989662677049637, -0.004854487720876932, -0.01763151027262211, -0.004595711827278137, -0.009508864022791386, -0.030959300696849823, 0.07084034383296967, -0.05863754823803902, 0.01546459924429655, -0.10625449568033218, -0.01034497655928135, -0.029409483075141907, -...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
1
4
0.3
0.55
0.133333
0.2
0.25
0.65
[["peraturan pemerintah nomor 32 tahun 1978", "regulation_reference"], ["perusahaan", "legal_concept"], ["peraturan", "legal_concept"], ["republik indonesia", "government_entity"]]
{"subjects": ["perusahaan"]}
2
2
PERATURAN PEMERINTAH
REPUBLIK INDONESIA
70
2008
PEMBUBARAN PERUSAHAAN PERSEROAN (PERSERO) PT INDUSTRI SODA INDONESIA
4 November 2008
N/A
Pasal 2
Pelaksanaan likuidasi dalam rangka pembubaran Perusahaan Perseroan (Persero) PT Industri Soda Indonesia sebagaimana dimaksud dalam Pasal 1 dilakukan oleh Menteri Negara Badan Usaha Milik Negara sesuai dengan ketentuan Undang-Undang Nomor 19 Tahun 2003 tentang Badan Usaha Milik Negara, Undang-Undang Nomor 40 Tahun 2007 tentang Perseroan Terbatas, dan peraturan perundang-undangan lainnya.
[ -0.028143668547272682, -0.08752875030040741, -0.008357814513146877, -0.015405181795358658, -0.0093150045722723, -0.036516666412353516, 0.014039582572877407, 0.036339666694402695, -0.018725333735346794, 0.009282772429287434, -0.07620520144701004, -0.012588518671691418, -0.04218539223074913, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
1
8
0.3
0.55
0.266667
0.6
0.566667
0.65
[["undang-undang nomor 19 tahun 2003", "regulation_reference"], ["undang-undang nomor 40 tahun 2007", "regulation_reference"], ["pasal 1", "regulation_reference"], ["pasal", "legal_concept"], ["perusahaan", "legal_concept"], ["ketentuan", "legal_concept"], ["peraturan", "legal_concept"], ["menteri", "government_entity"]]
{"structure": ["pasal 1", "pasal"], "subjects": ["perusahaan"]}
3
3
PERATURAN PEMERINTAH
REPUBLIK INDONESIA
70
2008
PEMBUBARAN PERUSAHAAN PERSEROAN (PERSERO) PT INDUSTRI SODA INDONESIA
4 November 2008
N/A
Pasal 3
Semua kekayaan sisa hasil likuidasi Perusahaan Perseroan (Persero) PT Industri Soda Indonesia sebagaimana dimaksud dalam Pasal 2, disetorkan ke Kas Negara.
[ -0.002950597321614623, -0.07260393351316452, -0.004450306296348572, -0.04231740161776543, -0.03412722796201706, -0.03555760905146599, -0.00970032624900341, -0.008808372542262077, -0.0122465118765831, 0.02339744195342064, -0.04798407107591629, 0.007776288781315088, -0.029625630006194115, -0...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
1
3
0.3
0.55
0.133333
0.4
0.316667
0.65
[["pasal 2", "regulation_reference"], ["pasal", "legal_concept"], ["perusahaan", "legal_concept"]]
{"structure": ["pasal 2", "pasal"], "subjects": ["perusahaan"]}
4
4
PERATURAN PEMERINTAH
REPUBLIK INDONESIA
70
2008
PEMBUBARAN PERUSAHAAN PERSEROAN (PERSERO) PT INDUSTRI SODA INDONESIA
4 November 2008
N/A
Pasal 4
"Peraturan Pemerintah ini mulai berlaku pada tanggal diundangkan.\nAgar setiap orang mengetahuinya, (...TRUNCATED)
[-0.059677693992853165,-0.02977963164448738,-0.00025917956372722983,-0.04245529696345329,-0.05226325(...TRUNCATED)
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0(...TRUNCATED)
1
6
0.3
0.55
0.133333
0
0.35
0.65
"[[\"peraturan\", \"legal_concept\"], [\"republik indonesia\", \"government_entity\"], [\"presiden\"(...TRUNCATED)
{"subjects": ["perusahaan"]}
5
5
PERATURAN PEMERINTAH
REPUBLIK INDONESIA
63
2007
"JENIS DAN TARIF ATAS JENIS PENERIMAAN NEGARA BUKAN PAJAK YANG BERLAKU PADA DEPARTEMEN PERINDUSTRIAN(...TRUNCATED)
16 Nopember 2007
N/A
Preamble
"Menimbang :\nMengingat\n:\nPERATURAN PEMERINTAH REPUBLIK INDONESIA NOMOR 63 TAHUN 2007 TENTANG\nJEN(...TRUNCATED)
[-0.035948656499385834,-0.08525028824806213,-0.006462042219936848,-0.024773558601737022,0.0183979757(...TRUNCATED)
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0(...TRUNCATED)
1
16
0.3
0.55
0.333333
0.8
0.55
0.65
"[[\"undang-undang nomor 20 tahun 1997\", \"regulation_reference\"], [\"peraturan pemerintah nomor 3(...TRUNCATED)
"{\"structure\": [\"pasal 2 ayat (2)\", \"pasal 3 ayat (2)\", \"pasal 5 ayat (2)\", \"ayat\", \"huru(...TRUNCATED)
6
6
PERATURAN PEMERINTAH
REPUBLIK INDONESIA
63
2007
"JENIS DAN TARIF ATAS JENIS PENERIMAAN NEGARA BUKAN PAJAK YANG BERLAKU PADA DEPARTEMEN PERINDUSTRIAN(...TRUNCATED)
16 Nopember 2007
N/A
Pasal 1
"- (1) Jenis Penerimaan Negara Bukan Pajak yang berlaku pada Departemen Perindustrian meliputi pener(...TRUNCATED)
[0.026578575372695923,-0.0969424843788147,-0.0066535258665680885,-0.03727922588586807,-0.00716566853(...TRUNCATED)
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0(...TRUNCATED)
1
5
0.3
0.55
0.2
0.4
0.3
0.65
"[[\"ayat\", \"legal_concept\"], [\"huruf\", \"legal_concept\"], [\"peraturan\", \"legal_concept\"],(...TRUNCATED)
{"structure": ["ayat", "huruf"]}
7
7
PERATURAN PEMERINTAH
REPUBLIK INDONESIA
63
2007
"JENIS DAN TARIF ATAS JENIS PENERIMAAN NEGARA BUKAN PAJAK YANG BERLAKU PADA DEPARTEMEN PERINDUSTRIAN(...TRUNCATED)
16 Nopember 2007
N/A
Pasal 2
"Jenis Penerimaan Negara Bukan Pajak sebagaimana dimaksud dalam Pasal 1 mempunyai tarif dalam bentuk(...TRUNCATED)
[-0.041271667927503586,-0.07916407287120819,-0.0055550625547766685,-0.05486162751913071,0.0124251563(...TRUNCATED)
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0(...TRUNCATED)
1
3
0.3
0.55
0.066667
0.4
0.2
0.65
"[[\"pasal 1\", \"regulation_reference\"], [\"pasal\", \"legal_concept\"], [\"rt\", \"government_ent(...TRUNCATED)
{"structure": ["pasal 1", "pasal"]}
8
8
PERATURAN PEMERINTAH
REPUBLIK INDONESIA
63
2007
"JENIS DAN TARIF ATAS JENIS PENERIMAAN NEGARA BUKAN PAJAK YANG BERLAKU PADA DEPARTEMEN PERINDUSTRIAN(...TRUNCATED)
16 Nopember 2007
N/A
Pasal 3
"Besarnya tarif Penerimaan Negara Bukan Pajak yang berupa jasa pengujian yang berasal dari Jasa Pela(...TRUNCATED)
[-0.008936886675655842,-0.10696934908628464,-0.006700332276523113,-0.028425034135580063,0.0339208990(...TRUNCATED)
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0(...TRUNCATED)
1
6
0.3
0.55
0.266667
0.6
0.35
0.65
"[[\"pasal 1 ayat (1)\", \"regulation_reference\"], [\"pasal\", \"legal_concept\"], [\"huruf\", \"le(...TRUNCATED)
{"structure": ["pasal 1 ayat (1)", "pasal", "huruf", "ayat"]}
9
9
PERATURAN PEMERINTAH
REPUBLIK INDONESIA
63
2007
"JENIS DAN TARIF ATAS JENIS PENERIMAAN NEGARA BUKAN PAJAK YANG BERLAKU PADA DEPARTEMEN PERINDUSTRIAN(...TRUNCATED)
16 Nopember 2007
N/A
Pasal 4
"Seluruh Penerimaan Negara Bukan Pajak sebagaimana dimaksud dalam Pasal 1 wajib disetor langsung sec(...TRUNCATED)
[-0.04189793020486832,-0.10180347412824631,-0.004393402021378279,-0.08304204791784286,-0.01901007071(...TRUNCATED)
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0(...TRUNCATED)
1
4
0.3
0.55
0.133333
0.4
0.366667
0.65
"[[\"pasal 1\", \"regulation_reference\"], [\"pasal\", \"legal_concept\"], [\"wajib\", \"legal_conce(...TRUNCATED)
{"structure": ["pasal 1", "pasal"], "obligations": ["wajib"]}
End of preview. Expand in Data Studio

πŸ“§ Github πŸ”— LinkedIn

πŸ›οΈ Indonesian Legal RAG Dataset with Knowledge Graph Enhancement

πŸ“– What is this dataset?

This dataset contains Indonesian legal documents enhanced with Knowledge Graph features for building better RAG (Retrieval-Augmented Generation) systems. It includes regulations, laws, and legal documents from Indonesia with smart scoring and relationship mapping.

🎯 Perfect for: Legal AI, Indonesian NLP, RAG systems, legal research, and chatbots

✨ Key Features

  • πŸ“š 50,000+ Indonesian legal documents
  • 🧠 Knowledge Graph with legal entity relationships
  • βš–οΈ Authority scores based on Indonesian legal hierarchy
  • ⏰ Temporal scores for document freshness
  • πŸ”— Cross-reference analysis between documents
  • πŸ’Ž Legal concept clustering (sanctions, rights, procedures, etc.)
  • 🎯 Ready-to-use embeddings preserved from source
  • πŸš€ Optimized for RAG retrieval systems

πŸ“Š What's Enhanced?

Original Fields (Preserved)

  • Document text and metadata
  • Embeddings and TF-IDF vectors
  • Regulation details and dates

πŸ†• New Knowledge Graph Fields

  • kg_entities - Extracted legal entities and references
  • kg_concepts - Legal concepts with relationships
  • authority_score - Regulatory importance (0-1)
  • temporal_score - Time-based relevance (0-1)
  • legal_richness - Legal terminology density (0-1)
  • cross_ref_strength - Citation connectivity (0-1)
  • kg_connectivity - Graph relationship richness (0-1)

πŸ“‹ Data Schema

Field Type Description Example
πŸ†” global_id string Unique document ID "legal_doc_001"
πŸ“œ regulation_type string Type of regulation "UU", "PP", "PERPRES"
πŸ›οΈ enacting_body string Government entity "Kementerian Hukum"
πŸ”’ regulation_number string Official number "No. 8 Tahun 1999"
πŸ“… year string Year enacted "1999"
πŸ“ about string Document topic "Perlindungan Konsumen"
πŸ“„ content string Full document text "Pasal 1..."
🎯 embedding list Dense vectors [0.1, 0.2, ...]
🏷️ kg_entities JSON string Legal entities See example above
🧠 kg_concepts JSON string Concept relationships See example above
βš–οΈ authority_score float Legal importance (0-1) 0.85
⏰ temporal_score float Document freshness (0-1) 0.72
πŸ“š legal_richness float Content quality (0-1) 0.68

πŸ—οΈ How It Was Built

1. 🧠 Knowledge Graph Construction

  • Legal Hierarchy: Indonesian regulatory levels (UUD β†’ UU β†’ PP β†’ PERPRES...)
  • Entity Extraction: Regex patterns for laws, articles, government entities
  • Concept Clustering: Groups related legal terms (sanctions, rights, procedures)
  • Relationship Mapping: Connects legal concepts through semantic similarity

2. πŸ“Š Scoring Algorithms

  • Authority Score: Based on Indonesian legal hierarchy (Constitution = highest)
  • Temporal Score: Recent documents get higher scores
  • Legal Richness: Density of legal terminology
  • Cross-Reference: How often document is cited by others
  • KG Connectivity: Richness of concept relationships

3. πŸ’Ύ Memory-Efficient Processing

  • Streaming data processing to handle large datasets
  • Progressive saving to avoid memory issues
  • Batch processing with cleanup

πŸ“ˆ Dataset Stats

  • πŸ“š Documents: 50,000+
  • 🏷️ Entities per doc: 12.4 average
  • 🧠 Concepts per doc: 8.7 average
  • βš–οΈ Authority score: 0.72 Β± 0.18
  • ⏰ Temporal score: 0.68 Β± 0.22
  • 🎯 Processing success: 98.7%

⚠️ Important Notes

βœ… What This Dataset Is Good For:

  • πŸ€– Building Indonesian legal RAG systems
  • πŸ” Legal document search and retrieval
  • πŸ“Š Legal analytics and research
  • 🎯 Training legal AI models
  • πŸ“š Understanding Indonesian legal structure

❌ What This Dataset Is NOT:

  • βš–οΈ Not legal advice - for research only!
  • 🎯 Not 100% accurate - always verify with official sources
  • 🌍 Not for other legal systems - specific to Indonesia
  • ⏰ Not always current - laws change over time

πŸš€ Happy Legal AI Building! πŸ›οΈβœ¨

Made with ❀️ for the Indonesian NLP and Legal AI community

Downloads last month
9