Datasets:
Upload international treaties and agreements dataset (105 images)
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- README.md +172 -0
- collect_treaties.py +498 -0
- collection_results.json +195 -0
- images/dayton/dayton_01.jpg +3 -0
- images/dayton/dayton_02.jpeg +3 -0
- images/dayton/dayton_03.jpg +3 -0
- images/dayton/dayton_04.jpg +3 -0
- images/dayton/dayton_05.jpg +3 -0
- images/geneva_conventions/geneva_conventions_01.jpg +3 -0
- images/geneva_conventions/geneva_conventions_02.jpg +3 -0
- images/geneva_conventions/geneva_conventions_03.jpg +3 -0
- images/geneva_conventions/geneva_conventions_04.jpg +3 -0
- images/geneva_conventions/geneva_conventions_05.jpg +3 -0
- images/gladio_docs/gladio_docs_01.gif +3 -0
- images/gladio_docs/gladio_docs_02.gif +3 -0
- images/gladio_docs/gladio_docs_03.jpg +3 -0
- images/gladio_docs/gladio_docs_04.jpg +3 -0
- images/gladio_docs/gladio_docs_05.jpg +3 -0
- images/helsinki_accords/helsinki_accords_01.jpg +3 -0
- images/helsinki_accords/helsinki_accords_02.jpg +3 -0
- images/helsinki_accords/helsinki_accords_03.jpg +3 -0
- images/helsinki_accords/helsinki_accords_04.jpg +3 -0
- images/helsinki_accords/helsinki_accords_05.jpg +3 -0
- images/kadesh/kadesh_01.jpg +3 -0
- images/kadesh/kadesh_02.jpg +3 -0
- images/kadesh/kadesh_03.jpg +3 -0
- images/kadesh/kadesh_04.jpg +3 -0
- images/kadesh/kadesh_05.jpg +3 -0
- images/korean_armistice/korean_armistice_01.jpg +3 -0
- images/korean_armistice/korean_armistice_02.jpg +3 -0
- images/korean_armistice/korean_armistice_03.jpg +3 -0
- images/korean_armistice/korean_armistice_04.jpg +3 -0
- images/korean_armistice/korean_armistice_05.jpg +3 -0
- images/maastricht/maastricht_01.jpg +3 -0
- images/maastricht/maastricht_02.jpg +3 -0
- images/maastricht/maastricht_03.jpg +3 -0
- images/maastricht/maastricht_04.jpg +3 -0
- images/maastricht/maastricht_05.jpg +3 -0
- images/molotov_ribbentrop/molotov_ribbentrop_01.jpg +3 -0
- images/molotov_ribbentrop/molotov_ribbentrop_02.jpg +3 -0
- images/molotov_ribbentrop/molotov_ribbentrop_03.jpg +3 -0
- images/molotov_ribbentrop/molotov_ribbentrop_04.jpg +3 -0
- images/molotov_ribbentrop/molotov_ribbentrop_05.jpg +3 -0
- images/nato_treaty/nato_treaty_01.jpg +3 -0
- images/nato_treaty/nato_treaty_02.jpg +3 -0
- images/nato_treaty/nato_treaty_03.jpg +3 -0
- images/nato_treaty/nato_treaty_04.jpg +3 -0
- images/nato_treaty/nato_treaty_05.jpg +3 -0
- images/npt/npt_01.jpg +3 -0
- images/npt/npt_02.png +3 -0
README.md
ADDED
|
@@ -0,0 +1,172 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-classification
|
| 5 |
+
- text-generation
|
| 6 |
+
- image-to-text
|
| 7 |
+
language:
|
| 8 |
+
- en
|
| 9 |
+
- fr
|
| 10 |
+
- de
|
| 11 |
+
- es
|
| 12 |
+
- ru
|
| 13 |
+
- zh
|
| 14 |
+
- ar
|
| 15 |
+
- la
|
| 16 |
+
tags:
|
| 17 |
+
- legal
|
| 18 |
+
- treaties
|
| 19 |
+
- international-law
|
| 20 |
+
- history
|
| 21 |
+
- diplomacy
|
| 22 |
+
- agreements
|
| 23 |
+
- peace-treaties
|
| 24 |
+
- war
|
| 25 |
+
pretty_name: International Treaties and Agreements
|
| 26 |
+
size_categories:
|
| 27 |
+
- 1K<n<10K
|
| 28 |
+
---
|
| 29 |
+
|
| 30 |
+
# International Treaties and Agreements
|
| 31 |
+
|
| 32 |
+
A comprehensive collection of international treaties, peace agreements, armistices, and diplomatic documents from antiquity to present day.
|
| 33 |
+
|
| 34 |
+
## Purpose
|
| 35 |
+
|
| 36 |
+
This dataset supports:
|
| 37 |
+
1. **Historical research** - Track the evolution of international law
|
| 38 |
+
2. **Pattern analysis** - Identify recurring themes in diplomatic agreements
|
| 39 |
+
3. **Legal analysis** - Study treaty language and enforcement mechanisms
|
| 40 |
+
4. **Investigation** - Cross-reference with power structures and operations
|
| 41 |
+
|
| 42 |
+
## Coverage
|
| 43 |
+
|
| 44 |
+
### Peace Treaties
|
| 45 |
+
- Treaty of Westphalia (1648)
|
| 46 |
+
- Treaty of Paris (1783, 1815, 1856, 1898, 1919)
|
| 47 |
+
- Treaty of Versailles (1919)
|
| 48 |
+
- Treaty of Trianon (1920)
|
| 49 |
+
- Potsdam Agreement (1945)
|
| 50 |
+
|
| 51 |
+
### Armistices
|
| 52 |
+
- Armistice of 1918
|
| 53 |
+
- Korean War Armistice (1953)
|
| 54 |
+
|
| 55 |
+
### Geneva Conventions
|
| 56 |
+
- First Geneva Convention (1864)
|
| 57 |
+
- Geneva Conventions (1949)
|
| 58 |
+
- Additional Protocols (1977)
|
| 59 |
+
|
| 60 |
+
### Nuclear & Arms Control
|
| 61 |
+
- Partial Nuclear Test Ban Treaty (1963)
|
| 62 |
+
- Nuclear Non-Proliferation Treaty (1968)
|
| 63 |
+
- SALT I & II
|
| 64 |
+
- START Treaties
|
| 65 |
+
- INF Treaty (1987)
|
| 66 |
+
|
| 67 |
+
### Human Rights
|
| 68 |
+
- Universal Declaration of Human Rights (1948)
|
| 69 |
+
- European Convention on Human Rights (1950)
|
| 70 |
+
- International Covenant on Civil and Political Rights (1966)
|
| 71 |
+
|
| 72 |
+
### Economic
|
| 73 |
+
- Bretton Woods Agreement (1944)
|
| 74 |
+
- GATT (1947)
|
| 75 |
+
- Treaty of Rome (1957)
|
| 76 |
+
- Maastricht Treaty (1992)
|
| 77 |
+
- NAFTA (1994)
|
| 78 |
+
|
| 79 |
+
### Secret Agreements & Operations
|
| 80 |
+
- Sykes-Picot Agreement (1916)
|
| 81 |
+
- Molotov-Ribbentrop Pact (1939)
|
| 82 |
+
- Yalta Conference agreements (1945)
|
| 83 |
+
- Operation Paperclip documents
|
| 84 |
+
- Operation Gladio references
|
| 85 |
+
|
| 86 |
+
### Ancient & Medieval
|
| 87 |
+
- Peace of Nicias (421 BCE)
|
| 88 |
+
- Treaty of Kadesh (1259 BCE) - oldest known peace treaty
|
| 89 |
+
- Treaty of Verdun (843 CE)
|
| 90 |
+
|
| 91 |
+
## Data Structure
|
| 92 |
+
|
| 93 |
+
```
|
| 94 |
+
treaties/
|
| 95 |
+
├── images/
|
| 96 |
+
│ ├── versailles/
|
| 97 |
+
│ │ ├── signing_ceremony.jpg
|
| 98 |
+
│ │ ├── document_page_1.jpg
|
| 99 |
+
│ │ └── ...
|
| 100 |
+
│ ├── geneva_conventions/
|
| 101 |
+
│ └── ...
|
| 102 |
+
├── documents/
|
| 103 |
+
│ ├── versailles_1919_full_text.txt
|
| 104 |
+
│ ├── geneva_convention_1949.txt
|
| 105 |
+
│ └── ...
|
| 106 |
+
├── translations/
|
| 107 |
+
│ ├── versailles_1919_en.txt
|
| 108 |
+
│ ├── versailles_1919_fr.txt
|
| 109 |
+
│ └── ...
|
| 110 |
+
└── metadata.json
|
| 111 |
+
```
|
| 112 |
+
|
| 113 |
+
## Schema
|
| 114 |
+
|
| 115 |
+
Each treaty entry contains:
|
| 116 |
+
```json
|
| 117 |
+
{
|
| 118 |
+
"id": "versailles_1919",
|
| 119 |
+
"title": "Treaty of Versailles",
|
| 120 |
+
"alternate_titles": ["Peace Treaty of Versailles"],
|
| 121 |
+
"date_signed": "1919-06-28",
|
| 122 |
+
"date_effective": "1920-01-10",
|
| 123 |
+
"location_signed": "Palace of Versailles, France",
|
| 124 |
+
"type": "peace_treaty",
|
| 125 |
+
"conflict": "World War I",
|
| 126 |
+
"signatories": [
|
| 127 |
+
{"party": "Allied Powers", "representatives": ["Clemenceau", "Lloyd George", "Wilson"]},
|
| 128 |
+
{"party": "Germany", "representatives": ["Müller", "Bell"]}
|
| 129 |
+
],
|
| 130 |
+
"key_provisions": [
|
| 131 |
+
"War guilt clause (Article 231)",
|
| 132 |
+
"Territorial changes",
|
| 133 |
+
"Military restrictions",
|
| 134 |
+
"Reparations"
|
| 135 |
+
],
|
| 136 |
+
"languages": ["en", "fr"],
|
| 137 |
+
"images": ["signing_ceremony.jpg", "document_page_1.jpg"],
|
| 138 |
+
"full_text_file": "versailles_1919_full_text.txt",
|
| 139 |
+
"source_urls": ["https://avalon.law.yale.edu/subject_menus/versailles_menu.asp"],
|
| 140 |
+
"investigation_tags": ["wwi", "reparations", "league_of_nations"],
|
| 141 |
+
"related_treaties": ["treaty_of_trianon", "treaty_of_saint_germain"],
|
| 142 |
+
"enforcement": "League of Nations",
|
| 143 |
+
"status": "superseded"
|
| 144 |
+
}
|
| 145 |
+
```
|
| 146 |
+
|
| 147 |
+
## Investigation Integration
|
| 148 |
+
|
| 149 |
+
This dataset connects to the Global Investigation Nexus:
|
| 150 |
+
- Cross-reference signatories with `nexus_of_money` entities
|
| 151 |
+
- Link secret agreements to `historical_investigation` profiles
|
| 152 |
+
- Track power transfers via `evolution_tracker`
|
| 153 |
+
- Analyze patterns in treaty language and enforcement
|
| 154 |
+
|
| 155 |
+
## Key Questions This Dataset Addresses
|
| 156 |
+
|
| 157 |
+
1. **Who benefits?** - Identify patterns in who gains from treaty terms
|
| 158 |
+
2. **Enforcement asymmetry** - Which treaties are enforced vs ignored?
|
| 159 |
+
3. **Secret clauses** - Track declassified secret provisions
|
| 160 |
+
4. **Power consolidation** - How do treaties transfer sovereignty?
|
| 161 |
+
5. **Precedent chains** - How do earlier treaties enable later ones?
|
| 162 |
+
|
| 163 |
+
## Related Datasets
|
| 164 |
+
|
| 165 |
+
- `PunkRockGirl/the-law` - Modern legal codes
|
| 166 |
+
- `PunkRockGirl/ancient-law` - Ancient legal documents with images
|
| 167 |
+
|
| 168 |
+
## License
|
| 169 |
+
|
| 170 |
+
Treaty texts: Public domain
|
| 171 |
+
Images: Various (attributed)
|
| 172 |
+
Metadata: CC-BY-4.0
|
collect_treaties.py
ADDED
|
@@ -0,0 +1,498 @@
|
|
|
|
|
|
|
|
|
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Go search.
|
| 6 |
+
"""
|
| 7 |
+
|
| 8 |
+
import os
|
| 9 |
+
import sys
|
| 10 |
+
import time
|
| 11 |
+
import json
|
| 12 |
+
import requests
|
| 13 |
+
from pathlib import Path
|
| 14 |
+
from typing import List, Dict, Optional
|
| 15 |
+
from urllib.parse import urlparse, unquote
|
| 16 |
+
import logging
|
| 17 |
+
|
| 18 |
+
sys.path.insert(0, str(Path(__file__).parent.parent.parent))
|
| 19 |
+
|
| 20 |
+
logging.basicConfig(level=logging.INFO, format='%(asctime)s | %(message)s')
|
| 21 |
+
logger = logging.getLogger(__name__)
|
| 22 |
+
|
| 23 |
+
BASE_DIR = Path(__file__).parent
|
| 24 |
+
IMAGES_DIR = BASE_DIR / "images"
|
| 25 |
+
DOCUMENTS_DIR = BASE_DIR / "documents"
|
| 26 |
+
IMAGES_DIR.mkdir(exist_ok=True)
|
| 27 |
+
DOCUMENTS_DIR.mkdir(exist_ok=True)
|
| 28 |
+
|
| 29 |
+
session = requests.Session()
|
| 30 |
+
session.headers.update({
|
| 31 |
+
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36",
|
| 32 |
+
"Accept": "image/webp,image/apng,image/*,*/*;q=0.8",
|
| 33 |
+
})
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
# Treaties to collect
|
| 37 |
+
TREATIES = [
|
| 38 |
+
# Ancient
|
| 39 |
+
{
|
| 40 |
+
"id": "kadesh",
|
| 41 |
+
"title": "Treaty of Kadesh",
|
| 42 |
+
"year": -1259,
|
| 43 |
+
"type": "peace_treaty",
|
| 44 |
+
"searches": [
|
| 45 |
+
"Treaty of Kadesh Egyptian Hittite tablet",
|
| 46 |
+
"Kadesh peace treaty ancient Near East",
|
| 47 |
+
],
|
| 48 |
+
"keywords": ["kadesh", "hittite", "egyptian", "ramesses"],
|
| 49 |
+
},
|
| 50 |
+
# Medieval
|
| 51 |
+
{
|
| 52 |
+
"id": "verdun_843",
|
| 53 |
+
"title": "Treaty of Verdun",
|
| 54 |
+
"year": 843,
|
| 55 |
+
"type": "partition",
|
| 56 |
+
"searches": [
|
| 57 |
+
"Treaty of Verdun 843 Carolingian map",
|
| 58 |
+
"Treaty of Verdun medieval manuscript",
|
| 59 |
+
],
|
| 60 |
+
"keywords": ["verdun", "carolingian", "843", "charlemagne"],
|
| 61 |
+
},
|
| 62 |
+
# Early Modern
|
| 63 |
+
{
|
| 64 |
+
"id": "westphalia",
|
| 65 |
+
"title": "Peace of Westphalia",
|
| 66 |
+
"year": 1648,
|
| 67 |
+
"type": "peace_treaty",
|
| 68 |
+
"searches": [
|
| 69 |
+
"Peace of Westphalia 1648 signing painting",
|
| 70 |
+
"Treaty of Westphalia document manuscript",
|
| 71 |
+
"Westphalian sovereignty historical",
|
| 72 |
+
],
|
| 73 |
+
"keywords": ["westphalia", "1648", "münster", "osnabrück"],
|
| 74 |
+
},
|
| 75 |
+
# American Revolution
|
| 76 |
+
{
|
| 77 |
+
"id": "paris_1783",
|
| 78 |
+
"title": "Treaty of Paris 1783",
|
| 79 |
+
"year": 1783,
|
| 80 |
+
"type": "peace_treaty",
|
| 81 |
+
"searches": [
|
| 82 |
+
"Treaty of Paris 1783 American independence document",
|
| 83 |
+
"Treaty of Paris 1783 signing Benjamin Franklin",
|
| 84 |
+
],
|
| 85 |
+
"keywords": ["paris", "1783", "american", "independence"],
|
| 86 |
+
},
|
| 87 |
+
# Napoleonic
|
| 88 |
+
{
|
| 89 |
+
"id": "vienna_1815",
|
| 90 |
+
"title": "Congress of Vienna",
|
| 91 |
+
"year": 1815,
|
| 92 |
+
"type": "congress",
|
| 93 |
+
"searches": [
|
| 94 |
+
"Congress of Vienna 1815 painting",
|
| 95 |
+
"Treaty of Vienna 1815 document",
|
| 96 |
+
],
|
| 97 |
+
"keywords": ["vienna", "1815", "congress", "metternich"],
|
| 98 |
+
},
|
| 99 |
+
# WWI Era
|
| 100 |
+
{
|
| 101 |
+
"id": "versailles",
|
| 102 |
+
"title": "Treaty of Versailles",
|
| 103 |
+
"year": 1919,
|
| 104 |
+
"type": "peace_treaty",
|
| 105 |
+
"searches": [
|
| 106 |
+
"Treaty of Versailles 1919 signing Hall of Mirrors",
|
| 107 |
+
"Treaty of Versailles document original",
|
| 108 |
+
"Versailles peace conference 1919",
|
| 109 |
+
],
|
| 110 |
+
"keywords": ["versailles", "1919", "hall of mirrors", "wilson"],
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"id": "sykes_picot",
|
| 114 |
+
"title": "Sykes-Picot Agreement",
|
| 115 |
+
"year": 1916,
|
| 116 |
+
"type": "secret_agreement",
|
| 117 |
+
"searches": [
|
| 118 |
+
"Sykes-Picot Agreement map 1916",
|
| 119 |
+
"Sykes Picot secret treaty Middle East",
|
| 120 |
+
],
|
| 121 |
+
"keywords": ["sykes", "picot", "1916", "middle east", "ottoman"],
|
| 122 |
+
},
|
| 123 |
+
# Interwar
|
| 124 |
+
{
|
| 125 |
+
"id": "molotov_ribbentrop",
|
| 126 |
+
"title": "Molotov-Ribbentrop Pact",
|
| 127 |
+
"year": 1939,
|
| 128 |
+
"type": "non_aggression",
|
| 129 |
+
"searches": [
|
| 130 |
+
"Molotov Ribbentrop Pact 1939 signing photo",
|
| 131 |
+
"Nazi Soviet Pact document secret protocol",
|
| 132 |
+
],
|
| 133 |
+
"keywords": ["molotov", "ribbentrop", "1939", "soviet", "nazi"],
|
| 134 |
+
},
|
| 135 |
+
# WWII Era
|
| 136 |
+
{
|
| 137 |
+
"id": "yalta",
|
| 138 |
+
"title": "Yalta Conference",
|
| 139 |
+
"year": 1945,
|
| 140 |
+
"type": "conference",
|
| 141 |
+
"searches": [
|
| 142 |
+
"Yalta Conference 1945 Big Three photo",
|
| 143 |
+
"Yalta Agreement Churchill Roosevelt Stalin",
|
| 144 |
+
],
|
| 145 |
+
"keywords": ["yalta", "1945", "churchill", "roosevelt", "stalin"],
|
| 146 |
+
},
|
| 147 |
+
{
|
| 148 |
+
"id": "potsdam",
|
| 149 |
+
"title": "Potsdam Conference",
|
| 150 |
+
"year": 1945,
|
| 151 |
+
"type": "conference",
|
| 152 |
+
"searches": [
|
| 153 |
+
"Potsdam Conference 1945 photo",
|
| 154 |
+
"Potsdam Agreement document",
|
| 155 |
+
],
|
| 156 |
+
"keywords": ["potsdam", "1945", "truman", "attlee", "stalin"],
|
| 157 |
+
},
|
| 158 |
+
{
|
| 159 |
+
"id": "nuremberg_charter",
|
| 160 |
+
"title": "Nuremberg Charter",
|
| 161 |
+
"year": 1945,
|
| 162 |
+
"type": "tribunal",
|
| 163 |
+
"searches": [
|
| 164 |
+
"Nuremberg Charter 1945 document",
|
| 165 |
+
"Nuremberg trials charter international military tribunal",
|
| 166 |
+
],
|
| 167 |
+
"keywords": ["nuremberg", "charter", "tribunal", "war crimes"],
|
| 168 |
+
},
|
| 169 |
+
# Post-WWII
|
| 170 |
+
{
|
| 171 |
+
"id": "geneva_conventions",
|
| 172 |
+
"title": "Geneva Conventions 1949",
|
| 173 |
+
"year": 1949,
|
| 174 |
+
"type": "humanitarian",
|
| 175 |
+
"searches": [
|
| 176 |
+
"Geneva Conventions 1949 signing ceremony",
|
| 177 |
+
"Geneva Convention document Red Cross",
|
| 178 |
+
],
|
| 179 |
+
"keywords": ["geneva", "convention", "1949", "humanitarian", "red cross"],
|
| 180 |
+
},
|
| 181 |
+
{
|
| 182 |
+
"id": "udhr",
|
| 183 |
+
"title": "Universal Declaration of Human Rights",
|
| 184 |
+
"year": 1948,
|
| 185 |
+
"type": "declaration",
|
| 186 |
+
"searches": [
|
| 187 |
+
"Universal Declaration Human Rights 1948 Eleanor Roosevelt",
|
| 188 |
+
"UDHR original document United Nations",
|
| 189 |
+
],
|
| 190 |
+
"keywords": ["human rights", "1948", "eleanor roosevelt", "united nations"],
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"id": "nato_treaty",
|
| 194 |
+
"title": "North Atlantic Treaty",
|
| 195 |
+
"year": 1949,
|
| 196 |
+
"type": "alliance",
|
| 197 |
+
"searches": [
|
| 198 |
+
"NATO Treaty 1949 signing Washington",
|
| 199 |
+
"North Atlantic Treaty original document",
|
| 200 |
+
],
|
| 201 |
+
"keywords": ["nato", "1949", "atlantic", "washington"],
|
| 202 |
+
},
|
| 203 |
+
# Cold War
|
| 204 |
+
{
|
| 205 |
+
"id": "korean_armistice",
|
| 206 |
+
"title": "Korean War Armistice",
|
| 207 |
+
"year": 1953,
|
| 208 |
+
"type": "armistice",
|
| 209 |
+
"searches": [
|
| 210 |
+
"Korean War Armistice 1953 signing Panmunjom",
|
| 211 |
+
"Korean Armistice Agreement document",
|
| 212 |
+
],
|
| 213 |
+
"keywords": ["korean", "armistice", "1953", "panmunjom"],
|
| 214 |
+
},
|
| 215 |
+
{
|
| 216 |
+
"id": "npt",
|
| 217 |
+
"title": "Nuclear Non-Proliferation Treaty",
|
| 218 |
+
"year": 1968,
|
| 219 |
+
"type": "arms_control",
|
| 220 |
+
"searches": [
|
| 221 |
+
"Nuclear Non-Proliferation Treaty 1968 signing",
|
| 222 |
+
"NPT treaty document nuclear",
|
| 223 |
+
],
|
| 224 |
+
"keywords": ["nuclear", "non-proliferation", "npt", "1968"],
|
| 225 |
+
},
|
| 226 |
+
{
|
| 227 |
+
"id": "helsinki_accords",
|
| 228 |
+
"title": "Helsinki Accords",
|
| 229 |
+
"year": 1975,
|
| 230 |
+
"type": "agreement",
|
| 231 |
+
"searches": [
|
| 232 |
+
"Helsinki Accords 1975 signing ceremony",
|
| 233 |
+
"Helsinki Final Act document CSCE",
|
| 234 |
+
],
|
| 235 |
+
"keywords": ["helsinki", "1975", "accords", "csce"],
|
| 236 |
+
},
|
| 237 |
+
# Modern Era
|
| 238 |
+
{
|
| 239 |
+
"id": "maastricht",
|
| 240 |
+
"title": "Maastricht Treaty",
|
| 241 |
+
"year": 1992,
|
| 242 |
+
"type": "union",
|
| 243 |
+
"searches": [
|
| 244 |
+
"Maastricht Treaty 1992 signing European Union",
|
| 245 |
+
"Treaty on European Union document",
|
| 246 |
+
],
|
| 247 |
+
"keywords": ["maastricht", "1992", "european union", "eu"],
|
| 248 |
+
},
|
| 249 |
+
{
|
| 250 |
+
"id": "dayton",
|
| 251 |
+
"title": "Dayton Agreement",
|
| 252 |
+
"year": 1995,
|
| 253 |
+
"type": "peace_treaty",
|
| 254 |
+
"searches": [
|
| 255 |
+
"Dayton Agreement 1995 Bosnia signing",
|
| 256 |
+
"Dayton Peace Accords document",
|
| 257 |
+
],
|
| 258 |
+
"keywords": ["dayton", "1995", "bosnia", "peace"],
|
| 259 |
+
},
|
| 260 |
+
# Operations (for investigation)
|
| 261 |
+
{
|
| 262 |
+
"id": "paperclip_docs",
|
| 263 |
+
"title": "Operation Paperclip Documents",
|
| 264 |
+
"year": 1945,
|
| 265 |
+
"type": "operation",
|
| 266 |
+
"searches": [
|
| 267 |
+
"Operation Paperclip declassified documents",
|
| 268 |
+
"Project Paperclip Nazi scientists recruitment",
|
| 269 |
+
],
|
| 270 |
+
"keywords": ["paperclip", "nazi", "scientists", "declassified"],
|
| 271 |
+
},
|
| 272 |
+
{
|
| 273 |
+
"id": "gladio_docs",
|
| 274 |
+
"title": "Operation Gladio Documents",
|
| 275 |
+
"year": 1990,
|
| 276 |
+
"type": "operation",
|
| 277 |
+
"searches": [
|
| 278 |
+
"Operation Gladio declassified NATO stay-behind",
|
| 279 |
+
"Gladio documents Italy secret army",
|
| 280 |
+
],
|
| 281 |
+
"keywords": ["gladio", "nato", "stay-behind", "secret"],
|
| 282 |
+
},
|
| 283 |
+
]
|
| 284 |
+
|
| 285 |
+
|
| 286 |
+
def search_duckduckgo_images(query: str, max_results: int = 10) -> List[Dict]:
|
| 287 |
+
"""Search for images using DuckDuckGo"""
|
| 288 |
+
try:
|
| 289 |
+
from duckduckgo_search import DDGS
|
| 290 |
+
|
| 291 |
+
results = []
|
| 292 |
+
with DDGS() as ddgs:
|
| 293 |
+
images = ddgs.images(
|
| 294 |
+
query,
|
| 295 |
+
max_results=max_results,
|
| 296 |
+
size="Large",
|
| 297 |
+
type_image="photo",
|
| 298 |
+
)
|
| 299 |
+
|
| 300 |
+
for img in images:
|
| 301 |
+
results.append({
|
| 302 |
+
"url": img.get("image"),
|
| 303 |
+
"thumbnail": img.get("thumbnail"),
|
| 304 |
+
"title": img.get("title", ""),
|
| 305 |
+
"source": img.get("source", ""),
|
| 306 |
+
})
|
| 307 |
+
|
| 308 |
+
logger.info(f"Found {len(results)} images for: {query[:50]}...")
|
| 309 |
+
return results
|
| 310 |
+
|
| 311 |
+
except Exception as e:
|
| 312 |
+
logger.error(f"Search failed: {e}")
|
| 313 |
+
return []
|
| 314 |
+
|
| 315 |
+
|
| 316 |
+
def download_image(url: str, save_path: Path, timeout: int = 60) -> bool:
|
| 317 |
+
"""Download an image"""
|
| 318 |
+
try:
|
| 319 |
+
response = session.get(url, timeout=timeout, stream=True)
|
| 320 |
+
response.raise_for_status()
|
| 321 |
+
|
| 322 |
+
content_type = response.headers.get('content-type', '')
|
| 323 |
+
if 'image' not in content_type and 'octet-stream' not in content_type:
|
| 324 |
+
return False
|
| 325 |
+
|
| 326 |
+
with open(save_path, 'wb') as f:
|
| 327 |
+
for chunk in response.iter_content(chunk_size=8192):
|
| 328 |
+
f.write(chunk)
|
| 329 |
+
|
| 330 |
+
size_kb = save_path.stat().st_size / 1024
|
| 331 |
+
if size_kb < 5:
|
| 332 |
+
save_path.unlink()
|
| 333 |
+
return False
|
| 334 |
+
|
| 335 |
+
logger.info(f" Downloaded: {save_path.name} ({size_kb:.0f} KB)")
|
| 336 |
+
return True
|
| 337 |
+
|
| 338 |
+
except Exception as e:
|
| 339 |
+
logger.error(f" Download failed: {str(e)[:50]}")
|
| 340 |
+
return False
|
| 341 |
+
|
| 342 |
+
|
| 343 |
+
def get_extension_from_url(url: str) -> str:
|
| 344 |
+
"""Extract file extension from URL"""
|
| 345 |
+
parsed = urlparse(url)
|
| 346 |
+
path = unquote(parsed.path)
|
| 347 |
+
|
| 348 |
+
for ext in ['.jpg', '.jpeg', '.png', '.gif', '.webp']:
|
| 349 |
+
if ext in path.lower():
|
| 350 |
+
return ext
|
| 351 |
+
|
| 352 |
+
return '.jpg'
|
| 353 |
+
|
| 354 |
+
|
| 355 |
+
def collect_treaty_images(treaty: Dict, max_images: int = 5) -> Dict:
|
| 356 |
+
"""Collect images for a single treaty"""
|
| 357 |
+
treaty_id = treaty["id"]
|
| 358 |
+
title = treaty["title"]
|
| 359 |
+
searches = treaty["searches"]
|
| 360 |
+
keywords = treaty["keywords"]
|
| 361 |
+
|
| 362 |
+
logger.info(f"\n{'='*60}")
|
| 363 |
+
logger.info(f"Collecting: {title} ({treaty['year']})")
|
| 364 |
+
logger.info(f"{'='*60}")
|
| 365 |
+
|
| 366 |
+
treaty_dir = IMAGES_DIR / treaty_id
|
| 367 |
+
treaty_dir.mkdir(exist_ok=True)
|
| 368 |
+
|
| 369 |
+
existing = list(treaty_dir.glob("*"))
|
| 370 |
+
if len(existing) >= max_images:
|
| 371 |
+
logger.info(f"Already have {len(existing)} images, skipping")
|
| 372 |
+
return {"id": treaty_id, "downloaded": 0, "existing": len(existing)}
|
| 373 |
+
|
| 374 |
+
downloaded = 0
|
| 375 |
+
seen_urls = set()
|
| 376 |
+
|
| 377 |
+
for search_query in searches:
|
| 378 |
+
if downloaded >= max_images:
|
| 379 |
+
break
|
| 380 |
+
|
| 381 |
+
logger.info(f"Searching: {search_query}")
|
| 382 |
+
results = search_duckduckgo_images(search_query, max_results=10)
|
| 383 |
+
|
| 384 |
+
for img in results:
|
| 385 |
+
if downloaded >= max_images:
|
| 386 |
+
break
|
| 387 |
+
|
| 388 |
+
url = img.get("url")
|
| 389 |
+
if not url or url in seen_urls:
|
| 390 |
+
continue
|
| 391 |
+
|
| 392 |
+
seen_urls.add(url)
|
| 393 |
+
|
| 394 |
+
ext = get_extension_from_url(url)
|
| 395 |
+
filename = f"{treaty_id}_{downloaded + 1:02d}{ext}"
|
| 396 |
+
save_path = treaty_dir / filename
|
| 397 |
+
|
| 398 |
+
if save_path.exists():
|
| 399 |
+
downloaded += 1
|
| 400 |
+
continue
|
| 401 |
+
|
| 402 |
+
if download_image(url, save_path):
|
| 403 |
+
downloaded += 1
|
| 404 |
+
|
| 405 |
+
time.sleep(1)
|
| 406 |
+
|
| 407 |
+
time.sleep(2)
|
| 408 |
+
|
| 409 |
+
return {
|
| 410 |
+
"id": treaty_id,
|
| 411 |
+
"title": title,
|
| 412 |
+
"year": treaty["year"],
|
| 413 |
+
"type": treaty["type"],
|
| 414 |
+
"downloaded": downloaded,
|
| 415 |
+
"existing": len(existing),
|
| 416 |
+
"total": downloaded + len(existing)
|
| 417 |
+
}
|
| 418 |
+
|
| 419 |
+
|
| 420 |
+
def save_metadata():
|
| 421 |
+
"""Save treaty metadata"""
|
| 422 |
+
metadata = {
|
| 423 |
+
"dataset": "treaties",
|
| 424 |
+
"version": "1.0.0",
|
| 425 |
+
"treaties": TREATIES,
|
| 426 |
+
"total_treaties": len(TREATIES),
|
| 427 |
+
"types": list(set(t["type"] for t in TREATIES)),
|
| 428 |
+
"date_range": {
|
| 429 |
+
"earliest": min(t["year"] for t in TREATIES),
|
| 430 |
+
"latest": max(t["year"] for t in TREATIES)
|
| 431 |
+
}
|
| 432 |
+
}
|
| 433 |
+
|
| 434 |
+
metadata_path = BASE_DIR / "metadata.json"
|
| 435 |
+
with open(metadata_path, 'w') as f:
|
| 436 |
+
json.dump(metadata, f, indent=2)
|
| 437 |
+
|
| 438 |
+
logger.info(f"Saved metadata to {metadata_path}")
|
| 439 |
+
|
| 440 |
+
|
| 441 |
+
def collect_all():
|
| 442 |
+
"""Collect images for all treaties"""
|
| 443 |
+
print("=" * 70)
|
| 444 |
+
print("TREATY DOCUMENT IMAGE COLLECTOR")
|
| 445 |
+
print("Using DuckDuckGo Image Search")
|
| 446 |
+
print("=" * 70)
|
| 447 |
+
|
| 448 |
+
results = []
|
| 449 |
+
|
| 450 |
+
for treaty in TREATIES:
|
| 451 |
+
result = collect_treaty_images(treaty, max_images=5)
|
| 452 |
+
results.append(result)
|
| 453 |
+
|
| 454 |
+
# Save metadata
|
| 455 |
+
save_metadata()
|
| 456 |
+
|
| 457 |
+
# Summary
|
| 458 |
+
print("\n" + "=" * 70)
|
| 459 |
+
print("COLLECTION COMPLETE")
|
| 460 |
+
print("=" * 70)
|
| 461 |
+
|
| 462 |
+
total_downloaded = sum(r["downloaded"] for r in results)
|
| 463 |
+
total_existing = sum(r.get("existing", 0) for r in results)
|
| 464 |
+
|
| 465 |
+
print(f"Treaties processed: {len(results)}")
|
| 466 |
+
print(f"Images downloaded: {total_downloaded}")
|
| 467 |
+
print(f"Already existing: {total_existing}")
|
| 468 |
+
print(f"Total images: {total_downloaded + total_existing}")
|
| 469 |
+
|
| 470 |
+
print("\nPer treaty:")
|
| 471 |
+
for r in sorted(results, key=lambda x: x.get("year", 0)):
|
| 472 |
+
print(f" {r['id']}: {r.get('total', r['downloaded'])} images ({r.get('year', '?')})")
|
| 473 |
+
|
| 474 |
+
# List files
|
| 475 |
+
print("\nCollected files:")
|
| 476 |
+
for treaty_dir in sorted(IMAGES_DIR.iterdir()):
|
| 477 |
+
if treaty_dir.is_dir():
|
| 478 |
+
files = list(treaty_dir.glob("*"))
|
| 479 |
+
if files:
|
| 480 |
+
print(f" {treaty_dir.name}/")
|
| 481 |
+
for f in sorted(files):
|
| 482 |
+
size = f.stat().st_size / 1024
|
| 483 |
+
print(f" - {f.name} ({size:.0f} KB)")
|
| 484 |
+
|
| 485 |
+
# Save results
|
| 486 |
+
results_path = BASE_DIR / "collection_results.json"
|
| 487 |
+
with open(results_path, 'w') as f:
|
| 488 |
+
json.dump({
|
| 489 |
+
"timestamp": time.strftime("%Y-%m-%d %H:%M:%S"),
|
| 490 |
+
"results": results,
|
| 491 |
+
"total_downloaded": total_downloaded,
|
| 492 |
+
}, f, indent=2)
|
| 493 |
+
|
| 494 |
+
return results
|
| 495 |
+
|
| 496 |
+
|
| 497 |
+
if __name__ == "__main__":
|
| 498 |
+
collect_all()
|
collection_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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"timestamp": "2026-01-23 06:20:10",
|
| 3 |
+
"results": [
|
| 4 |
+
{
|
| 5 |
+
"id": "kadesh",
|
| 6 |
+
"title": "Treaty of Kadesh",
|
| 7 |
+
"year": -1259,
|
| 8 |
+
"type": "peace_treaty",
|
| 9 |
+
"downloaded": 5,
|
| 10 |
+
"existing": 0,
|
| 11 |
+
"total": 5
|
| 12 |
+
},
|
| 13 |
+
{
|
| 14 |
+
"id": "verdun_843",
|
| 15 |
+
"title": "Treaty of Verdun",
|
| 16 |
+
"year": 843,
|
| 17 |
+
"type": "partition",
|
| 18 |
+
"downloaded": 5,
|
| 19 |
+
"existing": 0,
|
| 20 |
+
"total": 5
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"id": "westphalia",
|
| 24 |
+
"title": "Peace of Westphalia",
|
| 25 |
+
"year": 1648,
|
| 26 |
+
"type": "peace_treaty",
|
| 27 |
+
"downloaded": 5,
|
| 28 |
+
"existing": 0,
|
| 29 |
+
"total": 5
|
| 30 |
+
},
|
| 31 |
+
{
|
| 32 |
+
"id": "paris_1783",
|
| 33 |
+
"title": "Treaty of Paris 1783",
|
| 34 |
+
"year": 1783,
|
| 35 |
+
"type": "peace_treaty",
|
| 36 |
+
"downloaded": 5,
|
| 37 |
+
"existing": 0,
|
| 38 |
+
"total": 5
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"id": "vienna_1815",
|
| 42 |
+
"title": "Congress of Vienna",
|
| 43 |
+
"year": 1815,
|
| 44 |
+
"type": "congress",
|
| 45 |
+
"downloaded": 5,
|
| 46 |
+
"existing": 0,
|
| 47 |
+
"total": 5
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"id": "versailles",
|
| 51 |
+
"title": "Treaty of Versailles",
|
| 52 |
+
"year": 1919,
|
| 53 |
+
"type": "peace_treaty",
|
| 54 |
+
"downloaded": 5,
|
| 55 |
+
"existing": 0,
|
| 56 |
+
"total": 5
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"id": "sykes_picot",
|
| 60 |
+
"title": "Sykes-Picot Agreement",
|
| 61 |
+
"year": 1916,
|
| 62 |
+
"type": "secret_agreement",
|
| 63 |
+
"downloaded": 5,
|
| 64 |
+
"existing": 0,
|
| 65 |
+
"total": 5
|
| 66 |
+
},
|
| 67 |
+
{
|
| 68 |
+
"id": "molotov_ribbentrop",
|
| 69 |
+
"title": "Molotov-Ribbentrop Pact",
|
| 70 |
+
"year": 1939,
|
| 71 |
+
"type": "non_aggression",
|
| 72 |
+
"downloaded": 5,
|
| 73 |
+
"existing": 0,
|
| 74 |
+
"total": 5
|
| 75 |
+
},
|
| 76 |
+
{
|
| 77 |
+
"id": "yalta",
|
| 78 |
+
"title": "Yalta Conference",
|
| 79 |
+
"year": 1945,
|
| 80 |
+
"type": "conference",
|
| 81 |
+
"downloaded": 5,
|
| 82 |
+
"existing": 0,
|
| 83 |
+
"total": 5
|
| 84 |
+
},
|
| 85 |
+
{
|
| 86 |
+
"id": "potsdam",
|
| 87 |
+
"title": "Potsdam Conference",
|
| 88 |
+
"year": 1945,
|
| 89 |
+
"type": "conference",
|
| 90 |
+
"downloaded": 5,
|
| 91 |
+
"existing": 0,
|
| 92 |
+
"total": 5
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"id": "nuremberg_charter",
|
| 96 |
+
"title": "Nuremberg Charter",
|
| 97 |
+
"year": 1945,
|
| 98 |
+
"type": "tribunal",
|
| 99 |
+
"downloaded": 5,
|
| 100 |
+
"existing": 0,
|
| 101 |
+
"total": 5
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"id": "geneva_conventions",
|
| 105 |
+
"title": "Geneva Conventions 1949",
|
| 106 |
+
"year": 1949,
|
| 107 |
+
"type": "humanitarian",
|
| 108 |
+
"downloaded": 5,
|
| 109 |
+
"existing": 0,
|
| 110 |
+
"total": 5
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"id": "udhr",
|
| 114 |
+
"title": "Universal Declaration of Human Rights",
|
| 115 |
+
"year": 1948,
|
| 116 |
+
"type": "declaration",
|
| 117 |
+
"downloaded": 5,
|
| 118 |
+
"existing": 0,
|
| 119 |
+
"total": 5
|
| 120 |
+
},
|
| 121 |
+
{
|
| 122 |
+
"id": "nato_treaty",
|
| 123 |
+
"title": "North Atlantic Treaty",
|
| 124 |
+
"year": 1949,
|
| 125 |
+
"type": "alliance",
|
| 126 |
+
"downloaded": 5,
|
| 127 |
+
"existing": 0,
|
| 128 |
+
"total": 5
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"id": "korean_armistice",
|
| 132 |
+
"title": "Korean War Armistice",
|
| 133 |
+
"year": 1953,
|
| 134 |
+
"type": "armistice",
|
| 135 |
+
"downloaded": 5,
|
| 136 |
+
"existing": 0,
|
| 137 |
+
"total": 5
|
| 138 |
+
},
|
| 139 |
+
{
|
| 140 |
+
"id": "npt",
|
| 141 |
+
"title": "Nuclear Non-Proliferation Treaty",
|
| 142 |
+
"year": 1968,
|
| 143 |
+
"type": "arms_control",
|
| 144 |
+
"downloaded": 5,
|
| 145 |
+
"existing": 0,
|
| 146 |
+
"total": 5
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"id": "helsinki_accords",
|
| 150 |
+
"title": "Helsinki Accords",
|
| 151 |
+
"year": 1975,
|
| 152 |
+
"type": "agreement",
|
| 153 |
+
"downloaded": 5,
|
| 154 |
+
"existing": 0,
|
| 155 |
+
"total": 5
|
| 156 |
+
},
|
| 157 |
+
{
|
| 158 |
+
"id": "maastricht",
|
| 159 |
+
"title": "Maastricht Treaty",
|
| 160 |
+
"year": 1992,
|
| 161 |
+
"type": "union",
|
| 162 |
+
"downloaded": 5,
|
| 163 |
+
"existing": 0,
|
| 164 |
+
"total": 5
|
| 165 |
+
},
|
| 166 |
+
{
|
| 167 |
+
"id": "dayton",
|
| 168 |
+
"title": "Dayton Agreement",
|
| 169 |
+
"year": 1995,
|
| 170 |
+
"type": "peace_treaty",
|
| 171 |
+
"downloaded": 5,
|
| 172 |
+
"existing": 0,
|
| 173 |
+
"total": 5
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"id": "paperclip_docs",
|
| 177 |
+
"title": "Operation Paperclip Documents",
|
| 178 |
+
"year": 1945,
|
| 179 |
+
"type": "operation",
|
| 180 |
+
"downloaded": 5,
|
| 181 |
+
"existing": 0,
|
| 182 |
+
"total": 5
|
| 183 |
+
},
|
| 184 |
+
{
|
| 185 |
+
"id": "gladio_docs",
|
| 186 |
+
"title": "Operation Gladio Documents",
|
| 187 |
+
"year": 1990,
|
| 188 |
+
"type": "operation",
|
| 189 |
+
"downloaded": 5,
|
| 190 |
+
"existing": 0,
|
| 191 |
+
"total": 5
|
| 192 |
+
}
|
| 193 |
+
],
|
| 194 |
+
"total_downloaded": 105
|
| 195 |
+
}
|
images/dayton/dayton_01.jpg
ADDED
|
Git LFS Details
|
images/dayton/dayton_02.jpeg
ADDED
|
Git LFS Details
|
images/dayton/dayton_03.jpg
ADDED
|
Git LFS Details
|
images/dayton/dayton_04.jpg
ADDED
|
Git LFS Details
|
images/dayton/dayton_05.jpg
ADDED
|
Git LFS Details
|
images/geneva_conventions/geneva_conventions_01.jpg
ADDED
|
Git LFS Details
|
images/geneva_conventions/geneva_conventions_02.jpg
ADDED
|
Git LFS Details
|
images/geneva_conventions/geneva_conventions_03.jpg
ADDED
|
Git LFS Details
|
images/geneva_conventions/geneva_conventions_04.jpg
ADDED
|
Git LFS Details
|
images/geneva_conventions/geneva_conventions_05.jpg
ADDED
|
Git LFS Details
|
images/gladio_docs/gladio_docs_01.gif
ADDED
|
Git LFS Details
|
images/gladio_docs/gladio_docs_02.gif
ADDED
|
Git LFS Details
|
images/gladio_docs/gladio_docs_03.jpg
ADDED
|
Git LFS Details
|
images/gladio_docs/gladio_docs_04.jpg
ADDED
|
Git LFS Details
|
images/gladio_docs/gladio_docs_05.jpg
ADDED
|
Git LFS Details
|
images/helsinki_accords/helsinki_accords_01.jpg
ADDED
|
Git LFS Details
|
images/helsinki_accords/helsinki_accords_02.jpg
ADDED
|
Git LFS Details
|
images/helsinki_accords/helsinki_accords_03.jpg
ADDED
|
Git LFS Details
|
images/helsinki_accords/helsinki_accords_04.jpg
ADDED
|
Git LFS Details
|
images/helsinki_accords/helsinki_accords_05.jpg
ADDED
|
Git LFS Details
|
images/kadesh/kadesh_01.jpg
ADDED
|
Git LFS Details
|
images/kadesh/kadesh_02.jpg
ADDED
|
Git LFS Details
|
images/kadesh/kadesh_03.jpg
ADDED
|
Git LFS Details
|
images/kadesh/kadesh_04.jpg
ADDED
|
Git LFS Details
|
images/kadesh/kadesh_05.jpg
ADDED
|
Git LFS Details
|
images/korean_armistice/korean_armistice_01.jpg
ADDED
|
Git LFS Details
|
images/korean_armistice/korean_armistice_02.jpg
ADDED
|
Git LFS Details
|
images/korean_armistice/korean_armistice_03.jpg
ADDED
|
Git LFS Details
|
images/korean_armistice/korean_armistice_04.jpg
ADDED
|
Git LFS Details
|
images/korean_armistice/korean_armistice_05.jpg
ADDED
|
Git LFS Details
|
images/maastricht/maastricht_01.jpg
ADDED
|
Git LFS Details
|
images/maastricht/maastricht_02.jpg
ADDED
|
Git LFS Details
|
images/maastricht/maastricht_03.jpg
ADDED
|
Git LFS Details
|
images/maastricht/maastricht_04.jpg
ADDED
|
Git LFS Details
|
images/maastricht/maastricht_05.jpg
ADDED
|
Git LFS Details
|
images/molotov_ribbentrop/molotov_ribbentrop_01.jpg
ADDED
|
Git LFS Details
|
images/molotov_ribbentrop/molotov_ribbentrop_02.jpg
ADDED
|
Git LFS Details
|
images/molotov_ribbentrop/molotov_ribbentrop_03.jpg
ADDED
|
Git LFS Details
|
images/molotov_ribbentrop/molotov_ribbentrop_04.jpg
ADDED
|
Git LFS Details
|
images/molotov_ribbentrop/molotov_ribbentrop_05.jpg
ADDED
|
Git LFS Details
|
images/nato_treaty/nato_treaty_01.jpg
ADDED
|
Git LFS Details
|
images/nato_treaty/nato_treaty_02.jpg
ADDED
|
Git LFS Details
|
images/nato_treaty/nato_treaty_03.jpg
ADDED
|
Git LFS Details
|
images/nato_treaty/nato_treaty_04.jpg
ADDED
|
Git LFS Details
|
images/nato_treaty/nato_treaty_05.jpg
ADDED
|
Git LFS Details
|
images/npt/npt_01.jpg
ADDED
|
Git LFS Details
|
images/npt/npt_02.png
ADDED
|
Git LFS Details
|