Datasets:
Refresh public dataset card and geographic coverage
Browse files- .gitattributes +1 -0
- README.md +40 -24
- assets/coverage_map.png +2 -2
- assets/geographic_polygon_count.png +2 -2
- assets/geographic_text_presence.png +3 -0
- assets/geographic_wikipedia_text_coverage.png +2 -2
.gitattributes
CHANGED
|
@@ -1571,3 +1571,4 @@ wikidata/facts/suriname-latest.parquet filter=lfs diff=lfs merge=lfs -text
|
|
| 1571 |
wikipedia/documents/swaziland-latest.parquet filter=lfs diff=lfs merge=lfs -text
|
| 1572 |
wikipedia/sections/swaziland-latest.parquet filter=lfs diff=lfs merge=lfs -text
|
| 1573 |
wikidata/facts/swaziland-latest.parquet filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 1571 |
wikipedia/documents/swaziland-latest.parquet filter=lfs diff=lfs merge=lfs -text
|
| 1572 |
wikipedia/sections/swaziland-latest.parquet filter=lfs diff=lfs merge=lfs -text
|
| 1573 |
wikidata/facts/swaziland-latest.parquet filter=lfs diff=lfs merge=lfs -text
|
| 1574 |
+
assets/geographic_text_presence.png filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -41,20 +41,17 @@ configs:
|
|
| 41 |
path: wikidata/facts/*.parquet
|
| 42 |
dataset_info:
|
| 43 |
polygon_count: 868861
|
| 44 |
-
unique_wikidata_count:
|
| 45 |
article_count: 1198523
|
| 46 |
---
|
| 47 |
|
| 48 |
# NoeFlandre/osm-polygon-wikidata-only
|
| 49 |
|
| 50 |
-
OSM polygons tagged with a `wikidata=*` reference, enriched with
|
| 51 |
|
| 52 |
- `polygons/<stem>.parquet` — one row per polygon
|
| 53 |
-
- `wikipedia/documents/<stem>.parquet` — one
|
| 54 |
-
- `polygon_articles/<stem>.parquet` — many-to-many
|
| 55 |
-
|
| 56 |
-
Additional derived text and fact tables are:
|
| 57 |
-
|
| 58 |
- `wikipedia/sections/<stem>.parquet`
|
| 59 |
- `wikivoyage/documents/<stem>.parquet` and `wikivoyage/sections/<stem>.parquet`
|
| 60 |
- `wikidata/facts/<stem>.parquet`
|
|
@@ -65,6 +62,14 @@ Maintained by **Noé Flandre**.
|
|
| 65 |
|
| 66 |
## Coverage
|
| 67 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |

|
| 69 |
|
| 70 |
## Geographic coverage
|
|
@@ -92,15 +97,13 @@ Both maps below aggregate dataset polygons into H3 cells at the same resolution.
|
|
| 92 |
| Polygon-article links | 1,307,889 |
|
| 93 |
| Languages | 351 |
|
| 94 |
| Geographic regions | 291 |
|
| 95 |
-
|
|
| 96 |
| Wikipedia documents | 1,198,523 |
|
| 97 |
| Wikipedia sections | 6,331,113 |
|
| 98 |
| Wikivoyage documents | 10,107 |
|
| 99 |
| Wikivoyage sections | 212,540 |
|
| 100 |
| Wikidata facts | 2,277,391 |
|
| 101 |
-
| Fully augmented regions | 291 |
|
| 102 |
| Wikipedia + Wikivoyage document words | 428,004,026 |
|
| 103 |
-
| Augmentation tables size | 9.1 GB |
|
| 104 |
| Total Parquet size | 10.7 GB |
|
| 105 |
|
| 106 |
Wikipedia + Wikivoyage document words sums the full Wikipedia and Wikivoyage documents and excludes section rows because sections duplicate document text.
|
|
@@ -158,26 +161,14 @@ Top 20 languages by Wikipedia document count:
|
|
| 158 |
- 10 language(s) appear in fewer than 10 Wikipedia document(s)
|
| 159 |
- 5 language(s) appear in fewer than 5 polygons
|
| 160 |
|
| 161 |
-
## Augmentation coverage
|
| 162 |
-
|
| 163 |
-
| Metric | Count | Percentage |
|
| 164 |
-
| --- | ---: | ---: |
|
| 165 |
-
| Core regions | 291 | 100.0% |
|
| 166 |
-
| Fully augmented | 291 | 100.0% |
|
| 167 |
-
| Partially augmented | 0 | 0.0% |
|
| 168 |
-
| Not augmented | 0 | 0.0% |
|
| 169 |
-
| Orphan sidecar stems | 0 | - |
|
| 170 |
-
|
| 171 |
-
Augmentation is additive and a zero-row sidecar may still represent a completed region. Orphan sidecars (a sidecar with no matching core polygon) do not count toward core regions.
|
| 172 |
-
|
| 173 |
## Storage accounting
|
| 174 |
|
| 175 |
Core tables size and total storage size are additive:
|
| 176 |
|
| 177 |
| Metric | Bytes | Human-readable |
|
| 178 |
| --- | ---: | --- |
|
| 179 |
-
|
|
| 180 |
-
|
|
| 181 |
| Total Parquet size | 11,521,298,549 | 10.7 GB |
|
| 182 |
|
| 183 |
## Wikipedia text corpus
|
|
@@ -197,6 +188,8 @@ Core tables size and total storage size are additive:
|
|
| 197 |
| Estimated tokens | 708,956,091 |
|
| 198 |
| Regions / files represented | 291 |
|
| 199 |
|
|
|
|
|
|
|
| 200 |
### Sections
|
| 201 |
|
| 202 |
| Metric | Value |
|
|
@@ -215,6 +208,8 @@ Core tables size and total storage size are additive:
|
|
| 215 |
| Estimated tokens | 944,148,731 |
|
| 216 |
| Regions / files represented | 291 |
|
| 217 |
|
|
|
|
|
|
|
| 218 |
### Languages
|
| 219 |
|
| 220 |
| Language | Documents | % of total |
|
|
@@ -248,6 +243,8 @@ Core tables size and total storage size are additive:
|
|
| 248 |
| Estimated tokens | 19,851,298 |
|
| 249 |
| Regions / files represented | 291 |
|
| 250 |
|
|
|
|
|
|
|
| 251 |
### Sections
|
| 252 |
|
| 253 |
| Metric | Value |
|
|
@@ -266,6 +263,8 @@ Core tables size and total storage size are additive:
|
|
| 266 |
| Estimated tokens | 23,361,733 |
|
| 267 |
| Regions / files represented | 291 |
|
| 268 |
|
|
|
|
|
|
|
| 269 |
### Languages
|
| 270 |
|
| 271 |
| Language | Documents | % of total |
|
|
@@ -322,6 +321,21 @@ Core tables size and total storage size are additive:
|
|
| 322 |
English labels are requested where available; multilingual labels are preserved verbatim in the Parquet column `property_labels`.
|
| 323 |
|
| 324 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 325 |
## Schema
|
| 326 |
|
| 327 |
### `polygons`
|
|
@@ -496,6 +510,8 @@ English labels are requested where available; multilingual labels are preserved
|
|
| 496 |
- **OpenStreetMap** polygons: (c) OpenStreetMap contributors, licensed under [ODbL 1.0](https://opendatacommons.org/licenses/odbl/).
|
| 497 |
- **Wikidata** entity data: [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/).
|
| 498 |
- **Wikipedia** article text: licensed under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/) by the respective Wikipedia editors; attributed inline per article.
|
|
|
|
|
|
|
| 499 |
|
| 500 |
## How to load
|
| 501 |
|
|
|
|
| 41 |
path: wikidata/facts/*.parquet
|
| 42 |
dataset_info:
|
| 43 |
polygon_count: 868861
|
| 44 |
+
unique_wikidata_count: 820063
|
| 45 |
article_count: 1198523
|
| 46 |
---
|
| 47 |
|
| 48 |
# NoeFlandre/osm-polygon-wikidata-only
|
| 49 |
|
| 50 |
+
OSM polygons tagged with a `wikidata=*` reference, enriched with Wikipedia and Wikivoyage text across all available languages. The published tables are:
|
| 51 |
|
| 52 |
- `polygons/<stem>.parquet` — one row per polygon
|
| 53 |
+
- `wikipedia/documents/<stem>.parquet` — one row per unique Wikipedia article
|
| 54 |
+
- `polygon_articles/<stem>.parquet` — polygon-to-Wikipedia many-to-many links
|
|
|
|
|
|
|
|
|
|
| 55 |
- `wikipedia/sections/<stem>.parquet`
|
| 56 |
- `wikivoyage/documents/<stem>.parquet` and `wikivoyage/sections/<stem>.parquet`
|
| 57 |
- `wikidata/facts/<stem>.parquet`
|
|
|
|
| 62 |
|
| 63 |
## Coverage
|
| 64 |
|
| 65 |
+
### Polygons with Wikipedia or Wikivoyage text
|
| 66 |
+
|
| 67 |
+

|
| 68 |
+
|
| 69 |
+
Each point is a dataset polygon with at least one non-empty Wikipedia document or a non-empty Wikivoyage document sharing its Wikidata entity. A polygon is shown once even when several documents qualify.
|
| 70 |
+
|
| 71 |
+
### All dataset polygons
|
| 72 |
+
|
| 73 |

|
| 74 |
|
| 75 |
## Geographic coverage
|
|
|
|
| 97 |
| Polygon-article links | 1,307,889 |
|
| 98 |
| Languages | 351 |
|
| 99 |
| Geographic regions | 291 |
|
| 100 |
+
| Polygon and link tables size | 5.7 GB |
|
| 101 |
| Wikipedia documents | 1,198,523 |
|
| 102 |
| Wikipedia sections | 6,331,113 |
|
| 103 |
| Wikivoyage documents | 10,107 |
|
| 104 |
| Wikivoyage sections | 212,540 |
|
| 105 |
| Wikidata facts | 2,277,391 |
|
|
|
|
| 106 |
| Wikipedia + Wikivoyage document words | 428,004,026 |
|
|
|
|
| 107 |
| Total Parquet size | 10.7 GB |
|
| 108 |
|
| 109 |
Wikipedia + Wikivoyage document words sums the full Wikipedia and Wikivoyage documents and excludes section rows because sections duplicate document text.
|
|
|
|
| 161 |
- 10 language(s) appear in fewer than 10 Wikipedia document(s)
|
| 162 |
- 5 language(s) appear in fewer than 5 polygons
|
| 163 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 164 |
## Storage accounting
|
| 165 |
|
| 166 |
Core tables size and total storage size are additive:
|
| 167 |
|
| 168 |
| Metric | Bytes | Human-readable |
|
| 169 |
| --- | ---: | --- |
|
| 170 |
+
| Polygon and link tables size | 1,709,721,973 | 1.6 GB |
|
| 171 |
+
| Wikipedia, Wikivoyage, and Wikidata tables size | 9,811,576,576 | 9.1 GB |
|
| 172 |
| Total Parquet size | 11,521,298,549 | 10.7 GB |
|
| 173 |
|
| 174 |
## Wikipedia text corpus
|
|
|
|
| 188 |
| Estimated tokens | 708,956,091 |
|
| 189 |
| Regions / files represented | 291 |
|
| 190 |
|
| 191 |
+
Estimated tokens use a transparent approximation: `characters // 4` per non-empty text row, with a minimum of one token per non-empty row.
|
| 192 |
+
|
| 193 |
### Sections
|
| 194 |
|
| 195 |
| Metric | Value |
|
|
|
|
| 208 |
| Estimated tokens | 944,148,731 |
|
| 209 |
| Regions / files represented | 291 |
|
| 210 |
|
| 211 |
+
Estimated tokens use a transparent approximation: `characters // 4` per non-empty text row, with a minimum of one token per non-empty row.
|
| 212 |
+
|
| 213 |
### Languages
|
| 214 |
|
| 215 |
| Language | Documents | % of total |
|
|
|
|
| 243 |
| Estimated tokens | 19,851,298 |
|
| 244 |
| Regions / files represented | 291 |
|
| 245 |
|
| 246 |
+
Estimated tokens use a transparent approximation: `characters // 4` per non-empty text row, with a minimum of one token per non-empty row.
|
| 247 |
+
|
| 248 |
### Sections
|
| 249 |
|
| 250 |
| Metric | Value |
|
|
|
|
| 263 |
| Estimated tokens | 23,361,733 |
|
| 264 |
| Regions / files represented | 291 |
|
| 265 |
|
| 266 |
+
Estimated tokens use a transparent approximation: `characters // 4` per non-empty text row, with a minimum of one token per non-empty row.
|
| 267 |
+
|
| 268 |
### Languages
|
| 269 |
|
| 270 |
| Language | Documents | % of total |
|
|
|
|
| 321 |
English labels are requested where available; multilingual labels are preserved verbatim in the Parquet column `property_labels`.
|
| 322 |
|
| 323 |
|
| 324 |
+
## Geographic distribution by continent
|
| 325 |
+
|
| 326 |
+
Polygon centroids are assigned to Natural Earth countries and continents. Document counts are distinct within each continent; polygons are counted once.
|
| 327 |
+
|
| 328 |
+
| Continent | Polygons | Wikipedia documents | Wikivoyage documents | Polygons with Wikipedia text | Polygons with Wikipedia or Wikivoyage text | Text coverage |
|
| 329 |
+
| --- | ---: | ---: | ---: | ---: | ---: | ---: |
|
| 330 |
+
| Africa | 9,492 | 44,292 | 508 | 6,497 | 6,499 | 68.5% |
|
| 331 |
+
| Antarctica | 254 | 1,684 | 1 | 251 | 251 | 98.8% |
|
| 332 |
+
| Asia | 101,279 | 157,926 | 1,327 | 34,518 | 34,543 | 34.1% |
|
| 333 |
+
| Europe | 634,613 | 705,576 | 4,587 | 235,923 | 236,061 | 37.2% |
|
| 334 |
+
| North America | 38,346 | 68,339 | 761 | 27,535 | 27,538 | 71.8% |
|
| 335 |
+
| Oceania | 19,788 | 30,545 | 393 | 11,449 | 11,450 | 57.9% |
|
| 336 |
+
| South America | 17,020 | 54,734 | 691 | 11,577 | 11,578 | 68.0% |
|
| 337 |
+
| Unassigned | 48,069 | 104,547 | 1,607 | 23,185 | 23,206 | 48.3% |
|
| 338 |
+
|
| 339 |
## Schema
|
| 340 |
|
| 341 |
### `polygons`
|
|
|
|
| 510 |
- **OpenStreetMap** polygons: (c) OpenStreetMap contributors, licensed under [ODbL 1.0](https://opendatacommons.org/licenses/odbl/).
|
| 511 |
- **Wikidata** entity data: [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/).
|
| 512 |
- **Wikipedia** article text: licensed under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/) by the respective Wikipedia editors; attributed inline per article.
|
| 513 |
+
- **Wikivoyage** text: licensed under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/) by the respective Wikivoyage editors; attributed inline per document.
|
| 514 |
+
- **Natural Earth** Admin-0 geography: public-domain 1:110m reference data used only to assign centroid-based continent statistics and draw context maps.
|
| 515 |
|
| 516 |
## How to load
|
| 517 |
|
assets/coverage_map.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
assets/geographic_polygon_count.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
assets/geographic_text_presence.png
ADDED
|
Git LFS Details
|
assets/geographic_wikipedia_text_coverage.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|