docs(v2): refresh dataset card and viewer configs
Browse files
README.md
CHANGED
|
@@ -1,40 +1,116 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
dataset_info:
|
| 3 |
-
config_name: default
|
| 4 |
version: wikipedia-tags-v2
|
|
|
|
|
|
|
|
|
|
| 5 |
---
|
| 6 |
-
# OSM Polygon Wikidata + Wikipedia
|
| 7 |
|
| 8 |
-
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
|
| 12 |
## Snapshot
|
| 13 |
|
| 14 |
- **Hugging Face dataset:** [NoeFlandre/osm-polygon-wikidata-and-wikipedia](https://huggingface.co/datasets/NoeFlandre/osm-polygon-wikidata-and-wikipedia)
|
| 15 |
- **Regions:** 386
|
| 16 |
- **Polygons:** 1,259,424
|
|
|
|
| 17 |
- **Wikipedia documents:** 2,332,053
|
| 18 |
-
- **Wikipedia sections:** 12,492,162
|
| 19 |
- **Wikivoyage documents:** 14,420
|
|
|
|
|
|
|
| 20 |
- **Wikivoyage sections:** 302,200
|
| 21 |
- **Wikidata facts:** 3,901,092
|
| 22 |
- **Polygon-document links:** 2,541,553
|
| 23 |
- **Wikipedia-tag-only polygons:** 33,682
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
-
##
|
| 26 |
|
| 27 |
-
|
| 28 |
|
| 29 |
## Repository layout
|
| 30 |
|
| 31 |
-
- `polygons/` — one row
|
| 32 |
-
- `wikipedia/documents/`
|
| 33 |
-
|
| 34 |
-
- `
|
| 35 |
-
- `
|
| 36 |
-
- `
|
| 37 |
|
| 38 |
## Reproducibility
|
| 39 |
|
| 40 |
-
|
|
|
|
| 1 |
---
|
| 2 |
+
license: odbl
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
tags:
|
| 6 |
+
- openstreetmap
|
| 7 |
+
- wikidata
|
| 8 |
+
- wikipedia
|
| 9 |
+
- wikivoyage
|
| 10 |
+
- geospatial
|
| 11 |
+
configs:
|
| 12 |
+
- config_name: polygons
|
| 13 |
+
data_files:
|
| 14 |
+
- split: polygons
|
| 15 |
+
path: polygons/*.parquet
|
| 16 |
+
- config_name: polygon_document_links
|
| 17 |
+
data_files:
|
| 18 |
+
- split: polygon_document_links
|
| 19 |
+
path: polygon_document_links/*.parquet
|
| 20 |
+
- config_name: wikipedia_documents
|
| 21 |
+
data_files:
|
| 22 |
+
- split: wikipedia_documents
|
| 23 |
+
path: wikipedia/documents/*.parquet
|
| 24 |
+
- config_name: wikipedia_sections
|
| 25 |
+
data_files:
|
| 26 |
+
- split: wikipedia_sections
|
| 27 |
+
path: wikipedia/sections/*.parquet
|
| 28 |
+
- config_name: wikivoyage_documents
|
| 29 |
+
data_files:
|
| 30 |
+
- split: wikivoyage_documents
|
| 31 |
+
path: wikivoyage/documents/*.parquet
|
| 32 |
+
- config_name: wikivoyage_sections
|
| 33 |
+
data_files:
|
| 34 |
+
- split: wikivoyage_sections
|
| 35 |
+
path: wikivoyage/sections/*.parquet
|
| 36 |
+
- config_name: wikidata_facts
|
| 37 |
+
data_files:
|
| 38 |
+
- split: wikidata_facts
|
| 39 |
+
path: wikidata/facts/*.parquet
|
| 40 |
dataset_info:
|
|
|
|
| 41 |
version: wikipedia-tags-v2
|
| 42 |
+
regions: 386
|
| 43 |
+
polygons: 1259424
|
| 44 |
+
documents: 2346473
|
| 45 |
---
|
|
|
|
| 46 |
|
| 47 |
+
# OSM Polygon Wikidata + Wikipedia, V2
|
| 48 |
|
| 49 |
+

|
| 50 |
+
|
| 51 |
+
V2 keeps the V1 Wikidata-derived corpus and adds valid multilingual OSM `wikipedia=*` references, including polygons without a Wikidata QID. The code is maintained in the [GitHub repository](https://github.com/NoeFlandre/osm-polygon-wikidata-only).
|
| 52 |
+
|
| 53 |
+
The public V2 Trackio snapshot is [`final-dataset-snapshot-v2`](https://huggingface.co/spaces/NoeFlandre/osm-polygon-wikidata-and-wikipedia-trackio).
|
| 54 |
|
| 55 |
## Snapshot
|
| 56 |
|
| 57 |
- **Hugging Face dataset:** [NoeFlandre/osm-polygon-wikidata-and-wikipedia](https://huggingface.co/datasets/NoeFlandre/osm-polygon-wikidata-and-wikipedia)
|
| 58 |
- **Regions:** 386
|
| 59 |
- **Polygons:** 1,259,424
|
| 60 |
+
- **Unique Wikidata entities:** 1,119,287
|
| 61 |
- **Wikipedia documents:** 2,332,053
|
|
|
|
| 62 |
- **Wikivoyage documents:** 14,420
|
| 63 |
+
- **Wikipedia + Wikivoyage documents:** 2,346,473
|
| 64 |
+
- **Wikipedia sections:** 12,492,162
|
| 65 |
- **Wikivoyage sections:** 302,200
|
| 66 |
- **Wikidata facts:** 3,901,092
|
| 67 |
- **Polygon-document links:** 2,541,553
|
| 68 |
- **Wikipedia-tag-only polygons:** 33,682
|
| 69 |
+
- **Document words:** 845,066,382
|
| 70 |
+
- **Languages represented:** 353
|
| 71 |
+
- **Polygon/link-table storage:** 0.1 GB
|
| 72 |
+
- **Total Parquet storage:** 21.4 GB
|
| 73 |
+
|
| 74 |
+
## V2 compared with V1
|
| 75 |
+
|
| 76 |
+
The following deltas are computed from local V1 and V2 artifact identities, not entered manually:
|
| 77 |
+
|
| 78 |
+
- **Additional polygons discovered through V2 Wikipedia tags:** 75,314
|
| 79 |
+
- **Additional Wikipedia document identities:** 40,013
|
| 80 |
+
|
| 81 |
+
## Coverage maps
|
| 82 |
+
|
| 83 |
+
### All V2 dataset polygons
|
| 84 |
+
|
| 85 |
+

|
| 86 |
+
|
| 87 |
+
Every point is one retained V2 polygon, including polygons without text.
|
| 88 |
+
|
| 89 |
+
### Polygons with Wikipedia or Wikivoyage text
|
| 90 |
+
|
| 91 |
+

|
| 92 |
+
|
| 93 |
+
Each point is one polygon linked to at least one non-empty Wikipedia or Wikivoyage document. A polygon is counted once even when several documents qualify.
|
| 94 |
+
|
| 95 |
+
### H3 density of polygons with text
|
| 96 |
+
|
| 97 |
+

|
| 98 |
+
|
| 99 |
+
Each H3 cell shows the raw count of unique V2 polygons with non-empty Wikipedia or Wikivoyage text. Colour uses a logarithmic scale; it is not a proportion.
|
| 100 |
|
| 101 |
+
## Deduplication and provenance
|
| 102 |
|
| 103 |
+
V2 deduplicates documents by `document_id` and polygon-document links by `(polygon_id, project, document_id)` within each region. Byte-identical repeats collapse deterministically; conflicting rows fail closed. The `discovery_sources` and `link_sources` fields distinguish Wikidata-derived and direct Wikipedia-tag relationships.
|
| 104 |
|
| 105 |
## Repository layout
|
| 106 |
|
| 107 |
+
- `polygons/<stem>.parquet` — one row per retained OSM polygon.
|
| 108 |
+
- `wikipedia/documents/<stem>.parquet` and `wikipedia/sections/<stem>.parquet` — multilingual Wikipedia documents and their sections.
|
| 109 |
+
Wikipedia sections retain the exact V1 22-column section schema for lossless reuse.
|
| 110 |
+
- `wikivoyage/documents/<stem>.parquet` and `wikivoyage/sections/<stem>.parquet` — Wikivoyage documents and sections reused from V1 where available.
|
| 111 |
+
- `polygon_document_links/<stem>.parquet` — unified Wikipedia and Wikivoyage polygon links.
|
| 112 |
+
- `wikidata/facts/<stem>.parquet` — structured Wikidata facts.
|
| 113 |
|
| 114 |
## Reproducibility
|
| 115 |
|
| 116 |
+
Run V2 explicitly with `sync-dir --dataset-version v2`. V1 remains a separate contract and is not modified by V2 processing.
|