Datasets:
id int64 1.14k 1.58k | name stringlengths 8 143 |
|---|---|
1,137 | A.P. Buildings (Lease, Rent and Eviction) Control Act, 1960 |
1,138 | Administrative Tribunals Act, 1985 |
1,139 | Advocates Act |
1,140 | Advocates Act, 1961 |
1,141 | Air Force Act |
1,142 | Air Force Rules, 1969 |
1,143 | Aircraft Act, 1934 |
1,144 | Aircraft Rules, 1937 |
1,145 | Allahabad High Court Rules, 1952 |
1,146 | Allotment Letter |
1,147 | Andhra Pradesh (Andhra Area) Estates (Abolition and Conversion into Ryotwari) Act, 1948 |
1,148 | Andhra Pradesh Charitable and Hindu Religious Institutions and Endowments Act, 1987 |
1,149 | Andhra Pradesh Electricity Reform Act, 1998 |
1,150 | Andhra Pradesh Engineering Service Rules, 1967 |
1,151 | Andhra Pradesh Land Grabbing (Prohibition) Act, 1982 |
1,152 | Andhra Pradesh Land Grabbing (Prohibition) Rules, 1988 |
1,153 | Andhra Pradesh Reorganisation Act, 2014 |
1,154 | Andhra Pradesh State & Subordinate Service Rules, 1996 |
1,155 | Andhra Pradesh State Council of Higher Education Act, 1988 |
1,156 | Andhra Pradesh State Higher Judicial Service Special Rules for Adhoc Appointments, 2001 |
1,157 | Andhra Pradesh Value Added Tax Act, 2005 |
1,158 | Arbitration & Conciliation Act, 1996 |
1,159 | Arbitration Act |
1,160 | Arbitration Act, 1940 |
1,161 | Arbitration Act, 1996 |
1,162 | Arbitration and Conciliation Act, 1996 |
1,163 | Armed Forces Regulations, 1964 |
1,164 | Armed Forces Tribunal Act, 2007 |
1,165 | Arms Act |
1,166 | Arms Act, 1959 |
1,167 | Army Act, 1950 |
1,168 | Army Rules, 1954 |
1,169 | Bank of India Officer Employees' (Discipline & Appeal) Regulations, 1976 |
1,170 | Banking Regulation Act, 1949 |
1,171 | Benami Act |
1,172 | Bengal Finance (Sales Tax) Act, 1941 |
1,173 | Bengal Medical Act, 1914 |
1,174 | Bihar Civil Court Staff (Class III and Class IV) (Amendment) Rules, 2001 |
1,175 | Bihar Civil Services (Judicial Branch) (Recruitment) Rules, 1965 |
1,176 | Bihar Finance Act, 1981 |
1,177 | Bihar Land Reforms (Fixation of Ceiling Area and Acquisition of Surplus Land) Act, 1961 |
1,178 | Bihar Land Reforms (Fixation of Ceiling Area and Acquisition of Surplus Land) Rules, 1963 |
1,179 | Bihar Superior Judicial Service Rules, 1951 |
1,180 | Bombay Highways Act, 1955 |
1,181 | Bombay Public Trust Act, 1950 |
1,182 | Bombay Rent Act |
1,183 | Bombay Rent Act, 1947 |
1,184 | Bombay Rent Control Act, 1947 |
1,185 | Bombay Rents (Hotel and Lodging House) Rates Control Act, 1947 |
1,186 | Bombay Rents, Hotel and Lodging House Rates Control Act, 1947 |
1,187 | Bombay Tenancy and Agricultural Land Act, 1948 |
1,188 | Building and other Construction Workers (Regulation of Employment and Conditions of Service) Act, 1996 |
1,189 | Business Transaction Rules |
1,190 | CCS (CCA) Rules, 1965 |
1,191 | CCS (Pension) Rules |
1,192 | CENVAT Credit Rules, 2001 |
1,193 | CENVAT Credit Rules, 2002 |
1,194 | Cantonment Act, 2006 |
1,195 | Cantonment Electoral Rules, 2007 |
1,196 | Capital of Punjab (Development and Regulation Act), 1952 |
1,197 | Central Civil Services (Pension) Rules, 1972 |
1,198 | Central Electricity Regulatory Commission (Terms and Conditions of Tariff) Regulations, 2009 |
1,199 | Central Excise Act |
1,200 | Central Excise Act, 1944 |
1,201 | Central Excise Rules, 1944 |
1,202 | Central Motor Vehicles Rules |
1,203 | Central Reserve Police Force Act, 1949 |
1,204 | Central Reserve Police Force Rules, 1955 |
1,205 | Central Sales Tax Act |
1,206 | Central Sales Tax Act, 1956 |
1,207 | Central Vigilance Commission Act, 2003 |
1,208 | Central Vigilance Commission Guidelines |
1,209 | Chandigarh Information Services Park Rules, 2002 |
1,210 | Chandigarh Leasehold of Sites and Buildings Rules, 1973 |
1,211 | Chhattisgarh Police Executive (Gazetted) Service Recruitment and Promotion Rules, 2000 |
1,212 | Civil Services Regulations, 1975 |
1,213 | Code of Civil Procedure |
1,214 | Code of Civil Procedure, 1908 |
1,215 | Code of Criminal Procedure |
1,216 | Code of Criminal Procedure, 1898 |
1,217 | Code of Criminal Procedure, 1973 |
1,218 | Commercial Courts, Commercial Division and Commercial Appellate Division of the High Courts Act, 2015 |
1,219 | Companies Act |
1,220 | Companies Act, 1956 |
1,221 | Companies Act, 2013 |
1,222 | Conduct of Election Rules, 1961 |
1,223 | Conservation of Foreign Exchange and Prevention of Smuggling Activities Act, 1974 |
1,224 | Constitution of India |
1,225 | Constitution of India, 1950 |
1,226 | Constitution of Jammu and Kashmir |
1,227 | Consumer Protection Act |
1,228 | Consumer Protection Act, 1986 |
1,229 | Contempt of Courts Act |
1,230 | Contempt of Courts Act, 1971 |
1,231 | Contract Act, 1872 |
1,232 | Contract Labour (Regulation and Abolition) Act, 1970 |
1,233 | Contract Labour Act |
1,234 | Convention on the Rights of the Child |
1,235 | Copyright Act, 1957 |
1,236 | Criminal Law Amendment Ordinance, 1944 |
Indian Supreme Court Judgments Knowledge Graph
4,462 nodes. 8,363 edges. 589 Supreme Court of India judgments from 2016 — cases, the judges who decided them, the parties before them, the acts they cite down to the section, and the legal topics they turn on.
Built with Samyama Graph. Loader and ETL: samyama-ai/legal-judgments-graph-kg.
Attribution — required
This dataset is CC-BY-4.0, so attribution is a condition of use, not a courtesy:
Indian Supreme Court Judgments, curated by Dattam Labs, accessed from the AWS Open Data Registry. Licensed CC-BY-4.0.
That requirement travels with the data — anything you redistribute or build on must carry it.
| Data | CC-BY-4.0 — attribution required, redistribution permitted |
| Original source | AWS Open Data Registry, curated by Dattam Labs |
| Intermediate | Shreyasrao/Indian-law-supreme-court-judgements-2016 (rev e928c72019d6) |
| Loader code | Apache-2.0, in the GitHub repo. This does not govern the data. |
Licence checked at the source, not inferred: the AWS Open Data Registry entry states CC-BY-4.0 and explicitly permits redistribution and derivative works with attribution.
What this is
Every judgment the Supreme Court of India handed down in 2016 that the source corpus covers, as a property graph rather than a pile of documents.
The useful part is that the cited section lives on the edge, not on the case. So "how many judgments cite IPC §302?" is a single hop, and questions that span cases — which judges sit together, which statutes are cited side by side, which laws reach the widest range of subject matter — are traversals rather than joins.
Files
Nodes carry an id; edges reference those ids as src and tgt. Join on id.
nodes/
| File | Rows | Columns |
|---|---|---|
topic.csv |
2,291 | id, category, text |
party.csv |
1,102 | id, name |
case.csv |
589 | id, case_id, month, title, year |
act.csv |
446 | id, name |
judge.csv |
34 | id, name |
case_id is the source judgment filename (e.g. 2016-1-1-17-en.md). It is named case_id
rather than id because the internal node id already occupies that column.
edges/
| File | Rows | Connects | Properties |
|---|---|---|---|
about.csv |
3,041 | Case → Topic | — |
cites.csv |
2,749 | Case → Act | section |
party_in.csv |
1,309 | Party → Case | role (appellant / respondent) |
decided.csv |
1,264 | Judge → Case | — |
Also included
legal-judgments.sgsnap — the same graph as a Samyama snapshot, importable in one step.
Usage
from datasets import load_dataset
cases = load_dataset("VaidhyaMegha/legal-judgments-kg", "case", revision="v1.0")
print(cases["train"].num_rows) # 589
docker run --rm -p 8080:8080 -p 6379:6379 public.ecr.aws/f9f6l5u4/samyama-graph:1.1.0
curl -X POST localhost:8080/api/tenants -H 'Content-Type: application/json' \
-d '{"id":"legal","name":"Legal Judgments KG"}'
curl -X POST localhost:8080/api/tenants/legal/snapshot/import -F "file=@legal-judgments.sgsnap"
// Most-cited sections — the section is on the edge, so this is one hop
MATCH (c:Case)-[r:CITES]->(a:Act)
RETURN a.name AS act, r.section AS section, count(DISTINCT c) AS cases
ORDER BY cases DESC LIMIT 5
// Indian Penal Code §302 (murder) 57 · Constitution Article 32 36 ·
// IPC §34 35 · Article 14 31 · Article 136 24
// Which judges sit together — a question about the relationship between two
// nodes of the same type, which a flat table cannot express directly
MATCH (j1:Judge)-[:DECIDED]->(c:Case)<-[:DECIDED]-(j2:Judge)
WHERE j1.name < j2.name
RETURN j1.name, j2.name, count(DISTINCT c) AS together
ORDER BY together DESC LIMIT 5
// Kurian Joseph & Rohinton F. Nariman 55
// Laws spanning the widest range of subject matter — two hops
MATCH (a:Act)<-[:CITES]-(c:Case)-[:ABOUT]->(t:Topic)
RETURN a.name, count(DISTINCT t.category) AS breadth, count(DISTINCT c) AS cases
ORDER BY breadth DESC LIMIT 5
Provenance
1. Original source — Indian Supreme Court Judgments on the AWS Open Data Registry, curated by Dattam Labs, CC-BY-4.0.
2. Intermediate —
Shreyasrao/Indian-law-supreme-court-judgements-2016,
revision e928c72019d6: 589 structured judgment JSONs, same licence.
3. ETL — samyama-ai/legal-judgments-graph-kg, which flattens those into node/edge tables.
4. This dataset — exported from a Samyama snapshot taken 2026-07-22 (sgsnap v2,
engine v1.7.0) and flattened to CSV. Totals asserted against the snapshot header —
4,462 nodes, 8,363 edges — and re-verified after upload.
Versioning
| Version | Date | Contents |
|---|---|---|
v1.0 |
2026-08-17 | Initial release — 4,462 nodes, 8,363 edges from the 2026-07-22 snapshot |
Pin the tag, not main.
load_dataset("VaidhyaMegha/legal-judgments-kg", "case", revision="v1.0")
Data changes get a new tag; card corrections land on main.
Limitations
- One year only — 2016. This is not a corpus of Indian case law; it is one year of it. Citation counts are counts within these 589 judgments, not across the Court's history.
- 3 of 589 cases have no edges and an empty title —
2016-11-764-779-en.md,2016-11-780-804-en.md,2016-11-805-811-en.md. They appear to be source documents the extraction could not parse. Every other node in the graph is connected. - Act names are strings, not reconciled against any statute register. "Constitution of India" and a differently-spelled variant would be distinct nodes.
- Topics are extracted, not official. The 2,291 topics and their 11 categories come from the ETL's classification of judgment text — useful for navigation, not an authoritative taxonomy.
- Party names are as written in the judgment, including titles and suffixes, so the same litigant may appear under more than one node.
- No judgment text, no outcomes, no dates beyond year and month.
Not legal advice, and not a substitute for the official record. Use the Supreme Court's own reports for anything that matters.
Verification
Totals match the snapshot header exactly, and the graph reproduces every published figure from the source repository and its engine case study:
| Query | Published | This dataset |
|---|---|---|
| IPC §302 | 57 cases | 57 |
| Constitution Article 32 | 36 | 36 |
| IPC §34 | 35 | 35 |
| Article 14 | 31 | 31 |
| Article 136 | 24 | 24 |
| Dipak Misra | 104 cases | 104 |
| T. S. Thakur | 81 | 81 |
| Kurian Joseph & R. F. Nariman together | 55 | 55 |
Citation
CC-BY-4.0 requires attribution. Cite the original source and this build.
Original source — the format the AWS registry asks for:
Indian Supreme Court Judgments was accessed on DATE from
https://registry.opendata.aws/indian-supreme-court-judgments.
Curated by Dattam Labs. Licensed CC-BY-4.0.
This graph build:
Indian Supreme Court Judgments Knowledge Graph, v1.0 (4,462 nodes, 8,363 edges).
Built with Samyama Graph. https://huggingface.co/datasets/VaidhyaMegha/legal-judgments-kg
ETL: https://github.com/samyama-ai/legal-judgments-graph-kg
Source data: Indian Supreme Court Judgments, Dattam Labs, CC-BY-4.0,
https://registry.opendata.aws/indian-supreme-court-judgments/
@misc{legal_judgments_kg_samyama,
title = {Indian Supreme Court Judgments Knowledge Graph},
howpublished = {\url{https://huggingface.co/datasets/VaidhyaMegha/legal-judgments-kg}},
version = {v1.0},
note = {Derived from Indian Supreme Court Judgments, curated by Dattam Labs,
CC-BY-4.0,
\url{https://registry.opendata.aws/indian-supreme-court-judgments/}.
ETL: \url{https://github.com/samyama-ai/legal-judgments-graph-kg}},
year = {2026}
}
The three pieces
| Piece | Where |
|---|---|
| Code — ETL, schema, loaders | github.com/samyama-ai/legal-judgments-graph-kg |
| Data — this dataset, and the raw source it derives from | here, and registry.opendata.aws |
| Graph — importable snapshot | legal-judgments.sgsnap in this repository |
- Downloads last month
- 24