--- license: mit task_categories: - text-generation language: - ko tags: - legal pretty_name: Korean Statutes (All Laws of Korea) size_categories: - 100K Each row corresponds to one clause (`μ‘°λ¬Έ`) from a law. The full law content can be retrieved via the provided `LawDetailLink`. --- ## 🧾 Column Descriptions | Column Name | Description | | -------------------- | ------------------------------------------------------------------------ | | `CurrentHistoryCode` | Status of the law version (e.g., `"ν˜„ν–‰"`) | | `LawSerialNumber` | Unique identifier for the law version | | `LawDetailLink` | Direct API link to the full law text (in XML format) | | `LawNameKor` | Full name of the law in Korean | | `LawTypeName` | Type of law (e.g., `"법λ₯ "`, `"λŒ€ν†΅λ Ήλ Ή"`) | | `DepartmentName` | Name of the issuing or managing ministry/agency | | `PromulgationNumber` | Official number assigned at promulgation | | `RevisionTypeName` | Revision type (e.g., `"μΌλΆ€κ°œμ •"`, `"μ „λΆ€κ°œμ •"`, `"νƒ€λ²•κ°œμ •"`) | | `LawID` | Unique identifier for the law itself (not version-specific) | | `EffectiveDate` | Date the law goes into effect (YYYY-MM-DD) | | `PromulgationDate` | Date the law was promulgated (YYYY-MM-DD) | | `LawAbbreviation` | Short or abbreviated name of the law | | `ClauseNumber` | Clause number (e.g., `"2"`, `"3의2"`, `"5쑰의3"`), stored as a string | | `ClauseTitle` | Title of the clause (if present) | | `ClauseContent` | Full text content of the clause, including subparagraphs and line breaks | --- ## πŸ“Š Missing Value Statistics | Column Name | Missing Count | Missing Ratio (%) | | ----------------- | ------------- | ----------------- | | `DepartmentName` | 130 | 0.06% | | `LawAbbreviation` | 117,379 | 58.50% | | `ClauseTitle` | 12,333 | 6.15% | | Other columns | 0 | 0.00% | > ⚠️ The `LawAbbreviation` field is missing in over half the entries, but this does not affect core clause data. --- ## πŸ› οΈ Preprocessing Notes * Crawled using the [DRF Open API](https://www.law.go.kr/DRF/lawService.do) provided by law\.go.kr. * Each `LawDetailLink` is a direct link to the XML representation of the full law version. * Long multiline clauses (including subparagraphs and notes) are preserved in `ClauseContent`. --- ## πŸ’‘ Suggested Use Cases * 🧠 **Statute Summarization** – Train models to summarize Korean legal texts * πŸ€– **Legal QA and Chatbots** – Power clause-aware legal assistant systems * πŸ“š **Legal Language Modeling** – Use for pretraining or fine-tuning LLMs * πŸ” **Structured Legal Retrieval** – Build clause-level retrieval or embedding systems --- ## πŸ“œ License & Purpose This dataset is based entirely on **public legal data** from the **Republic of Korea**. According to Korean copyright law, **laws and other legal texts are not subject to copyright**, and may be freely: * Used * Modified * Redistributed for **research**, **commercial**, or **educational** purposes. > While no attribution is required, citing [law.go.kr](https://law.go.kr/) as the source is recommended. --- ### 🎯 Motivation for Open-Sourcing We believe that **Korean law** should be as accessible to developers and researchers as the laws of other major jurisdictions. However, many large language models **underrepresent Korean legal content**. By releasing this dataset, we aim to: * Promote **equitable legal AI development** * Encourage **multilingual legal research** * Enable the **next generation of Korean legal tech** > πŸ‡°πŸ‡· A globally aware model needs to understand Korean law. --- ## πŸ“… Changelog | Date | Changes Made | | ---------- | ---------------------------------------------------------------------------- | | 2025-07-25 | Uploaded first version. | | 2025-07-27 | Removed structural items (편·μž₯Β·μ ˆΒ·κ΄€) from `ClauseContent`; updated statistics. |