case_id string | name string | year_start int64 | year_end int64 | icj_documents dict |
|---|---|---|---|---|
001 | Corfu Channel (United Kingdom of Great Britain and Northern Ireland v. Albania) | 1,947 | 1,949 | {
"decision": 10,
"pleadings": 10,
"oral": 4,
"other": 3
} |
003 | Conditions of Admission of a State to Membership in the United Nations (Article 4 of the Charter) | 1,947 | 1,948 | {
"decision": 2,
"pleadings": 2,
"oral": 1,
"other": 1
} |
004 | Reparation for Injuries Suffered in the Service of the United Nations | 1,948 | 1,949 | {
"decision": 2,
"pleadings": 2,
"oral": 1,
"other": 1
} |
005 | Fisheries (United Kingdom v. Norway) | 1,949 | 1,951 | {
"decision": 5,
"pleadings": 6,
"oral": 1,
"other": 2
} |
006 | Protection of French Nationals and Protected Persons in Egypt (France v. Egypt) | 1,949 | 1,950 | {
"decision": 1,
"pleadings": 1,
"oral": 0,
"other": 1
} |
007 | Asylum (Colombia/Peru) | 1,949 | 1,950 | {
"decision": 4,
"pleadings": 6,
"oral": 1,
"other": 2
} |
008 | Interpretation of Peace Treaties with Bulgaria, Hungary and Romania | 1,949 | 1,950 | {
"decision": 4,
"pleadings": 3,
"oral": 2,
"other": 1
} |
009 | Competence of the General Assembly for the Admission of a State to the United Nations | 1,949 | 1,950 | {
"decision": 2,
"pleadings": 2,
"oral": 1,
"other": 1
} |
010 | International Status of South West Africa | 1,949 | 1,950 | {
"decision": 2,
"pleadings": 2,
"oral": 1,
"other": 1
} |
011 | Rights of Nationals of the United States of America in Morocco (France v. United States of America) | 1,950 | 1,952 | {
"decision": 5,
"pleadings": 7,
"oral": 1,
"other": 2
} |
012 | Reservations to the Convention on the Prevention and Punishment of the Crime of Genocide | 1,950 | 1,951 | {
"decision": 2,
"pleadings": 2,
"oral": 1,
"other": 2
} |
013 | Request for Interpretation of the Judgment of 20 November 1950 in the Asylum Case (Colombia v. Peru) | 1,950 | 1,950 | {
"decision": 1,
"pleadings": 1,
"oral": 0,
"other": 0
} |
014 | Haya de la Torre (Colombia v. Peru) | 1,950 | 1,951 | {
"decision": 2,
"pleadings": 6,
"oral": 2,
"other": 1
} |
015 | Ambatielos (Greece v. United Kingdom) | 1,951 | 1,953 | {
"decision": 8,
"pleadings": 7,
"oral": 2,
"other": 4
} |
016 | Anglo-Iranian Oil Co. (United Kingdom v. Iran) | 1,951 | 1,952 | {
"decision": 6,
"pleadings": 5,
"oral": 2,
"other": 2
} |
017 | Minquiers and Ecrehos (France/United Kingdom) | 1,951 | 1,953 | {
"decision": 5,
"pleadings": 5,
"oral": 1,
"other": 2
} |
018 | Nottebohm (Liechtenstein v. Guatemala) | 1,951 | 1,955 | {
"decision": 8,
"pleadings": 7,
"oral": 2,
"other": 2
} |
019 | Monetary Gold Removed from Rome in 1943 (Italy v. France, United Kingdom of Great Britain and Northern Ireland and United States of America) | 1,953 | 1,954 | {
"decision": 4,
"pleadings": 6,
"oral": 1,
"other": 1
} |
020 | Electricité de Beyrouth Company (France v. Lebanon) | 1,953 | 1,954 | {
"decision": 3,
"pleadings": 2,
"oral": 0,
"other": 1
} |
021 | Effect of Awards of Compensation Made by the United Nations Administrative Tribunal | 1,953 | 1,954 | {
"decision": 2,
"pleadings": 2,
"oral": 1,
"other": 1
} |
022 | Treatment in Hungary of Aircraft and Crew of United States of America (United States of America v. Hungarian Peoples Republic) | 1,954 | 1,954 | {
"decision": 1,
"pleadings": 1,
"oral": 0,
"other": 1
} |
023 | Treatment in Hungary of Aircraft and Crew of United States of America (United States of America v. Union of Soviet Socialist Republics) | 1,954 | 1,954 | {
"decision": 1,
"pleadings": 1,
"oral": 0,
"other": 1
} |
024 | Voting Procedure on Questions relating to Reports and Petitions concerning the Territory of South West Africa | 1,954 | 1,955 | {
"decision": 2,
"pleadings": 2,
"oral": 1,
"other": 1
} |
025 | Aerial Incident of 10 March 1953 (United States of America v. Czechoslovakia) | 1,955 | 1,956 | {
"decision": 1,
"pleadings": 1,
"oral": 0,
"other": 1
} |
026 | Antarctica (United Kingdom v. Argentina) | 1,955 | 1,956 | {
"decision": 1,
"pleadings": 1,
"oral": 0,
"other": 1
} |
027 | Antarctica (United Kingdom v. Chile) | 1,955 | 1,956 | {
"decision": 1,
"pleadings": 1,
"oral": 0,
"other": 1
} |
028 | Aerial Incident of 7 October 1952 (United States of America v. Union of Soviet Socialist Republics) | 1,955 | 1,956 | {
"decision": 1,
"pleadings": 1,
"oral": 0,
"other": 1
} |
029 | Certain Norwegian Loans (France v. Norway) | 1,955 | 1,957 | {
"decision": 5,
"pleadings": 7,
"oral": 1,
"other": 2
} |
030 | Judgments of the Administrative Tribunal of the ILO upon Complaints Made against UNESCO | 1,955 | 1,956 | {
"decision": 2,
"pleadings": 2,
"oral": 1,
"other": 1
} |
031 | Admissibility of Hearings of Petitioners by the Committee on South West Africa | 1,955 | 1,956 | {
"decision": 2,
"pleadings": 2,
"oral": 1,
"other": 1
} |
032 | Right of Passage over Indian Territory (Portugal v. India) | 1,955 | 1,960 | {
"decision": 10,
"pleadings": 7,
"oral": 2,
"other": 1
} |
033 | Application of the Convention of 1902 Governing the Guardianship of Infants (Netherlands v. Sweden) | 1,957 | 1,958 | {
"decision": 3,
"pleadings": 5,
"oral": 1,
"other": 1
} |
034 | Interhandel (Switzerland v. United States of America) | 1,957 | 1,959 | {
"decision": 5,
"pleadings": 6,
"oral": 2,
"other": 1
} |
035 | Aerial Incident of 27 July 1955 (Israel v. Bulgaria) | 1,957 | 1,959 | {
"decision": 4,
"pleadings": 4,
"oral": 1,
"other": 1
} |
036 | Aerial Incident of 27 July 1955 (United States of America v. Bulgaria) | 1,957 | 1,960 | {
"decision": 8,
"pleadings": 4,
"oral": 0,
"other": 1
} |
037 | Aerial Incident of 27 July 1955 (United Kingdom v. Bulgaria) | 1,957 | 1,959 | {
"decision": 5,
"pleadings": 2,
"oral": 0,
"other": 1
} |
038 | Sovereignty over Certain Frontier Land (Belgium/Netherlands) | 1,957 | 1,959 | {
"decision": 4,
"pleadings": 5,
"oral": 1,
"other": 2
} |
039 | Arbitral Award Made by the King of Spain on 23 December 1906 (Honduras v. Nicaragua) | 1,958 | 1,960 | {
"decision": 3,
"pleadings": 5,
"oral": 1,
"other": 2
} |
040 | Aerial Incident of 4 September 1954 (United States of America v. Union of Soviet Socialist Republics) | 1,958 | 1,958 | {
"decision": 1,
"pleadings": 1,
"oral": 0,
"other": 1
} |
041 | Barcelona Traction, Light and Power Company, Limited (Belgium v. Spain) | 1,958 | 1,961 | {
"decision": 5,
"pleadings": 3,
"oral": 0,
"other": 1
} |
042 | Compagnie du Port, des Quais et des Entrepôts de Beyrouth and Société Radio-Orient (France v. Lebanon) | 1,959 | 1,960 | {
"decision": 4,
"pleadings": 4,
"oral": 1,
"other": 1
} |
043 | Constitution of the Maritime Safety Committee of the Inter-Governmental Maritime Consultative Organization | 1,959 | 1,960 | {
"decision": 2,
"pleadings": 2,
"oral": 1,
"other": 2
} |
044 | Aerial Incident of 7 November 1954 (United States of America v. Union of Soviet Socialist Republics) | 1,959 | 1,959 | {
"decision": 1,
"pleadings": 1,
"oral": 0,
"other": 1
} |
045 | Temple of Preah Vihear (Cambodia v. Thailand) | 1,959 | 1,962 | {
"decision": 5,
"pleadings": 7,
"oral": 2,
"other": 2
} |
046 | South West Africa (Ethiopia v. South Africa) | 1,960 | 1,966 | {
"decision": 11,
"pleadings": 7,
"oral": 6,
"other": 2
} |
047 | South West Africa (Liberia v. South Africa) | 1,960 | 1,966 | {
"decision": 11,
"pleadings": 7,
"oral": 6,
"other": 2
} |
048 | Northern Cameroons (Cameroon v. United Kingdom) | 1,961 | 1,963 | {
"decision": 8,
"pleadings": 5,
"oral": 1,
"other": 2
} |
049 | Certain Expenses of the United Nations (Article 17, paragraph 2, of the Charter) | 1,961 | 1,962 | {
"decision": 2,
"pleadings": 2,
"oral": 1,
"other": 1
} |
050 | Barcelona Traction, Light and Power Company, Limited (Belgium v. Spain) (New Application: 1962) | 1,962 | 1,970 | {
"decision": 11,
"pleadings": 8,
"oral": 5,
"other": 3
} |
051 | North Sea Continental Shelf (Federal Republic of Germany/Denmark) | 1,967 | 1,969 | {
"decision": 4,
"pleadings": 5,
"oral": 1,
"other": 3
} |
052 | North Sea Continental Shelf (Federal Republic of Germany/Netherlands) | 1,967 | 1,969 | {
"decision": 4,
"pleadings": 5,
"oral": 1,
"other": 3
} |
053 | Legal Consequences for States of the Continued Presence of South Africa in Namibia (South West Africa) notwithstanding Security Council Resolution 276 (1970) | 1,970 | 1,971 | {
"decision": 7,
"pleadings": 5,
"oral": 1,
"other": 1
} |
054 | Appeal Relating to the Jurisdiction of the ICAO Council (India v. Pakistan) | 1,971 | 1,972 | {
"decision": 5,
"pleadings": 5,
"oral": 1,
"other": 2
} |
055 | Fisheries Jurisdiction (United Kingdom v. Iceland) | 1,972 | 1,974 | {
"decision": 6,
"pleadings": 4,
"oral": 3,
"other": 4
} |
056 | Fisheries Jurisdiction (Federal Republic of Germany v. Iceland) | 1,972 | 1,974 | {
"decision": 6,
"pleadings": 4,
"oral": 3,
"other": 1
} |
057 | Application for Review of Judgment No. 158 of the United Nations Administrative Tribunal | 1,972 | 1,973 | {
"decision": 2,
"pleadings": 3,
"oral": 1,
"other": 1
} |
058 | Nuclear Tests (Australia v. France) | 1,973 | 1,974 | {
"decision": 5,
"pleadings": 4,
"oral": 2,
"other": 3
} |
059 | Nuclear Tests (New Zealand v. France) | 1,973 | 1,974 | {
"decision": 5,
"pleadings": 4,
"oral": 2,
"other": 3
} |
060 | Trial of Pakistani Prisoners of War (Pakistan v. India) | 1,973 | 1,973 | {
"decision": 3,
"pleadings": 2,
"oral": 1,
"other": 1
} |
061 | Western Sahara | 1,974 | 1,975 | {
"decision": 3,
"pleadings": 4,
"oral": 2,
"other": 1
} |
062 | Aegean Sea Continental Shelf (Greece v. Turkey) | 1,976 | 1,978 | {
"decision": 4,
"pleadings": 4,
"oral": 2,
"other": 4
} |
063 | Continental Shelf (Tunisia/Libyan Arab Jamahiriya) | 1,978 | 1,982 | {
"decision": 5,
"pleadings": 11,
"oral": 3,
"other": 6
} |
064 | United States Diplomatic and Consular Staff in Tehran (United States of America v. Iran) | 1,979 | 1,981 | {
"decision": 4,
"pleadings": 3,
"oral": 2,
"other": 3
} |
065 | Interpretation of the Agreement of 25 March 1951 between the WHO and Egypt | 1,980 | 1,980 | {
"decision": 2,
"pleadings": 2,
"oral": 1,
"other": 2
} |
066 | Application for Review of Judgment No. 273 of the United Nations Administrative Tribunal | 1,981 | 1,982 | {
"decision": 3,
"pleadings": 2,
"oral": 1,
"other": 1
} |
067 | Delimitation of the Maritime Boundary in the Gulf of Maine Area (Canada/United States of America) | 1,981 | 1,984 | {
"decision": 7,
"pleadings": 8,
"oral": 2,
"other": 3
} |
068 | Continental Shelf (Libyan Arab Jamahiriya/Malta) | 1,982 | 1,985 | {
"decision": 5,
"pleadings": 10,
"oral": 3,
"other": 4
} |
069 | Frontier Dispute (Burkina Faso/Republic of Mali) | 1,983 | 1,986 | {
"decision": 6,
"pleadings": 7,
"oral": 2,
"other": 1
} |
070 | Military and Paramilitary Activities in and against Nicaragua (Nicaragua v. United States of America) | 1,984 | 1,991 | {
"decision": 8,
"pleadings": 8,
"oral": 3,
"other": 4
} |
071 | Application for Revision and Interpretation of the Judgment of 24 February 1982 in the Case concerning the Continental Shelf (Tunisia/Libyan Arab Jamahiriya) (Tunisia v. Libyan Arab Jamahiriya) | 1,984 | 1,985 | {
"decision": 1,
"pleadings": 2,
"oral": 1,
"other": 3
} |
072 | Application for Review of Judgment No. 333 of the United Nations Administrative Tribunal | 1,984 | 1,987 | {
"decision": 3,
"pleadings": 3,
"oral": 1,
"other": 1
} |
073 | Border and Transborder Armed Actions (Nicaragua v. Costa Rica) | 1,986 | 1,987 | {
"decision": 3,
"pleadings": 2,
"oral": 0,
"other": 1
} |
074 | Border and Transborder Armed Actions (Nicaragua v. Honduras) | 1,986 | 1,992 | {
"decision": 7,
"pleadings": 4,
"oral": 1,
"other": 5
} |
075 | Land, Island and Maritime Frontier Dispute (El Salvador/Honduras: Nicaragua intervening) | 1,986 | 1,992 | {
"decision": 10,
"pleadings": 13,
"oral": 57,
"other": 2
} |
076 | Elettronica Sicula S.p.A. (ELSI) (United States of America v. Italy) | 1,987 | 1,989 | {
"decision": 4,
"pleadings": 5,
"oral": 1,
"other": 8
} |
077 | Applicability of the Obligation to Arbitrate under Section 21 of the United Nations Headquarters Agreement of 26 June 1947 | 1,988 | 1,988 | {
"decision": 2,
"pleadings": 2,
"oral": 1,
"other": 1
} |
078 | Maritime Delimitation in the Area between Greenland and Jan Mayen (Denmark v. Norway) | 1,988 | 1,993 | {
"decision": 3,
"pleadings": 5,
"oral": 11,
"other": 3
} |
079 | Aerial Incident of 3 July 1988 (Islamic Republic of Iran v. United States of America) | 1,989 | 1,996 | {
"decision": 6,
"pleadings": 4,
"oral": 0,
"other": 3
} |
080 | Certain Phosphate Lands in Nauru (Nauru v. Australia) | 1,989 | 1,993 | {
"decision": 6,
"pleadings": 5,
"oral": 9,
"other": 3
} |
081 | Applicability of Article VI, Section 22, of the Convention on the Privileges and Immunities of the United Nations | 1,989 | 1,989 | {
"decision": 2,
"pleadings": 2,
"oral": 1,
"other": 1
} |
082 | Arbitral Award of 31 July 1989 (Guinea-Bissau v. Senegal) | 1,989 | 1,991 | {
"decision": 3,
"pleadings": 6,
"oral": 8,
"other": 4
} |
083 | Territorial Dispute (Libyan Arab Jamahiriya/Chad) | 1,990 | 1,994 | {
"decision": 4,
"pleadings": 7,
"oral": 19,
"other": 3
} |
084 | East Timor (Portugal v. Australia) | 1,991 | 1,995 | {
"decision": 4,
"pleadings": 5,
"oral": 14,
"other": 0
} |
085 | Maritime Delimitation between Guinea-Bissau and Senegal (Guinea-Bissau v. Senegal) | 1,991 | 1,995 | {
"decision": 1,
"pleadings": 1,
"oral": 0,
"other": 2
} |
086 | Passage through the Great Belt (Finland v. Denmark) | 1,991 | 1,992 | {
"decision": 3,
"pleadings": 5,
"oral": 6,
"other": 1
} |
087 | Maritime Delimitation and Territorial Questions between Qatar and Bahrain (Qatar v. Bahrain) | 1,991 | 2,001 | {
"decision": 10,
"pleadings": 13,
"oral": 26,
"other": 12
} |
088 | Questions of Interpretation and Application of the 1971 Montreal Convention arising from the Aerial Incident at Lockerbie (Libyan Arab Jamahiriya v. United Kingdom) | 1,992 | 2,003 | {
"decision": 9,
"pleadings": 8,
"oral": 10,
"other": 3
} |
089 | Questions of Interpretation and Application of the 1971 Montreal Convention arising from the Aerial Incident at Lockerbie (Libyan Arab Jamahiriya v. United States of America) | 1,992 | 2,003 | {
"decision": 9,
"pleadings": 8,
"oral": 10,
"other": 4
} |
090 | Oil Platforms (Islamic Republic of Iran v. United States of America) | 1,992 | 2,003 | {
"decision": 11,
"pleadings": 10,
"oral": 21,
"other": 10
} |
091 | Application of the Convention on the Prevention and Punishment of the Crime of Genocide (Bosnia and Herzegovina v. Serbia and Montenegro) | 1,993 | 2,007 | {
"decision": 13,
"pleadings": 36,
"oral": 56,
"other": 10
} |
092 | Gabčíkovo-Nagymaros Project (Hungary/Slovakia) | 1,993 | null | {
"decision": 4,
"pleadings": 7,
"oral": 14,
"other": 2
} |
093 | Legality of the Use by a State of Nuclear Weapons in Armed Conflict | 1,993 | 1,996 | {
"decision": 3,
"pleadings": 44,
"oral": 13,
"other": 2
} |
094 | Land and Maritime Boundary between Cameroon and Nigeria (Cameroon v. Nigeria: Equatorial Guinea intervening) | 1,994 | 2,002 | {
"decision": 10,
"pleadings": 22,
"oral": 35,
"other": 11
} |
095 | Legality of the Threat or Use of Nuclear Weapons | 1,995 | 1,996 | {
"decision": 2,
"pleadings": 32,
"oral": 13,
"other": 0
} |
096 | Fisheries Jurisdiction (Spain v. Canada) | 1,995 | 1,998 | {
"decision": 3,
"pleadings": 3,
"oral": 6,
"other": 1
} |
097 | Request for an Examination of the Situation in Accordance with Paragraph 63 of the Courts Judgment of 20 December 1974 in the Nuclear Tests (New Zealand v. France) Case | 1,995 | 1,995 | {
"decision": 1,
"pleadings": 10,
"oral": 3,
"other": 2
} |
098 | Kasikili/Sedudu Island (Botswana/Namibia) | 1,996 | 1,999 | {
"decision": 3,
"pleadings": 7,
"oral": 12,
"other": 4
} |
099 | Vienna Convention on Consular Relations (Paraguay v. United States of America) | 1,998 | 1,998 | {
"decision": 4,
"pleadings": 5,
"oral": 3,
"other": 2
} |
100 | Difference Relating to Immunity from Legal Process of a Special Rapporteur of the Commission on Human Rights | 1,998 | 1,999 | {
"decision": 2,
"pleadings": 15,
"oral": 3,
"other": 4
} |
101 | Request for Interpretation of the Judgment of 11 June 1998 in the Case concerning the Land and Maritime Boundary between Cameroon and Nigeria (Cameroon v. Nigeria), Preliminary Objections (Nigeria v. Cameroon) | 1,998 | 1,999 | {
"decision": 1,
"pleadings": 2,
"oral": 1,
"other": 0
} |
ICJ Citation Graph
One graph holding every public decision of the International Court of Justice: 2,407 documents across 199 of the Court's 200 cases, from Corfu Channel (1947) to the decisions of 2026. Every document is parsed into structured text, split into 121,438 passages with precomputed embeddings, and linked to the case it belongs to, the earlier cases it cites, the treaty provisions it invokes, and the judges who sat on it.
Ships in two forms, use either:
| Form | Files | Needs |
|---|---|---|
| Ready-made graph | neo4j.dump (1.7 GB) |
Neo4j 5.26 |
| Portable files | dataset/ (cases + provisions + documents + chunks JSONL + npy, 818 MB) |
any language, numpy for vectors |
Embeddings are included in both forms (natively on graph nodes in the dump, as embeddings.npy in the portable set), so nothing needs to be re-embedded.
Quick start
from datasets import load_dataset
# two configs -- documents and chunks have different schemas
docs = load_dataset("Chulinz/icj-citation-graph", "documents", split="train")
chunks = load_dataset("Chulinz/icj-citation-graph", "chunks", split="train")
Join them on chunks.document_id == documents.id (verified 1:N, no orphans on either side):
import pandas as pd
docs = pd.read_json("dataset/documents.jsonl", lines=True)
chunks = pd.read_json("dataset/chunks.jsonl", lines=True)
chunks["row"] = range(len(chunks)) # row i of embeddings.npy
merged = chunks.merge(docs, left_on="document_id", right_on="id", suffixes=("_chunk", "_doc"))
A runnable end-to-end walkthrough (load, inspect, join, reconstruct a document, semantic search) is in notebooks/dataset_demo.ipynb.
Or grab files directly:
hf download Chulinz/icj-citation-graph dataset/embeddings.npy --repo-type dataset --local-dir .
Portable files (dataset/)
cases.jsonl (199 rows)
The case-level lookup that documents.jsonl only references by case_id. Join documents.case_id -> cases.case_id to resolve a document's case name and span:
{"case_id": "070", "name": "Military and Paramilitary Activities in and against Nicaragua (Nicaragua v. United States of America)", "year_start": 1984, "year_end": 1991, "icj_documents": {"decision": 8, "pleadings": 8, "oral": 3, "other": 4}}
name is present on all 199 and year_start on all 199 (for pending cases, whose start the ICJ list page leaves blank, it is the first Court-act year scraped from the case page). A null year_end means the case is still pending -- the 22 rows with no year_end are exactly the 22 cases on the ICJ's official pending list (its 20 "Pending cases" plus the 2 under "Currently being heard or under deliberation"), so no separate status flag is needed.
icj_documents is a coverage snapshot of how many documents of each kind ICJ publishes for the case on its website (decision = judgments + orders + advisory opinions, pleadings = written proceedings, oral = verbatim records, other), scraped 2026-07-14 (see manifest.icj_documents_snapshot). It describes what exists upstream, not what is in this dataset: this dataset holds the decision documents (expanded into per-opinion rows), so the pleadings and oral counts show what a future harvest could still add. Corpus-wide that is ~1,850 pleadings and ~1,190 oral records not included here.
provisions.jsonl (357 rows)
The provision lookup that documents.jsonl only references by key in cited_provisions. Join cited_provisions -> provisions.key:
{"key": "statute:article_36", "title": "Article 36", "level": "article", "instrument": "statute", "text": "1. The jurisdiction of the Court comprises all cases which the parties refer to it ..."}
text is the full article body, present on 346 of 357. Empty on chapter containers and on a few citation-target keys that point at articles outside the four parsed instruments (e.g. statute:article_92, which is really a UN Charter article). The four instruments are the UN Charter, the ICJ Statute, the Rules of Court, and the Practice Directions.
documents.jsonl (2,407 rows)
One row per court document, citations folded in. A real row:
{
"id": "ICJ_011_USNationalsMorocco_FRA_USA_1952-08-27_JUD_01_ME_00_EN",
"case_id": "011",
"title": "CASE CONCERNING RIGHTS OF NATIONALS OF THE UNITED STATES OF AMERICA IN MOROCCO (FRANCE v. UNITED STATES OF AMERICA)",
"document_type": "judgment",
"lang": "EN",
"issued_date": "1952-08-27",
"applicant": "FRANCE",
"respondent": "UNITED STATES OF AMERICA",
"stage": "merits",
"filename": "ICJ_011_USNationalsMorocco_FRA_USA_1952-08-27_JUD_01_ME_00_EN.pdf",
"source_url": "file:///app/.ocr_cache/pdf/ICJ_011_...pdf",
"cited_cases": ["007", "008"],
"cited_provisions": ["statute:article_38", "statute:article_40"]
}
Only id, case_id, title, document_type, lang, filename, cited_cases, cited_provisions are on every row. The rest appear when the document states them: issued_date on 1,429 rows, applicant/respondent on 574/572 (as raw header strings, often ALLCAPS -- the normalized country identities live in the graph's Country nodes, not here), stage on 635 (merits 344, preliminary_objections 266, compensation 2, plus a parsing artifact in on 23 rows).
document_type values: order (652), separate_opinion (507), dissenting_opinion (400), declaration (301), judgment (280), advisory_opinion (190), unknown (51), application (20), individual_opinion (6).
chunks.jsonl (121,438 rows)
One row per searchable passage:
{"id": "166-20240131-jud-01-00-en:0", "document_id": "166-20240131-jud-01-00-en", "seq": 0, "para": null, "zone": "title", "text": "..."}
embeddings.npy
float32 matrix of shape (121438, 1536), L2-normalized (cosine similarity = dot product). Row i corresponds to line i of chunks.jsonl. Model: gemini-embedding-001 with output_dimensionality 1536 (truncated from 3072 and re-normalized, per Google's guidance) -- embed queries the same way or similarities will be meaningless.
import json, numpy as np
emb = np.load("dataset/embeddings.npy", mmap_mode="r")
chunks = [json.loads(l) for l in open("dataset/chunks.jsonl")]
scores = emb @ query_vector # query embedded with gemini-embedding-001 at 1536 dims, unit-normalized
manifest.json records the counts and the alignment contract.
Ready-made graph (neo4j.dump)
Full property graph with the same content plus the relationship structure. Vector indexes are part of the dump, so semantic search works immediately after restore, no re-indexing.
Host it with Docker
From the directory containing neo4j.dump:
# 1. load the dump into a fresh volume (~10 s)
docker run --rm -v icj_data:/data -v "$PWD":/backups:ro neo4j:5.26 \
neo4j-admin database load neo4j --from-path=/backups --overwrite-destination=true
# 2. start the server on that volume
docker run -d --name icj-neo4j -p 7474:7474 -p 7687:7687 \
-e NEO4J_AUTH=neo4j/choose-a-password \
-e NEO4J_server_memory_pagecache_size=2G \
-v icj_data:/data neo4j:5.26
# 3. verify (browser at http://localhost:7474, or:)
docker exec icj-neo4j cypher-shell -u neo4j -p choose-a-password \
"MATCH (c:Case) RETURN count(c);" # 199
Semantic search straight from cypher (index chunk_embedding, 1536-dim; embed the query with gemini-embedding-001 at 1536 dims, unit-normalized):
CALL db.index.vector.queryNodes('chunk_embedding', 10, $queryVector)
YIELD node, score
RETURN node.id, node.text, score
On an existing (non-Docker) Neo4j 5.26 install, stop the database and run the same neo4j-admin database load command.
Schema (node counts):
| Node | Count | Key relationships |
|---|---|---|
| Case | 199 | Document -IN_CASE-> Case |
| Document | 2,407 | Document -CITES_CASE-> Case (6,070 edges) |
| Chunk | 121,438 | Chunk -PART_OF-> Document; embedding property, vector-indexed |
| Provision | 357 | Document -CITES-> Provision (7,939 edges); Provision -PART_OF-> Instrument |
| Instrument | 4 | UN Charter, ICJ Statute, Rules of Court, Practice Directions |
| Judge | 220 | Document -SAT_ON-> Judge |
| Country | 112 | Document -APPLICANT / -RESPONDENT-> Country |
Citation links were extracted from the text of each decision and resolved to the correct case by name and year, so same-named cases from different eras never cross-link.
What the citation network shows
The ten most-cited cases in ICJ history, over the 6,070 case-to-case citation edges (1,301 documents cite at least one earlier case; 1,796 invoke at least one provision):
| Case | Name | Times cited |
|---|---|---|
| 070 | Military and Paramilitary Activities (Nicaragua v. USA) | 292 |
| 091 | Application of the Genocide Convention (Bosnia v. Serbia) | 206 |
| 001 | Corfu Channel (UK v. Albania) | 162 |
| 008 | Interpretation of Peace Treaties | 149 |
| 064 | US Diplomatic and Consular Staff in Tehran | 138 |
| 104 | LaGrand (Germany v. USA) | 128 |
| 048 | Northern Cameroons | 127 |
| 016 | Anglo-Iranian Oil Co. | 115 |
| 050 | Barcelona Traction | 111 |
| 095 | Legality of the Threat or Use of Nuclear Weapons | 110 |
Most-invoked provisions (of 7,939 document-to-provision citations): Statute art. 48 case management (643), art. 36 jurisdiction (471), art. 41 provisional measures (346), art. 40 institution of proceedings (259), Rules art. 79 preliminary objections (257).
What one case carries, using the most-cited one (Nicaragua v. USA, case 070) as the example: 32 documents of its own (judgments, orders, opinions, the application), 3,205 embedded passages, 22 judges linked across its phases, cites 21 earlier cases, and is cited by 292 later documents spread across 80 cases. Every case in the graph carries this same picture, queryable from either direction.
A fuller writeup with charts (documents by type, by decade) is in docs/eda.pdf.
Provenance and license
- Historical corpus (1947 - Oct 2023): the CD-ICJ corpus by Sean Fobbe (Zenodo, DOI 10.5281/zenodo.3826444), released under CC0 1.0. 2,285 documents.
- Recent decisions (Oct 2023 - 2026): scraped directly from icj-cij.org. 122 documents. ICJ decisions are public documents.
- The one absent case (case 2, from 1947) is unavailable at the source; its page on the ICJ website has returned a server error for years.
This dataset is released under CC0 1.0.
Known limitations
- 51 documents have
document_type: "unknown"(old scans whose cover page was too degraded to classify); their text is fully searchable. - Graph Country nodes are deduplicated and co-party lists split into individual states; four multi-word single entities (e.g. "Bosnia and Herzegovina") legitimately contain "and". The
applicant/respondentstrings insidedocuments.jsonlare the raw, un-normalized header text. - 52 Judge nodes contain a comma: some are one judge plus a role suffix ("AGO, President of the Chamber"), some are several judges of a jointly-signed opinion parsed as one name. They do not affect the citation network.
source_urlis an internal provenance path (the corpus cache or scraper inbox), not a public link; thefilename/idfollows the CD-ICJ naming convention (case, parties, date, type, opinion number, language).issued_dateis present on 1,429 documents; appended opinions usually do not print one.
How it was built
Each PDF is rendered page by page and read by an OCR model; a second pass classifies every line's role (title, paragraph, operative ruling, bench, signatures), yielding structured documents; a third pass extracts every citation of an earlier case and resolves it to a case id. Documents, passages, embeddings, and citation edges are written to Neo4j in one idempotent step.
- Downloads last month
- 68