The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationCastError
Exception: DatasetGenerationCastError
Message: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 4 new columns ({'type', 'text', 'level', 'items'}) and 9 missing columns ({'title', 'agenda_items', 'languages', 'symbol', 'subjects', 'publication_date', 'distribution', 'session_year', 'area'}).
This happened while the json dataset builder was generating data using
hf://datasets/CharizardAcademy/UN-RES/sample/education/parsed_data/A-RES-70-1/A-RES-70-1-de-parsed.json (at revision 6ee26ed8e97af32b586c584d7d221313734d731a)
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback: Traceback (most recent call last):
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1871, in _prepare_split_single
writer.write_table(table)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 643, in write_table
pa_table = table_cast(pa_table, self._schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2293, in table_cast
return cast_table_to_schema(table, schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2241, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
type: string
text: string
level: int64
items: list<item: string>
child 0, item: string
-- schema metadata --
pandas: '{"index_columns": [], "column_indexes": [], "columns": [{"name":' + 541
to
{'symbol': Value(dtype='string', id=None), 'title': Value(dtype='string', id=None), 'session_year': Value(dtype='string', id=None), 'agenda_items': Value(dtype='string', id=None), 'distribution': Value(dtype='string', id=None), 'area': Value(dtype='string', id=None), 'subjects': Value(dtype='string', id=None), 'publication_date': Value(dtype='string', id=None), 'languages': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None)}
because column names don't match
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1436, in compute_config_parquet_and_info_response
parquet_operations = convert_to_parquet(builder)
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1053, in convert_to_parquet
builder.download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 925, in download_and_prepare
self._download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1001, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1742, in _prepare_split
for job_id, done, content in self._prepare_split_single(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1873, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 4 new columns ({'type', 'text', 'level', 'items'}) and 9 missing columns ({'title', 'agenda_items', 'languages', 'symbol', 'subjects', 'publication_date', 'distribution', 'session_year', 'area'}).
This happened while the json dataset builder was generating data using
hf://datasets/CharizardAcademy/UN-RES/sample/education/parsed_data/A-RES-70-1/A-RES-70-1-de-parsed.json (at revision 6ee26ed8e97af32b586c584d7d221313734d731a)
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
symbol
string | title
string | session_year
string | agenda_items
string | distribution
string | area
string | subjects
string | publication_date
string | languages
sequence |
|---|---|---|---|---|---|---|---|---|
A/RES/70/1
|
Transforming our world : the 2030 Agenda for Sustainable Development : resolution / adopted by the General Assembly
|
70
|
15 116
|
GEN
|
UNDOC
|
SUSTAINABLE DEVELOPMENT, DEVELOPMENT STRATEGIES, PEACE, PARTNERSHIP, POVERTY MITIGATION, HUNGER, FOOD SECURITY, HEALTH, EDUCATION, GENDER EQUALITY, WATER MANAGEMENT, SUSTAINABLE ENERGY, EMPLOYMENT, INDUSTRIALIZATION, INCOME DISTRIBUTION, HUMAN SETTLEMENTS, SUSTAINABLE CONSUMPTION, CLIMATE CHANGE, MARINE RESOURCES, TERRESTRIAL ECOSYSTEMS, JUSTICE
|
21/10/2015
|
[
"ar",
"zh",
"en",
"fr",
"ru",
"es",
"de"
] |
A/RES/70/15
|
PEACEFUL SETTLEMENT OF THE QUESTION OF PALESTINE
|
GEN
|
UNDOC
|
25/11/2015
|
[
"ar",
"zh",
"en",
"fr",
"ru",
"es",
"de"
] |
|||
A/RES/70/20
|
FOLLOW-UP TO THE DECLARATION AND PROGRAMME OF ACTION ON A CULTURE OF PEACE
|
GEN
|
UNDOC
|
03/12/2015
|
[
"ar",
"zh",
"en",
"fr",
"ru",
"es",
"de"
] |
|||
A/RES/70/7
|
PERMANENT MEMORIAL TO AND REMEMBRANCE OF THE VICTIMS OF SLAVERY AND THE TRANSA
|
GEN
|
UNDOC
|
12/11/2015
|
[
"ar",
"zh",
"en",
"fr",
"ru",
"es",
"de"
] |
|||
A/RES/70/76
|
RETURN OR RESTITUTION OF CULTURAL PROPERTY TO THE COUNTRIES OF ORIGIN
|
GEN
|
UNDOC
|
18/12/2015
|
[
"ar",
"zh",
"en",
"fr",
"ru",
"es",
"de"
] |
|||
A/RES/70/77
|
THE SITUATION IN AFGHANISTAN : RESOLUTION / ADOPTED BY THE GENERAL ASSEMBLY
|
70
|
39
|
GEN
|
UNDOC
|
INTERNAL SECURITY, RECONCILIATION, GOVERNANCE, RULE OF LAW, HUMAN RIGHTS, AFGHANISTAN, AFGHANISTAN SITUATION, DEMOCRACY, CRIMINAL JUSTICE, PUBLIC ADMINISTRATION, ECONOMIC DEVELOPMENT, REGIONAL COOPERATION, POST-CONFLICT RECONSTRUCTION, NARCOTIC DRUGS, SOCIAL DEVELOPMENT
|
09/12/2015
|
[
"ar",
"zh",
"en",
"fr",
"ru",
"es",
"de"
] |
A/RES/70/79
|
UNIVERSITY FOR PEACE
|
GEN
|
UNDOC
|
10/12/2015
|
[
"ar",
"zh",
"en",
"fr",
"ru",
"es"
] |
|||
A/RES/70/85
|
OPERATIONS OF THE UNITED NATIONS RELIEF AND WORKS AGENCY FOR PALESTINE REFUGEES IN THE NEAR EAST : RESOLUTION / ADOPTED BY THE GENERAL ASSEMBLY
|
70
|
54
|
GEN
|
UNDOC
|
DISPLACED PERSONS, REFUGEE ASSISTANCE, TERRITORIES OCCUPIED BY ISRAEL, PALESTINE REFUGEES, REFUGEE CAMPS, RECONSTRUCTION, EMERGENCY RELIEF, RIGHTS OF THE CHILD, WOMEN'S RIGHTS, HUMAN RIGHTS IN ARMED CONFLICTS, ISRAEL, GAZA STRIP (STATE OF PALESTINE)
|
10/12/2015
|
[
"ar",
"zh",
"en",
"fr",
"ru",
"es",
"de"
] |
A/RES/70/9
|
PATTERN OF CONFERENCES :RESOLUTION / ADOPTED BY THE GENERAL ASSEMBLY
|
70
|
137
|
GEN
|
UNDOC
|
CONFERENCE AND MEETING SERVICES, CONFERENCE FACILITIES, DOCUMENTS, PUBLICATIONS, LANGUAGE SERVICES, TRANSLATION, INTERPRETING
|
25/11/2015
|
[
"ar",
"zh",
"en",
"fr",
"ru",
"es",
"de"
] |
A/RES/70/90
|
ISRAELI PRACTICES AFFECTING THE HUMAN RIGHTS OF THE PALESTINIAN PEOPLE IN THE
|
GEN
|
UNDOC
|
10/12/2015
|
[
"ar",
"zh",
"en",
"fr",
"ru",
"es",
"de"
] |
|||
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
UN-RES: A Collection of Resolutions of United Nations for Religion and Spirituality in Health and Education
Dataset proposed in paper SpiritRAG: A Q&A ystem for Religion and Spirituality in the United Nations Archive.
π½ Full Dataset Download (~10 GB)
π We are working on getting permissions from UN to rediscribute the dataset. If granted, you can download the full dataset later at Zenodo.
Β©οΈ UN-RES is under CC-BY-NC-ND 4.0 license. Redistribution of original UN documents is governed by the United Nations Terms of Use. This dataset is provided for academic research only. No commercial use or redistribution of the original documents is permitted.
π [Update July 3rd 2025]
β Unfortunately, the UN did not approve the re-distribution of the resolution documents :( We therefore have to remove the dataset from Zenodo.
π οΈ However, you can still use our crawler script if you want to get the dataset yourself!
π¦ Sample Subset on Hugging Face
This repository includes a representative sample (~10 examples for health and education each in the sample folder) for quick inspection.
ποΈ Dataset Structure
Unzip UN-RES.zip:
unzip UN-RES.zipSwitch to the folder:
cd ./UN-RESEach data instance is stored in a folder with a document ID. See below the datastructure:
UN-RES/
βββ health/
β βββ crawled_data/
β β βββ A-RES-70-1/
β β β βββ A-RES-70-1-ar.pdf
β β β βββ A-RES-70-1-de.pdf
β β β βββ A-RES-70-1-en.pdf
β β β βββ A-RES-70-1-es.pdf
β β β βββ A-RES-70-1-fr.pdf
β β β βββ A-RES-70-1-ru.pdf
β β β βββ A-RES-70-1-zh.pdf
β β β βββ metadata.jsonl
β β ...
β βββ parsed_data/
β βββ A-RES-70-1/
β β βββ A-RES-70-1-de-parsed.json
β β βββ A-RES-70-1-en-parsed.json
β β βββ A-RES-70-1-es-parsed.json
β β βββ A-RES-70-1-fr-parsed.json
βββ education/
βββ crawled_data/
β ...
βββ parsed_data/
...
- The
metadata.jsonlstores the metadata information of the resolution document
{
"symbol": "A/RES/70/1",
"title": "Transforming our world : the 2030 Agenda for Sustainable Development : resolution / adopted by the General Assembly",
"session_year": "70",
"agenda_items": "15 116",
"distribution": "GEN",
"area": "UNDOC",
"subjects": "SUSTAINABLE DEVELOPMENT, DEVELOPMENT STRATEGIES, PEACE, PARTNERSHIP, POVERTY MITIGATION, HUNGER, FOOD SECURITY, HEALTH, EDUCATION, GENDER EQUALITY, WATER MANAGEMENT, SUSTAINABLE ENERGY, EMPLOYMENT, INDUSTRIALIZATION, INCOME DISTRIBUTION, HUMAN SETTLEMENTS, SUSTAINABLE CONSUMPTION, CLIMATE CHANGE, MARINE RESOURCES, TERRESTRIAL ECOSYSTEMS, JUSTICE",
"publication_date": "21/10/2015",
"languages": ["ar", "zh", "en", "fr", "ru", "es", "de"]
}
Citation
If you use this dataset in your work, please cite
@article{gao2025spiritrag,
author={Gao, Yingqiang and Winiger, Fabian and Montjourides, Patrick and Shaitarova, Anastassia and Gu, Nianlong and Peng-Keller, Simon and Schneider, Gerold},
title={{SpiritRAG: A Q&A System for Religion and Spirituality in the United Nations Archive}},
year={2025},
journal={arXiv preprint arXiv:XXX}
}
- Downloads last month
- 504