Azzindani commited on
Commit
923ad88
·
verified ·
1 Parent(s): f2e8369

Upload complete processed Indonesian legal database

Browse files
README.md CHANGED
@@ -1,3 +1,56 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Indonesian Legal RAG Processed Database
2
+
3
+ This repository contains a fully preprocessed Indonesian legal regulation database ready for RAG (Retrieval Augmented Generation) systems.
4
+
5
+ ## Dataset Information
6
+ - **Total Records**: 199,994
7
+ - **Processing Date**: 2025-08-23
8
+ - **Embedding Model**: Qwen/Qwen3-Embedding-0.6B
9
+ - **Embedding Dimension**: 1024
10
+
11
+ ## Files Description
12
+
13
+ ### Main Database
14
+ - `processed_legal_database.parquet` - Complete preprocessed database with all features
15
+ - `embeddings.npy` - Pre-computed embeddings array for fast loading
16
+
17
+ ### Supporting Components
18
+ - `tfidf_components.pkl` - TF-IDF vectorizer and matrix for keyword matching
19
+ - `knowledge_graph.json` - Legal concept relationships and hierarchy
20
+ - `config.json` - Processing configuration and parameters
21
+ - `processing_summary.json` - Processing statistics and metadata
22
+
23
+ ### Utilities
24
+ - `database_loader.py` - Helper class for easy database loading
25
+
26
+ ## Features Included
27
+
28
+ Each record contains:
29
+ - **Basic Information**: Regulation type, number, year, enacting body, content
30
+ - **Authority Score**: Hierarchical legal authority level (0-1)
31
+ - **Temporal Score**: Regulation currency/relevance (0-1)
32
+ - **Legal Richness**: Legal term density and complexity (0-1)
33
+ - **Cross-Reference Strength**: Inter-regulation connectivity (0-1)
34
+ - **Completeness Score**: Information completeness (0-1)
35
+ - **Knowledge Graph Features**: Entity extraction and concept relationships
36
+ - **Pre-computed Embeddings**: Ready-to-use vector representations
37
+
38
+ ## Usage
39
+
40
+ ```python
41
+ from database_loader import ProcessedLegalDatabaseLoader
42
+
43
+ # Load complete database
44
+ loader = ProcessedLegalDatabaseLoader(".", local_mode=True)
45
+ df, embeddings, tfidf, kg, config = loader.load_all()
46
+
47
+ # Ready for RAG system - no preprocessing needed!
48
+ ```
49
+
50
+ ## Memory Requirements
51
+ - **Database**: ~1260MB
52
+ - **Embeddings**: ~781MB
53
+ - **Total**: ~2747MB
54
+
55
+ ## License
56
+ Please ensure compliance with Indonesian legal data usage regulations.
config.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "source_repo": "Azzindani/ID_REG_MD_Embed",
3
+ "embedding_model": "Qwen/Qwen3-Embedding-0.6B",
4
+ "embedding_dim": 1024,
5
+ "n_jobs": 3,
6
+ "batch_size": 100,
7
+ "chunk_size": 1000,
8
+ "total_records": 199994,
9
+ "processing_date": "2025-08-23T10:26:38.869072",
10
+ "regulation_hierarchy": {
11
+ "UUD": 10,
12
+ "TAP MPR": 9,
13
+ "UU": 8,
14
+ "PERPU": 7,
15
+ "PP": 6,
16
+ "PERPRES": 5,
17
+ "PERMEN": 4,
18
+ "PERGUB": 3,
19
+ "PERDA PROVINSI": 3,
20
+ "PERDA": 2,
21
+ "PERKADA": 2,
22
+ "PERDES": 1,
23
+ "KEPUTUSAN": 1,
24
+ "INSTRUKSI": 1,
25
+ "SURAT EDARAN": 1,
26
+ "PEDOMAN": 1
27
+ },
28
+ "entity_levels": {
29
+ "pusat": 5,
30
+ "nasional": 5,
31
+ "republik indonesia": 5,
32
+ "presiden": 5,
33
+ "menteri": 5,
34
+ "provinsi": 4,
35
+ "gubernur": 4,
36
+ "pemprov": 4,
37
+ "kabupaten": 3,
38
+ "bupati": 3,
39
+ "kota": 3,
40
+ "walikota": 3,
41
+ "pemkab": 3,
42
+ "pemkot": 3,
43
+ "desa": 2,
44
+ "kepala desa": 2,
45
+ "kades": 2,
46
+ "kelurahan": 1,
47
+ "lurah": 1,
48
+ "rt": 1,
49
+ "rw": 1
50
+ },
51
+ "legal_terms_count": 46,
52
+ "cross_ref_indicators_count": 18
53
+ }
database_loader.py ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ import pandas as pd
3
+ import numpy as np
4
+ import json
5
+ import pickle
6
+ from pathlib import Path
7
+ from datasets import load_dataset
8
+ from typing import Dict, List, Tuple, Optional
9
+ import networkx as nx
10
+
11
+ class ProcessedLegalDatabaseLoader:
12
+ """
13
+ Efficient loader for preprocessed Indonesian legal database
14
+ """
15
+
16
+ def __init__(self, repo_or_path: str, local_mode: bool = False):
17
+ """
18
+ Initialize loader
19
+
20
+ Args:
21
+ repo_or_path: HuggingFace repo ID or local path
22
+ local_mode: If True, load from local files
23
+ """
24
+ self.repo_or_path = repo_or_path
25
+ self.local_mode = local_mode
26
+ self.df = None
27
+ self.embeddings = None
28
+ self.tfidf_components = None
29
+ self.knowledge_graph = None
30
+ self.config = None
31
+
32
+ def load_database(self) -> pd.DataFrame:
33
+ """Load main database"""
34
+ if self.local_mode:
35
+ db_path = Path(self.repo_or_path) / "processed_legal_database.parquet"
36
+ self.df = pd.read_parquet(db_path)
37
+ else:
38
+ dataset = load_dataset(self.repo_or_path, split='train')
39
+ self.df = dataset.to_pandas()
40
+
41
+ # Convert JSON strings back to objects
42
+ self.df['kg_entities'] = self.df['kg_entities'].apply(
43
+ lambda x: json.loads(x) if isinstance(x, str) else x
44
+ )
45
+ self.df['kg_concepts'] = self.df['kg_concepts'].apply(
46
+ lambda x: json.loads(x) if isinstance(x, str) else x
47
+ )
48
+
49
+ print(f"Database loaded: {len(self.df)} records")
50
+ return self.df
51
+
52
+ def load_embeddings(self) -> np.ndarray:
53
+ """Load embeddings array"""
54
+ if self.local_mode:
55
+ emb_path = Path(self.repo_or_path) / "embeddings.npy"
56
+ self.embeddings = np.load(emb_path)
57
+ else:
58
+ # Extract from DataFrame
59
+ if self.df is None:
60
+ self.load_database()
61
+
62
+ embeddings_list = []
63
+ for embedding in self.df['embedding']:
64
+ if isinstance(embedding, list):
65
+ embeddings_list.append(np.array(embedding, dtype=np.float32))
66
+ else:
67
+ embeddings_list.append(embedding)
68
+
69
+ self.embeddings = np.vstack(embeddings_list)
70
+
71
+ print(f"Embeddings loaded: {self.embeddings.shape}")
72
+ return self.embeddings
73
+
74
+ def load_tfidf_components(self) -> Dict:
75
+ """Load TF-IDF components"""
76
+ if self.local_mode:
77
+ tfidf_path = Path(self.repo_or_path) / "tfidf_components.pkl"
78
+ with open(tfidf_path, 'rb') as f:
79
+ self.tfidf_components = pickle.load(f)
80
+ else:
81
+ print("TF-IDF components only available in local mode")
82
+ return None
83
+
84
+ print("TF-IDF components loaded")
85
+ return self.tfidf_components
86
+
87
+ def load_knowledge_graph(self) -> nx.DiGraph:
88
+ """Load knowledge graph"""
89
+ if self.local_mode:
90
+ kg_path = Path(self.repo_or_path) / "knowledge_graph.json"
91
+ else:
92
+ # Download from HuggingFace
93
+ from huggingface_hub import hf_hub_download
94
+ kg_path = hf_hub_download(
95
+ repo_id=self.repo_or_path,
96
+ filename="knowledge_graph.json",
97
+ repo_type="dataset"
98
+ )
99
+
100
+ with open(kg_path, 'r', encoding='utf-8') as f:
101
+ kg_data = json.load(f)
102
+
103
+ self.knowledge_graph = nx.node_link_graph(kg_data['graph'])
104
+
105
+ print(f"Knowledge graph loaded: {self.knowledge_graph.number_of_nodes()} nodes, {self.knowledge_graph.number_of_edges()} edges")
106
+ return self.knowledge_graph
107
+
108
+ def load_config(self) -> Dict:
109
+ """Load configuration"""
110
+ if self.local_mode:
111
+ config_path = Path(self.repo_or_path) / "config.json"
112
+ else:
113
+ from huggingface_hub import hf_hub_download
114
+ config_path = hf_hub_download(
115
+ repo_id=self.repo_or_path,
116
+ filename="config.json",
117
+ repo_type="dataset"
118
+ )
119
+
120
+ with open(config_path, 'r', encoding='utf-8') as f:
121
+ self.config = json.load(f)
122
+
123
+ print("Configuration loaded")
124
+ return self.config
125
+
126
+ def load_all(self) -> Tuple[pd.DataFrame, np.ndarray, Dict, nx.DiGraph, Dict]:
127
+ """Load all components"""
128
+ database = self.load_database()
129
+ embeddings = self.load_embeddings()
130
+ tfidf = self.load_tfidf_components()
131
+ kg = self.load_knowledge_graph()
132
+ config = self.load_config()
133
+
134
+ return database, embeddings, tfidf, kg, config
135
+
136
+ def get_statistics(self) -> Dict:
137
+ """Get database statistics"""
138
+ if self.df is None:
139
+ self.load_database()
140
+
141
+ stats = {
142
+ 'total_records': len(self.df),
143
+ 'unique_regulation_types': self.df['regulation_type'].nunique(),
144
+ 'date_range': f"{self.df['year'].min()} - {self.df['year'].max()}",
145
+ 'avg_authority_score': self.df['authority_score'].mean(),
146
+ 'avg_temporal_score': self.df['temporal_score'].mean(),
147
+ 'avg_legal_richness': self.df['legal_richness'].mean(),
148
+ 'avg_kg_connectivity': self.df['kg_connectivity'].mean(),
149
+ 'embedding_dim': self.df['embedding_dim'].iloc[0] if 'embedding_dim' in self.df.columns else None
150
+ }
151
+
152
+ return stats
153
+
154
+ # Example usage:
155
+ # loader = ProcessedLegalDatabaseLoader("your-username/indonesian-legal-rag-processed")
156
+ # df, embeddings, tfidf, kg, config = loader.load_all()
embeddings.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e351f00729062d5dede323762a36103a3515564eb9ae38d01ecf7676f8e9cdd
3
+ size 819175552
knowledge_graph.json ADDED
@@ -0,0 +1,1281 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "graph": {
3
+ "directed": true,
4
+ "multigraph": false,
5
+ "graph": {},
6
+ "nodes": [
7
+ {
8
+ "type": "regulation_type",
9
+ "hierarchy_level": 10,
10
+ "id": "UUD"
11
+ },
12
+ {
13
+ "type": "regulation_type",
14
+ "hierarchy_level": 9,
15
+ "id": "TAP MPR"
16
+ },
17
+ {
18
+ "type": "regulation_type",
19
+ "hierarchy_level": 8,
20
+ "id": "UU"
21
+ },
22
+ {
23
+ "type": "regulation_type",
24
+ "hierarchy_level": 7,
25
+ "id": "PERPU"
26
+ },
27
+ {
28
+ "type": "regulation_type",
29
+ "hierarchy_level": 6,
30
+ "id": "PP"
31
+ },
32
+ {
33
+ "type": "regulation_type",
34
+ "hierarchy_level": 5,
35
+ "id": "PERPRES"
36
+ },
37
+ {
38
+ "type": "regulation_type",
39
+ "hierarchy_level": 4,
40
+ "id": "PERMEN"
41
+ },
42
+ {
43
+ "type": "regulation_type",
44
+ "hierarchy_level": 3,
45
+ "id": "PERGUB"
46
+ },
47
+ {
48
+ "type": "regulation_type",
49
+ "hierarchy_level": 3,
50
+ "id": "PERDA PROVINSI"
51
+ },
52
+ {
53
+ "type": "regulation_type",
54
+ "hierarchy_level": 2,
55
+ "id": "PERDA"
56
+ },
57
+ {
58
+ "type": "regulation_type",
59
+ "hierarchy_level": 2,
60
+ "id": "PERKADA"
61
+ },
62
+ {
63
+ "type": "regulation_type",
64
+ "hierarchy_level": 1,
65
+ "id": "PERDES"
66
+ },
67
+ {
68
+ "type": "regulation_type",
69
+ "hierarchy_level": 1,
70
+ "id": "KEPUTUSAN"
71
+ },
72
+ {
73
+ "type": "regulation_type",
74
+ "hierarchy_level": 1,
75
+ "id": "INSTRUKSI"
76
+ },
77
+ {
78
+ "type": "regulation_type",
79
+ "hierarchy_level": 1,
80
+ "id": "SURAT EDARAN"
81
+ },
82
+ {
83
+ "type": "regulation_type",
84
+ "hierarchy_level": 1,
85
+ "id": "PEDOMAN"
86
+ },
87
+ {
88
+ "type": "government_entity",
89
+ "authority_level": 5,
90
+ "name": "pusat",
91
+ "id": "entity_pusat"
92
+ },
93
+ {
94
+ "type": "government_entity",
95
+ "authority_level": 5,
96
+ "name": "nasional",
97
+ "id": "entity_nasional"
98
+ },
99
+ {
100
+ "type": "government_entity",
101
+ "authority_level": 5,
102
+ "name": "republik indonesia",
103
+ "id": "entity_republik indonesia"
104
+ },
105
+ {
106
+ "type": "government_entity",
107
+ "authority_level": 5,
108
+ "name": "presiden",
109
+ "id": "entity_presiden"
110
+ },
111
+ {
112
+ "type": "government_entity",
113
+ "authority_level": 5,
114
+ "name": "menteri",
115
+ "id": "entity_menteri"
116
+ },
117
+ {
118
+ "type": "government_entity",
119
+ "authority_level": 4,
120
+ "name": "provinsi",
121
+ "id": "entity_provinsi"
122
+ },
123
+ {
124
+ "type": "government_entity",
125
+ "authority_level": 4,
126
+ "name": "gubernur",
127
+ "id": "entity_gubernur"
128
+ },
129
+ {
130
+ "type": "government_entity",
131
+ "authority_level": 4,
132
+ "name": "pemprov",
133
+ "id": "entity_pemprov"
134
+ },
135
+ {
136
+ "type": "government_entity",
137
+ "authority_level": 3,
138
+ "name": "kabupaten",
139
+ "id": "entity_kabupaten"
140
+ },
141
+ {
142
+ "type": "government_entity",
143
+ "authority_level": 3,
144
+ "name": "bupati",
145
+ "id": "entity_bupati"
146
+ },
147
+ {
148
+ "type": "government_entity",
149
+ "authority_level": 3,
150
+ "name": "kota",
151
+ "id": "entity_kota"
152
+ },
153
+ {
154
+ "type": "government_entity",
155
+ "authority_level": 3,
156
+ "name": "walikota",
157
+ "id": "entity_walikota"
158
+ },
159
+ {
160
+ "type": "government_entity",
161
+ "authority_level": 3,
162
+ "name": "pemkab",
163
+ "id": "entity_pemkab"
164
+ },
165
+ {
166
+ "type": "government_entity",
167
+ "authority_level": 3,
168
+ "name": "pemkot",
169
+ "id": "entity_pemkot"
170
+ },
171
+ {
172
+ "type": "government_entity",
173
+ "authority_level": 2,
174
+ "name": "desa",
175
+ "id": "entity_desa"
176
+ },
177
+ {
178
+ "type": "government_entity",
179
+ "authority_level": 2,
180
+ "name": "kepala desa",
181
+ "id": "entity_kepala desa"
182
+ },
183
+ {
184
+ "type": "government_entity",
185
+ "authority_level": 2,
186
+ "name": "kades",
187
+ "id": "entity_kades"
188
+ },
189
+ {
190
+ "type": "government_entity",
191
+ "authority_level": 1,
192
+ "name": "kelurahan",
193
+ "id": "entity_kelurahan"
194
+ },
195
+ {
196
+ "type": "government_entity",
197
+ "authority_level": 1,
198
+ "name": "lurah",
199
+ "id": "entity_lurah"
200
+ },
201
+ {
202
+ "type": "government_entity",
203
+ "authority_level": 1,
204
+ "name": "rt",
205
+ "id": "entity_rt"
206
+ },
207
+ {
208
+ "type": "government_entity",
209
+ "authority_level": 1,
210
+ "name": "rw",
211
+ "id": "entity_rw"
212
+ },
213
+ {
214
+ "type": "concept_cluster",
215
+ "name": "sanctions",
216
+ "id": "cluster_sanctions"
217
+ },
218
+ {
219
+ "type": "legal_concept",
220
+ "name": "sanksi",
221
+ "id": "concept_sanksi"
222
+ },
223
+ {
224
+ "type": "legal_concept",
225
+ "name": "pidana",
226
+ "id": "concept_pidana"
227
+ },
228
+ {
229
+ "type": "legal_concept",
230
+ "name": "denda",
231
+ "id": "concept_denda"
232
+ },
233
+ {
234
+ "type": "legal_concept",
235
+ "name": "hukuman",
236
+ "id": "concept_hukuman"
237
+ },
238
+ {
239
+ "type": "legal_concept",
240
+ "name": "larangan",
241
+ "id": "concept_larangan"
242
+ },
243
+ {
244
+ "type": "concept_cluster",
245
+ "name": "obligations",
246
+ "id": "cluster_obligations"
247
+ },
248
+ {
249
+ "type": "legal_concept",
250
+ "name": "wajib",
251
+ "id": "concept_wajib"
252
+ },
253
+ {
254
+ "type": "legal_concept",
255
+ "name": "harus",
256
+ "id": "concept_harus"
257
+ },
258
+ {
259
+ "type": "legal_concept",
260
+ "name": "kewajiban",
261
+ "id": "concept_kewajiban"
262
+ },
263
+ {
264
+ "type": "legal_concept",
265
+ "name": "tanggung jawab",
266
+ "id": "concept_tanggung jawab"
267
+ },
268
+ {
269
+ "type": "concept_cluster",
270
+ "name": "rights",
271
+ "id": "cluster_rights"
272
+ },
273
+ {
274
+ "type": "legal_concept",
275
+ "name": "dapat",
276
+ "id": "concept_dapat"
277
+ },
278
+ {
279
+ "type": "legal_concept",
280
+ "name": "berhak",
281
+ "id": "concept_berhak"
282
+ },
283
+ {
284
+ "type": "legal_concept",
285
+ "name": "hak",
286
+ "id": "concept_hak"
287
+ },
288
+ {
289
+ "type": "legal_concept",
290
+ "name": "kewenangan",
291
+ "id": "concept_kewenangan"
292
+ },
293
+ {
294
+ "type": "concept_cluster",
295
+ "name": "procedures",
296
+ "id": "cluster_procedures"
297
+ },
298
+ {
299
+ "type": "legal_concept",
300
+ "name": "prosedur",
301
+ "id": "concept_prosedur"
302
+ },
303
+ {
304
+ "type": "legal_concept",
305
+ "name": "tata cara",
306
+ "id": "concept_tata cara"
307
+ },
308
+ {
309
+ "type": "legal_concept",
310
+ "name": "persyaratan",
311
+ "id": "concept_persyaratan"
312
+ },
313
+ {
314
+ "type": "legal_concept",
315
+ "name": "izin",
316
+ "id": "concept_izin"
317
+ },
318
+ {
319
+ "type": "concept_cluster",
320
+ "name": "structure",
321
+ "id": "cluster_structure"
322
+ },
323
+ {
324
+ "type": "legal_concept",
325
+ "name": "pasal",
326
+ "id": "concept_pasal"
327
+ },
328
+ {
329
+ "type": "legal_concept",
330
+ "name": "ayat",
331
+ "id": "concept_ayat"
332
+ },
333
+ {
334
+ "type": "legal_concept",
335
+ "name": "huruf",
336
+ "id": "concept_huruf"
337
+ },
338
+ {
339
+ "type": "legal_concept",
340
+ "name": "angka",
341
+ "id": "concept_angka"
342
+ },
343
+ {
344
+ "type": "legal_concept",
345
+ "name": "bab",
346
+ "id": "concept_bab"
347
+ },
348
+ {
349
+ "type": "concept_cluster",
350
+ "name": "subjects",
351
+ "id": "cluster_subjects"
352
+ },
353
+ {
354
+ "type": "legal_concept",
355
+ "name": "badan hukum",
356
+ "id": "concept_badan hukum"
357
+ },
358
+ {
359
+ "type": "legal_concept",
360
+ "name": "perusahaan",
361
+ "id": "concept_perusahaan"
362
+ },
363
+ {
364
+ "type": "legal_concept",
365
+ "name": "instansi",
366
+ "id": "concept_instansi"
367
+ },
368
+ {
369
+ "type": "legal_concept",
370
+ "name": "lembaga",
371
+ "id": "concept_lembaga"
372
+ }
373
+ ],
374
+ "links": [
375
+ {
376
+ "relation": "is_superior_to",
377
+ "weight": 0.8,
378
+ "source": "UUD",
379
+ "target": "TAP MPR"
380
+ },
381
+ {
382
+ "relation": "is_superior_to",
383
+ "weight": 0.8,
384
+ "source": "UUD",
385
+ "target": "UU"
386
+ },
387
+ {
388
+ "relation": "is_superior_to",
389
+ "weight": 0.8,
390
+ "source": "UUD",
391
+ "target": "PERPU"
392
+ },
393
+ {
394
+ "relation": "is_superior_to",
395
+ "weight": 0.8,
396
+ "source": "UUD",
397
+ "target": "PP"
398
+ },
399
+ {
400
+ "relation": "is_superior_to",
401
+ "weight": 0.8,
402
+ "source": "UUD",
403
+ "target": "PERPRES"
404
+ },
405
+ {
406
+ "relation": "is_superior_to",
407
+ "weight": 0.8,
408
+ "source": "UUD",
409
+ "target": "PERMEN"
410
+ },
411
+ {
412
+ "relation": "is_superior_to",
413
+ "weight": 0.8,
414
+ "source": "UUD",
415
+ "target": "PERGUB"
416
+ },
417
+ {
418
+ "relation": "is_superior_to",
419
+ "weight": 0.8,
420
+ "source": "UUD",
421
+ "target": "PERDA PROVINSI"
422
+ },
423
+ {
424
+ "relation": "is_superior_to",
425
+ "weight": 0.8,
426
+ "source": "UUD",
427
+ "target": "PERDA"
428
+ },
429
+ {
430
+ "relation": "is_superior_to",
431
+ "weight": 0.8,
432
+ "source": "UUD",
433
+ "target": "PERKADA"
434
+ },
435
+ {
436
+ "relation": "is_superior_to",
437
+ "weight": 0.8,
438
+ "source": "UUD",
439
+ "target": "PERDES"
440
+ },
441
+ {
442
+ "relation": "is_superior_to",
443
+ "weight": 0.8,
444
+ "source": "UUD",
445
+ "target": "KEPUTUSAN"
446
+ },
447
+ {
448
+ "relation": "is_superior_to",
449
+ "weight": 0.8,
450
+ "source": "UUD",
451
+ "target": "INSTRUKSI"
452
+ },
453
+ {
454
+ "relation": "is_superior_to",
455
+ "weight": 0.8,
456
+ "source": "UUD",
457
+ "target": "SURAT EDARAN"
458
+ },
459
+ {
460
+ "relation": "is_superior_to",
461
+ "weight": 0.8,
462
+ "source": "UUD",
463
+ "target": "PEDOMAN"
464
+ },
465
+ {
466
+ "relation": "is_superior_to",
467
+ "weight": 0.8,
468
+ "source": "TAP MPR",
469
+ "target": "UU"
470
+ },
471
+ {
472
+ "relation": "is_superior_to",
473
+ "weight": 0.8,
474
+ "source": "TAP MPR",
475
+ "target": "PERPU"
476
+ },
477
+ {
478
+ "relation": "is_superior_to",
479
+ "weight": 0.8,
480
+ "source": "TAP MPR",
481
+ "target": "PP"
482
+ },
483
+ {
484
+ "relation": "is_superior_to",
485
+ "weight": 0.8,
486
+ "source": "TAP MPR",
487
+ "target": "PERPRES"
488
+ },
489
+ {
490
+ "relation": "is_superior_to",
491
+ "weight": 0.8,
492
+ "source": "TAP MPR",
493
+ "target": "PERMEN"
494
+ },
495
+ {
496
+ "relation": "is_superior_to",
497
+ "weight": 0.8,
498
+ "source": "TAP MPR",
499
+ "target": "PERGUB"
500
+ },
501
+ {
502
+ "relation": "is_superior_to",
503
+ "weight": 0.8,
504
+ "source": "TAP MPR",
505
+ "target": "PERDA PROVINSI"
506
+ },
507
+ {
508
+ "relation": "is_superior_to",
509
+ "weight": 0.8,
510
+ "source": "TAP MPR",
511
+ "target": "PERDA"
512
+ },
513
+ {
514
+ "relation": "is_superior_to",
515
+ "weight": 0.8,
516
+ "source": "TAP MPR",
517
+ "target": "PERKADA"
518
+ },
519
+ {
520
+ "relation": "is_superior_to",
521
+ "weight": 0.8,
522
+ "source": "TAP MPR",
523
+ "target": "PERDES"
524
+ },
525
+ {
526
+ "relation": "is_superior_to",
527
+ "weight": 0.8,
528
+ "source": "TAP MPR",
529
+ "target": "KEPUTUSAN"
530
+ },
531
+ {
532
+ "relation": "is_superior_to",
533
+ "weight": 0.8,
534
+ "source": "TAP MPR",
535
+ "target": "INSTRUKSI"
536
+ },
537
+ {
538
+ "relation": "is_superior_to",
539
+ "weight": 0.8,
540
+ "source": "TAP MPR",
541
+ "target": "SURAT EDARAN"
542
+ },
543
+ {
544
+ "relation": "is_superior_to",
545
+ "weight": 0.8,
546
+ "source": "TAP MPR",
547
+ "target": "PEDOMAN"
548
+ },
549
+ {
550
+ "relation": "is_superior_to",
551
+ "weight": 0.8,
552
+ "source": "UU",
553
+ "target": "PERPU"
554
+ },
555
+ {
556
+ "relation": "is_superior_to",
557
+ "weight": 0.8,
558
+ "source": "UU",
559
+ "target": "PP"
560
+ },
561
+ {
562
+ "relation": "is_superior_to",
563
+ "weight": 0.8,
564
+ "source": "UU",
565
+ "target": "PERPRES"
566
+ },
567
+ {
568
+ "relation": "is_superior_to",
569
+ "weight": 0.8,
570
+ "source": "UU",
571
+ "target": "PERMEN"
572
+ },
573
+ {
574
+ "relation": "is_superior_to",
575
+ "weight": 0.8,
576
+ "source": "UU",
577
+ "target": "PERGUB"
578
+ },
579
+ {
580
+ "relation": "is_superior_to",
581
+ "weight": 0.8,
582
+ "source": "UU",
583
+ "target": "PERDA PROVINSI"
584
+ },
585
+ {
586
+ "relation": "is_superior_to",
587
+ "weight": 0.8,
588
+ "source": "UU",
589
+ "target": "PERDA"
590
+ },
591
+ {
592
+ "relation": "is_superior_to",
593
+ "weight": 0.8,
594
+ "source": "UU",
595
+ "target": "PERKADA"
596
+ },
597
+ {
598
+ "relation": "is_superior_to",
599
+ "weight": 0.8,
600
+ "source": "UU",
601
+ "target": "PERDES"
602
+ },
603
+ {
604
+ "relation": "is_superior_to",
605
+ "weight": 0.8,
606
+ "source": "UU",
607
+ "target": "KEPUTUSAN"
608
+ },
609
+ {
610
+ "relation": "is_superior_to",
611
+ "weight": 0.8,
612
+ "source": "UU",
613
+ "target": "INSTRUKSI"
614
+ },
615
+ {
616
+ "relation": "is_superior_to",
617
+ "weight": 0.8,
618
+ "source": "UU",
619
+ "target": "SURAT EDARAN"
620
+ },
621
+ {
622
+ "relation": "is_superior_to",
623
+ "weight": 0.8,
624
+ "source": "UU",
625
+ "target": "PEDOMAN"
626
+ },
627
+ {
628
+ "relation": "is_superior_to",
629
+ "weight": 0.8,
630
+ "source": "PERPU",
631
+ "target": "PP"
632
+ },
633
+ {
634
+ "relation": "is_superior_to",
635
+ "weight": 0.8,
636
+ "source": "PERPU",
637
+ "target": "PERPRES"
638
+ },
639
+ {
640
+ "relation": "is_superior_to",
641
+ "weight": 0.8,
642
+ "source": "PERPU",
643
+ "target": "PERMEN"
644
+ },
645
+ {
646
+ "relation": "is_superior_to",
647
+ "weight": 0.8,
648
+ "source": "PERPU",
649
+ "target": "PERGUB"
650
+ },
651
+ {
652
+ "relation": "is_superior_to",
653
+ "weight": 0.8,
654
+ "source": "PERPU",
655
+ "target": "PERDA PROVINSI"
656
+ },
657
+ {
658
+ "relation": "is_superior_to",
659
+ "weight": 0.8,
660
+ "source": "PERPU",
661
+ "target": "PERDA"
662
+ },
663
+ {
664
+ "relation": "is_superior_to",
665
+ "weight": 0.8,
666
+ "source": "PERPU",
667
+ "target": "PERKADA"
668
+ },
669
+ {
670
+ "relation": "is_superior_to",
671
+ "weight": 0.8,
672
+ "source": "PERPU",
673
+ "target": "PERDES"
674
+ },
675
+ {
676
+ "relation": "is_superior_to",
677
+ "weight": 0.8,
678
+ "source": "PERPU",
679
+ "target": "KEPUTUSAN"
680
+ },
681
+ {
682
+ "relation": "is_superior_to",
683
+ "weight": 0.8,
684
+ "source": "PERPU",
685
+ "target": "INSTRUKSI"
686
+ },
687
+ {
688
+ "relation": "is_superior_to",
689
+ "weight": 0.8,
690
+ "source": "PERPU",
691
+ "target": "SURAT EDARAN"
692
+ },
693
+ {
694
+ "relation": "is_superior_to",
695
+ "weight": 0.8,
696
+ "source": "PERPU",
697
+ "target": "PEDOMAN"
698
+ },
699
+ {
700
+ "relation": "is_superior_to",
701
+ "weight": 0.8,
702
+ "source": "PP",
703
+ "target": "PERPRES"
704
+ },
705
+ {
706
+ "relation": "is_superior_to",
707
+ "weight": 0.8,
708
+ "source": "PP",
709
+ "target": "PERMEN"
710
+ },
711
+ {
712
+ "relation": "is_superior_to",
713
+ "weight": 0.8,
714
+ "source": "PP",
715
+ "target": "PERGUB"
716
+ },
717
+ {
718
+ "relation": "is_superior_to",
719
+ "weight": 0.8,
720
+ "source": "PP",
721
+ "target": "PERDA PROVINSI"
722
+ },
723
+ {
724
+ "relation": "is_superior_to",
725
+ "weight": 0.8,
726
+ "source": "PP",
727
+ "target": "PERDA"
728
+ },
729
+ {
730
+ "relation": "is_superior_to",
731
+ "weight": 0.8,
732
+ "source": "PP",
733
+ "target": "PERKADA"
734
+ },
735
+ {
736
+ "relation": "is_superior_to",
737
+ "weight": 0.8,
738
+ "source": "PP",
739
+ "target": "PERDES"
740
+ },
741
+ {
742
+ "relation": "is_superior_to",
743
+ "weight": 0.8,
744
+ "source": "PP",
745
+ "target": "KEPUTUSAN"
746
+ },
747
+ {
748
+ "relation": "is_superior_to",
749
+ "weight": 0.8,
750
+ "source": "PP",
751
+ "target": "INSTRUKSI"
752
+ },
753
+ {
754
+ "relation": "is_superior_to",
755
+ "weight": 0.8,
756
+ "source": "PP",
757
+ "target": "SURAT EDARAN"
758
+ },
759
+ {
760
+ "relation": "is_superior_to",
761
+ "weight": 0.8,
762
+ "source": "PP",
763
+ "target": "PEDOMAN"
764
+ },
765
+ {
766
+ "relation": "is_superior_to",
767
+ "weight": 0.8,
768
+ "source": "PERPRES",
769
+ "target": "PERMEN"
770
+ },
771
+ {
772
+ "relation": "is_superior_to",
773
+ "weight": 0.8,
774
+ "source": "PERPRES",
775
+ "target": "PERGUB"
776
+ },
777
+ {
778
+ "relation": "is_superior_to",
779
+ "weight": 0.8,
780
+ "source": "PERPRES",
781
+ "target": "PERDA PROVINSI"
782
+ },
783
+ {
784
+ "relation": "is_superior_to",
785
+ "weight": 0.8,
786
+ "source": "PERPRES",
787
+ "target": "PERDA"
788
+ },
789
+ {
790
+ "relation": "is_superior_to",
791
+ "weight": 0.8,
792
+ "source": "PERPRES",
793
+ "target": "PERKADA"
794
+ },
795
+ {
796
+ "relation": "is_superior_to",
797
+ "weight": 0.8,
798
+ "source": "PERPRES",
799
+ "target": "PERDES"
800
+ },
801
+ {
802
+ "relation": "is_superior_to",
803
+ "weight": 0.8,
804
+ "source": "PERPRES",
805
+ "target": "KEPUTUSAN"
806
+ },
807
+ {
808
+ "relation": "is_superior_to",
809
+ "weight": 0.8,
810
+ "source": "PERPRES",
811
+ "target": "INSTRUKSI"
812
+ },
813
+ {
814
+ "relation": "is_superior_to",
815
+ "weight": 0.8,
816
+ "source": "PERPRES",
817
+ "target": "SURAT EDARAN"
818
+ },
819
+ {
820
+ "relation": "is_superior_to",
821
+ "weight": 0.8,
822
+ "source": "PERPRES",
823
+ "target": "PEDOMAN"
824
+ },
825
+ {
826
+ "relation": "is_superior_to",
827
+ "weight": 0.8,
828
+ "source": "PERMEN",
829
+ "target": "PERGUB"
830
+ },
831
+ {
832
+ "relation": "is_superior_to",
833
+ "weight": 0.8,
834
+ "source": "PERMEN",
835
+ "target": "PERDA PROVINSI"
836
+ },
837
+ {
838
+ "relation": "is_superior_to",
839
+ "weight": 0.8,
840
+ "source": "PERMEN",
841
+ "target": "PERDA"
842
+ },
843
+ {
844
+ "relation": "is_superior_to",
845
+ "weight": 0.8,
846
+ "source": "PERMEN",
847
+ "target": "PERKADA"
848
+ },
849
+ {
850
+ "relation": "is_superior_to",
851
+ "weight": 0.8,
852
+ "source": "PERMEN",
853
+ "target": "PERDES"
854
+ },
855
+ {
856
+ "relation": "is_superior_to",
857
+ "weight": 0.8,
858
+ "source": "PERMEN",
859
+ "target": "KEPUTUSAN"
860
+ },
861
+ {
862
+ "relation": "is_superior_to",
863
+ "weight": 0.8,
864
+ "source": "PERMEN",
865
+ "target": "INSTRUKSI"
866
+ },
867
+ {
868
+ "relation": "is_superior_to",
869
+ "weight": 0.8,
870
+ "source": "PERMEN",
871
+ "target": "SURAT EDARAN"
872
+ },
873
+ {
874
+ "relation": "is_superior_to",
875
+ "weight": 0.8,
876
+ "source": "PERMEN",
877
+ "target": "PEDOMAN"
878
+ },
879
+ {
880
+ "relation": "is_superior_to",
881
+ "weight": 0.8,
882
+ "source": "PERGUB",
883
+ "target": "PERDA"
884
+ },
885
+ {
886
+ "relation": "is_superior_to",
887
+ "weight": 0.8,
888
+ "source": "PERGUB",
889
+ "target": "PERKADA"
890
+ },
891
+ {
892
+ "relation": "is_superior_to",
893
+ "weight": 0.8,
894
+ "source": "PERGUB",
895
+ "target": "PERDES"
896
+ },
897
+ {
898
+ "relation": "is_superior_to",
899
+ "weight": 0.8,
900
+ "source": "PERGUB",
901
+ "target": "KEPUTUSAN"
902
+ },
903
+ {
904
+ "relation": "is_superior_to",
905
+ "weight": 0.8,
906
+ "source": "PERGUB",
907
+ "target": "INSTRUKSI"
908
+ },
909
+ {
910
+ "relation": "is_superior_to",
911
+ "weight": 0.8,
912
+ "source": "PERGUB",
913
+ "target": "SURAT EDARAN"
914
+ },
915
+ {
916
+ "relation": "is_superior_to",
917
+ "weight": 0.8,
918
+ "source": "PERGUB",
919
+ "target": "PEDOMAN"
920
+ },
921
+ {
922
+ "relation": "is_superior_to",
923
+ "weight": 0.8,
924
+ "source": "PERDA PROVINSI",
925
+ "target": "PERDA"
926
+ },
927
+ {
928
+ "relation": "is_superior_to",
929
+ "weight": 0.8,
930
+ "source": "PERDA PROVINSI",
931
+ "target": "PERKADA"
932
+ },
933
+ {
934
+ "relation": "is_superior_to",
935
+ "weight": 0.8,
936
+ "source": "PERDA PROVINSI",
937
+ "target": "PERDES"
938
+ },
939
+ {
940
+ "relation": "is_superior_to",
941
+ "weight": 0.8,
942
+ "source": "PERDA PROVINSI",
943
+ "target": "KEPUTUSAN"
944
+ },
945
+ {
946
+ "relation": "is_superior_to",
947
+ "weight": 0.8,
948
+ "source": "PERDA PROVINSI",
949
+ "target": "INSTRUKSI"
950
+ },
951
+ {
952
+ "relation": "is_superior_to",
953
+ "weight": 0.8,
954
+ "source": "PERDA PROVINSI",
955
+ "target": "SURAT EDARAN"
956
+ },
957
+ {
958
+ "relation": "is_superior_to",
959
+ "weight": 0.8,
960
+ "source": "PERDA PROVINSI",
961
+ "target": "PEDOMAN"
962
+ },
963
+ {
964
+ "relation": "is_superior_to",
965
+ "weight": 0.8,
966
+ "source": "PERDA",
967
+ "target": "PERDES"
968
+ },
969
+ {
970
+ "relation": "is_superior_to",
971
+ "weight": 0.8,
972
+ "source": "PERDA",
973
+ "target": "KEPUTUSAN"
974
+ },
975
+ {
976
+ "relation": "is_superior_to",
977
+ "weight": 0.8,
978
+ "source": "PERDA",
979
+ "target": "INSTRUKSI"
980
+ },
981
+ {
982
+ "relation": "is_superior_to",
983
+ "weight": 0.8,
984
+ "source": "PERDA",
985
+ "target": "SURAT EDARAN"
986
+ },
987
+ {
988
+ "relation": "is_superior_to",
989
+ "weight": 0.8,
990
+ "source": "PERDA",
991
+ "target": "PEDOMAN"
992
+ },
993
+ {
994
+ "relation": "is_superior_to",
995
+ "weight": 0.8,
996
+ "source": "PERKADA",
997
+ "target": "PERDES"
998
+ },
999
+ {
1000
+ "relation": "is_superior_to",
1001
+ "weight": 0.8,
1002
+ "source": "PERKADA",
1003
+ "target": "KEPUTUSAN"
1004
+ },
1005
+ {
1006
+ "relation": "is_superior_to",
1007
+ "weight": 0.8,
1008
+ "source": "PERKADA",
1009
+ "target": "INSTRUKSI"
1010
+ },
1011
+ {
1012
+ "relation": "is_superior_to",
1013
+ "weight": 0.8,
1014
+ "source": "PERKADA",
1015
+ "target": "SURAT EDARAN"
1016
+ },
1017
+ {
1018
+ "relation": "is_superior_to",
1019
+ "weight": 0.8,
1020
+ "source": "PERKADA",
1021
+ "target": "PEDOMAN"
1022
+ },
1023
+ {
1024
+ "relation": "contains",
1025
+ "weight": 0.9,
1026
+ "source": "cluster_sanctions",
1027
+ "target": "concept_sanksi"
1028
+ },
1029
+ {
1030
+ "relation": "contains",
1031
+ "weight": 0.9,
1032
+ "source": "cluster_sanctions",
1033
+ "target": "concept_pidana"
1034
+ },
1035
+ {
1036
+ "relation": "contains",
1037
+ "weight": 0.9,
1038
+ "source": "cluster_sanctions",
1039
+ "target": "concept_denda"
1040
+ },
1041
+ {
1042
+ "relation": "contains",
1043
+ "weight": 0.9,
1044
+ "source": "cluster_sanctions",
1045
+ "target": "concept_hukuman"
1046
+ },
1047
+ {
1048
+ "relation": "contains",
1049
+ "weight": 0.9,
1050
+ "source": "cluster_sanctions",
1051
+ "target": "concept_larangan"
1052
+ },
1053
+ {
1054
+ "relation": "contains",
1055
+ "weight": 0.9,
1056
+ "source": "cluster_obligations",
1057
+ "target": "concept_wajib"
1058
+ },
1059
+ {
1060
+ "relation": "contains",
1061
+ "weight": 0.9,
1062
+ "source": "cluster_obligations",
1063
+ "target": "concept_harus"
1064
+ },
1065
+ {
1066
+ "relation": "contains",
1067
+ "weight": 0.9,
1068
+ "source": "cluster_obligations",
1069
+ "target": "concept_kewajiban"
1070
+ },
1071
+ {
1072
+ "relation": "contains",
1073
+ "weight": 0.9,
1074
+ "source": "cluster_obligations",
1075
+ "target": "concept_tanggung jawab"
1076
+ },
1077
+ {
1078
+ "relation": "contains",
1079
+ "weight": 0.9,
1080
+ "source": "cluster_rights",
1081
+ "target": "concept_dapat"
1082
+ },
1083
+ {
1084
+ "relation": "contains",
1085
+ "weight": 0.9,
1086
+ "source": "cluster_rights",
1087
+ "target": "concept_berhak"
1088
+ },
1089
+ {
1090
+ "relation": "contains",
1091
+ "weight": 0.9,
1092
+ "source": "cluster_rights",
1093
+ "target": "concept_hak"
1094
+ },
1095
+ {
1096
+ "relation": "contains",
1097
+ "weight": 0.9,
1098
+ "source": "cluster_rights",
1099
+ "target": "concept_kewenangan"
1100
+ },
1101
+ {
1102
+ "relation": "contains",
1103
+ "weight": 0.9,
1104
+ "source": "cluster_procedures",
1105
+ "target": "concept_prosedur"
1106
+ },
1107
+ {
1108
+ "relation": "contains",
1109
+ "weight": 0.9,
1110
+ "source": "cluster_procedures",
1111
+ "target": "concept_tata cara"
1112
+ },
1113
+ {
1114
+ "relation": "contains",
1115
+ "weight": 0.9,
1116
+ "source": "cluster_procedures",
1117
+ "target": "concept_persyaratan"
1118
+ },
1119
+ {
1120
+ "relation": "contains",
1121
+ "weight": 0.9,
1122
+ "source": "cluster_procedures",
1123
+ "target": "concept_izin"
1124
+ },
1125
+ {
1126
+ "relation": "contains",
1127
+ "weight": 0.9,
1128
+ "source": "cluster_structure",
1129
+ "target": "concept_pasal"
1130
+ },
1131
+ {
1132
+ "relation": "contains",
1133
+ "weight": 0.9,
1134
+ "source": "cluster_structure",
1135
+ "target": "concept_ayat"
1136
+ },
1137
+ {
1138
+ "relation": "contains",
1139
+ "weight": 0.9,
1140
+ "source": "cluster_structure",
1141
+ "target": "concept_huruf"
1142
+ },
1143
+ {
1144
+ "relation": "contains",
1145
+ "weight": 0.9,
1146
+ "source": "cluster_structure",
1147
+ "target": "concept_angka"
1148
+ },
1149
+ {
1150
+ "relation": "contains",
1151
+ "weight": 0.9,
1152
+ "source": "cluster_structure",
1153
+ "target": "concept_bab"
1154
+ },
1155
+ {
1156
+ "relation": "contains",
1157
+ "weight": 0.9,
1158
+ "source": "cluster_subjects",
1159
+ "target": "concept_badan hukum"
1160
+ },
1161
+ {
1162
+ "relation": "contains",
1163
+ "weight": 0.9,
1164
+ "source": "cluster_subjects",
1165
+ "target": "concept_perusahaan"
1166
+ },
1167
+ {
1168
+ "relation": "contains",
1169
+ "weight": 0.9,
1170
+ "source": "cluster_subjects",
1171
+ "target": "concept_instansi"
1172
+ },
1173
+ {
1174
+ "relation": "contains",
1175
+ "weight": 0.9,
1176
+ "source": "cluster_subjects",
1177
+ "target": "concept_lembaga"
1178
+ }
1179
+ ]
1180
+ },
1181
+ "entity_types": {
1182
+ "UUD": "regulation_type",
1183
+ "TAP MPR": "regulation_type",
1184
+ "UU": "regulation_type",
1185
+ "PERPU": "regulation_type",
1186
+ "PP": "regulation_type",
1187
+ "PERPRES": "regulation_type",
1188
+ "PERMEN": "regulation_type",
1189
+ "PERGUB": "regulation_type",
1190
+ "PERDA PROVINSI": "regulation_type",
1191
+ "PERDA": "regulation_type",
1192
+ "PERKADA": "regulation_type",
1193
+ "PERDES": "regulation_type",
1194
+ "KEPUTUSAN": "regulation_type",
1195
+ "INSTRUKSI": "regulation_type",
1196
+ "SURAT EDARAN": "regulation_type",
1197
+ "PEDOMAN": "regulation_type",
1198
+ "entity_pusat": "government_entity",
1199
+ "entity_nasional": "government_entity",
1200
+ "entity_republik indonesia": "government_entity",
1201
+ "entity_presiden": "government_entity",
1202
+ "entity_menteri": "government_entity",
1203
+ "entity_provinsi": "government_entity",
1204
+ "entity_gubernur": "government_entity",
1205
+ "entity_pemprov": "government_entity",
1206
+ "entity_kabupaten": "government_entity",
1207
+ "entity_bupati": "government_entity",
1208
+ "entity_kota": "government_entity",
1209
+ "entity_walikota": "government_entity",
1210
+ "entity_pemkab": "government_entity",
1211
+ "entity_pemkot": "government_entity",
1212
+ "entity_desa": "government_entity",
1213
+ "entity_kepala desa": "government_entity",
1214
+ "entity_kades": "government_entity",
1215
+ "entity_kelurahan": "government_entity",
1216
+ "entity_lurah": "government_entity",
1217
+ "entity_rt": "government_entity",
1218
+ "entity_rw": "government_entity",
1219
+ "cluster_sanctions": "concept_cluster",
1220
+ "concept_sanksi": "legal_concept",
1221
+ "concept_pidana": "legal_concept",
1222
+ "concept_denda": "legal_concept",
1223
+ "concept_hukuman": "legal_concept",
1224
+ "concept_larangan": "legal_concept",
1225
+ "cluster_obligations": "concept_cluster",
1226
+ "concept_wajib": "legal_concept",
1227
+ "concept_harus": "legal_concept",
1228
+ "concept_kewajiban": "legal_concept",
1229
+ "concept_tanggung jawab": "legal_concept",
1230
+ "cluster_rights": "concept_cluster",
1231
+ "concept_dapat": "legal_concept",
1232
+ "concept_berhak": "legal_concept",
1233
+ "concept_hak": "legal_concept",
1234
+ "concept_kewenangan": "legal_concept",
1235
+ "cluster_procedures": "concept_cluster",
1236
+ "concept_prosedur": "legal_concept",
1237
+ "concept_tata cara": "legal_concept",
1238
+ "concept_persyaratan": "legal_concept",
1239
+ "concept_izin": "legal_concept",
1240
+ "cluster_structure": "concept_cluster",
1241
+ "concept_pasal": "legal_concept",
1242
+ "concept_ayat": "legal_concept",
1243
+ "concept_huruf": "legal_concept",
1244
+ "concept_angka": "legal_concept",
1245
+ "concept_bab": "legal_concept",
1246
+ "cluster_subjects": "concept_cluster",
1247
+ "concept_badan hukum": "legal_concept",
1248
+ "concept_perusahaan": "legal_concept",
1249
+ "concept_instansi": "legal_concept",
1250
+ "concept_lembaga": "legal_concept"
1251
+ },
1252
+ "concept_clusters": {
1253
+ "concept_sanksi": "cluster_sanctions",
1254
+ "concept_pidana": "cluster_sanctions",
1255
+ "concept_denda": "cluster_sanctions",
1256
+ "concept_hukuman": "cluster_sanctions",
1257
+ "concept_larangan": "cluster_sanctions",
1258
+ "concept_wajib": "cluster_obligations",
1259
+ "concept_harus": "cluster_obligations",
1260
+ "concept_kewajiban": "cluster_obligations",
1261
+ "concept_tanggung jawab": "cluster_obligations",
1262
+ "concept_dapat": "cluster_rights",
1263
+ "concept_berhak": "cluster_rights",
1264
+ "concept_hak": "cluster_rights",
1265
+ "concept_kewenangan": "cluster_rights",
1266
+ "concept_prosedur": "cluster_procedures",
1267
+ "concept_tata cara": "cluster_procedures",
1268
+ "concept_persyaratan": "cluster_procedures",
1269
+ "concept_izin": "cluster_procedures",
1270
+ "concept_pasal": "cluster_structure",
1271
+ "concept_ayat": "cluster_structure",
1272
+ "concept_huruf": "cluster_structure",
1273
+ "concept_angka": "cluster_structure",
1274
+ "concept_bab": "cluster_structure",
1275
+ "concept_badan hukum": "cluster_subjects",
1276
+ "concept_perusahaan": "cluster_subjects",
1277
+ "concept_instansi": "cluster_subjects",
1278
+ "concept_lembaga": "cluster_subjects"
1279
+ },
1280
+ "regulation_hierarchy": {}
1281
+ }
processed_legal_database.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2411e85da1809e86694a477ab1f7e071e0fce7e95c35c12d12b38863974b367
3
+ size 1321055102
processing_summary.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "total_records_processed": 199994,
3
+ "embedding_shape": [
4
+ 199994,
5
+ 1024
6
+ ],
7
+ "tfidf_shape": [
8
+ 199994,
9
+ 25000
10
+ ],
11
+ "kg_nodes": 69,
12
+ "kg_edges": 134,
13
+ "avg_entities_per_record": 16.55410162304869,
14
+ "processing_time_estimate": "Calculated during processing",
15
+ "file_sizes": {
16
+ "database_parquet": "1259.86 MB",
17
+ "embeddings_npy": "781.23 MB",
18
+ "tfidf_pkl": "705.53 MB",
19
+ "knowledge_graph_json": "29.84 KB"
20
+ }
21
+ }
tfidf_components.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a7a6afc553498d9381c1d41fa74d890280403b538faa9067e3ebeca2fbeefcef
3
+ size 739799509