issai/transboundary-water-governance-corpus
Global Transboundary Water Governance Corpus A curated, openly available corpus of 252 official policy, legal, and institutional documents that govern internationally shared waters (rivers, lakes, and aquifers), released with full extracted text and harmonised structured metadata. Coverage: 123 river basins, lake systems, and hydrological regions; 141 sovereign states as parties; 14 languages; documents published 1909–2025. Content types: treaties, agreements, conventions… See the full description on the dataset page: https://huggingface.co/datasets/issai/transboundary-water-governance-corpus.
Global Transboundary Water Governance Corpus
A curated, openly available corpus of 252 official policy, legal, and institutional documents that govern internationally shared waters (rivers, lakes, and aquifers), released with full extracted text and harmonised structured metadata.
- Coverage: 123 river basins, lake systems, and hydrological regions; 141 sovereign states as parties; 14 languages; documents published 1909–2025.
- Content types: treaties, agreements, conventions, protocols, national laws, strategies, action plans, and framework documents issued by governments, intergovernmental organisations, basin authorities, and United Nations agencies.
- Size: ~59 million characters of clean UTF-8 text. 233 records hold the full document body; 19 are landing- or press-page text only (flagged via
source.status).
This deposit accompanies a Data in Brief data article that describes it in full.
Repository structure
corpus/ 252 UTF-8 text files, one per document, named <NN>-slug.txt
documents.json 252 metadata records (one JSON object per document)
corpus_summary.csv flat one-row-per-document table of the core metadata
fetch_corpus.py retrieval + text-extraction script that builds the corpus
README.md this file (dataset card + data dictionary)The <NN> prefix is a permanent document number, stable across releases and referenced by source.text_path in the metadata.
Metadata schema (documents.json)
Each record has descriptive fields plus a source provenance block.
How the corpus was built
Documents were assembled by an AI-assisted retrieval protocol (query diversification and deduplication) over official and open-access legal, treaty, government, and basin-commission sources, followed by text extraction (pypdf for PDF, Beautiful Soup for HTML, OCR for scanned PDFs, and the Internet Archive Wayback Machine for relocated or blocked links). Every candidate was verified by human reviewers, and every text snapshot is frozen with a SHA-256 hash for reproducibility. Full details are in the accompanying data article.
Licence and reuse
- The harmonised metadata and the compilation in this repository are released under the Creative Commons Attribution 4.0 (CC BY 4.0) licence.
- The source document texts in
corpus/are reproduced as public official material. Official texts of a legislative, administrative, or legal nature are generally exempt from copyright (Berne Convention, Art. 2(4), and equivalent national provisions). Each record carries the source URL and issuing body so the original document can be attributed and verified. Copyright in any source text remains with its issuing authority.
Citation
Please cite the accompanying Data in Brief data article (details to be added on publication) when using this corpus.
