v5.17: 140,946 fragrances (+716), refreshed reviews and news, SPEC restated
Browse files
README.md
CHANGED
|
@@ -539,12 +539,29 @@ dataset_info:
|
|
| 539 |
dtype: string
|
| 540 |
---
|
| 541 |
|
| 542 |
-
# FragDB v5.
|
| 543 |
|
| 544 |
-
The most comprehensive structured fragrance database available. This is a **free sample** of FragDB: **140,
|
| 545 |
|
| 546 |
Full dataset: [fragdb.net](https://fragdb.net).
|
| 547 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 548 |
## What's New in v5.16
|
| 549 |
|
| 550 |
- **Data updated** from v5.15 → v5.16 (snapshot 2026-09-19):
|
|
@@ -668,8 +685,8 @@ All F column counts identical (30/54/42/55/27/25) — existing scripts work with
|
|
| 668 |
|
| 669 |
## Snapshot freshness
|
| 670 |
|
| 671 |
-
- **Data refreshed**: 2026-09-
|
| 672 |
-
- **Reviews, news, news comments** (parquet):
|
| 673 |
|
| 674 |
## Data API — per-record access
|
| 675 |
|
|
@@ -782,9 +799,9 @@ FragDB ships with **three Apache Parquet datasets** containing **4.9 million row
|
|
| 782 |
|
| 783 |
The world's largest collection of structured fragrance reviews. Every entry includes the perfume ID (joinable with `fragrances.csv`), author username, posting date, full review text, avatar URL, and language code.
|
| 784 |
|
| 785 |
-
- **4,
|
| 786 |
- **23 languages** — English (1.88M), Russian, Portuguese, Spanish, Korean, Turkish, Japanese, Polish, Italian, Hungarian, Serbian, Swedish, German, Hebrew, Ukrainian, French, Arabic, Greek, Czech, Chinese, Romanian, Mongolian, Dutch
|
| 787 |
-
- **Coverage:** 69.
|
| 788 |
- **Deterministic global primary key** — stable comment IDs survive re-scrapes
|
| 789 |
- **Zero duplicate rows**; every `pid` joins `fragrances.csv` except 48 reviews (0.001%) on 10 perfumes no longer in the catalogue
|
| 790 |
- **Independent UGC per language** — genuine localized content, not machine translation
|
|
@@ -793,26 +810,26 @@ The world's largest collection of structured fragrance reviews. Every entry incl
|
|
| 793 |
|
| 794 |
**Use cases:** sentiment analysis · review classification · recommendation systems · perfume similarity from text · language detection benchmark · multilingual NLP training corpus · fragrance market research · author network analysis · trend detection by language
|
| 795 |
|
| 796 |
-
### `news.parquet` — 25,
|
| 797 |
|
| 798 |
Two decades of professional fragrance journalism. Every article includes title, author, full text (plain + HTML), category, related perfumes/brands/perfumers, publication date, and main image.
|
| 799 |
|
| 800 |
-
- **25,
|
| 801 |
-
- **30+ categories** — New Fragrances (34.
|
| 802 |
- **Bilingual storage** — `text` (plain) for NLP, `text_html` (markup preserved) for rich display
|
| 803 |
- **Linked entities** — `related_pids[]`, `related_brands[]`, `related_perfumers[]` as JSON arrays
|
| 804 |
-
- **
|
| 805 |
-
- **
|
| 806 |
- **16 fields:** `nid`, `title`, `category`, `author`, `url`, `is_archived`, `date_unix`, `description`, `text`, `text_html`, `main_image`, `article_images`, `related_pids`, `related_brands`, `related_perfumers`, `comments_count`
|
| 807 |
|
| 808 |
**Use cases:** content recommendation · article search engine · perfume knowledge graph · trend analysis · author influence study · entity linking · timeline analysis · industry research · niche perfumery research
|
| 809 |
|
| 810 |
-
### `news_comments.parquet` —
|
| 811 |
|
| 812 |
Community discussions attached to editorial articles, with threading support for replies. Joinable with `news.parquet` via `nid`.
|
| 813 |
|
| 814 |
-
- **
|
| 815 |
-
- **
|
| 816 |
- **100% populated timestamps**
|
| 817 |
- **9 fields:** `nid`, `comment_id`, `is_reply`, `author`, `date`, `date_unix`, `text`, `avatar_url`, `gradient`
|
| 818 |
|
|
@@ -862,7 +879,7 @@ Full schema in [`SPEC.md`](SPEC.md).
|
|
| 862 |
- **Market Research** — Country-of-origin analysis, parent company portfolios, perfumer productivity stats
|
| 863 |
|
| 864 |
**Parquet Datasets ($400+ tiers):**
|
| 865 |
-
- **NLP & Sentiment Analysis** — Train models on
|
| 866 |
- **Recommender Systems** — Hybrid models combining CSV structure with review text similarity
|
| 867 |
- **Language Models** — Domain-specific corpus for fragrance/perfumery LLM fine-tuning
|
| 868 |
- **Review Classification** — Identify positive/negative reviews, fake review detection
|
|
@@ -872,20 +889,20 @@ Full schema in [`SPEC.md`](SPEC.md).
|
|
| 872 |
- **Community Analytics** — Reply networks, engagement metrics on editorial content
|
| 873 |
- **Cross-Language Studies** — Compare review sentiment across 23 languages for the same fragrance
|
| 874 |
- **Search Engines** — Full-text search across reviews, articles, and structured metadata
|
| 875 |
-
- **Knowledge Extraction** — Mine
|
| 876 |
|
| 877 |
### Full Database
|
| 878 |
|
| 879 |
| | Sample | Full Database |
|
| 880 |
|---|--------|---------------|
|
| 881 |
-
| Fragrances | 10 | **140,
|
| 882 |
-
| Brands | 10 | **8,
|
| 883 |
-
| Perfumers | 10 | **3,
|
| 884 |
-
| Notes | 10 | **2,
|
| 885 |
| Accords | 10 | **92** |
|
| 886 |
| Translations | 34 | **34** |
|
| 887 |
| Languages | 23 | **23** |
|
| 888 |
-
| **Total Records** | ~84 | **
|
| 889 |
|
| 890 |
## Quick Start
|
| 891 |
|
|
|
|
| 539 |
dtype: string
|
| 540 |
---
|
| 541 |
|
| 542 |
+
# FragDB v5.17 — Fragrance Database (Multilingual Sample)
|
| 543 |
|
| 544 |
+
The most comprehensive structured fragrance database available. This is a **free sample** of FragDB: **140,946 perfumes, 23 languages** — 10-row CSV samples at root.
|
| 545 |
|
| 546 |
Full dataset: [fragdb.net](https://fragdb.net).
|
| 547 |
|
| 548 |
+
## What's New in v5.17
|
| 549 |
+
|
| 550 |
+
- **Data updated** from v5.16 → v5.17 (snapshot 2026-09-30):
|
| 551 |
+
- Fragrances: 140,230 → **140,946** (+716)
|
| 552 |
+
- Brands: 8,316 → **8,359** (+43)
|
| 553 |
+
- Perfumers: 3,126 → **3,144** (+18)
|
| 554 |
+
- Notes: 2,606 → **2,610** rows in `notes.csv` (+4)
|
| 555 |
+
- **Companion parquet refreshed** — user reviews 4,986,774 → **4,988,692** (+1,918),
|
| 556 |
+
editorial articles 25,619 → **25,709** (+90), news comments 276,483 → **277,446** (+963).
|
| 557 |
+
- Figures on this page and in `SPEC.md` are measured against the v5.17 files. Several had
|
| 558 |
+
been left behind by earlier releases — the snapshot dates, the category split, the PID
|
| 559 |
+
references, the archived share and the reply rate here, and most of `SPEC.md`, which still
|
| 560 |
+
described the May 2026 snapshot. All of them are now restated.
|
| 561 |
+
- Correction: 84 of the 250 newest articles (NID 25,970 and above) carry `date_unix = 0`;
|
| 562 |
+
earlier text said every non-archived article is dated.
|
| 563 |
+
- Sample files unchanged: the schema did not move between v5.16 and v5.17.
|
| 564 |
+
|
| 565 |
## What's New in v5.16
|
| 566 |
|
| 567 |
- **Data updated** from v5.15 → v5.16 (snapshot 2026-09-19):
|
|
|
|
| 685 |
|
| 686 |
## Snapshot freshness
|
| 687 |
|
| 688 |
+
- **Data refreshed**: 2026-09-30 (v5.17)
|
| 689 |
+
- **Reviews, news, news comments** (parquet): refreshed in this release — latest review 2026-09-30, latest article 2026-09-27, latest news comment 2026-09-30
|
| 690 |
|
| 691 |
## Data API — per-record access
|
| 692 |
|
|
|
|
| 799 |
|
| 800 |
The world's largest collection of structured fragrance reviews. Every entry includes the perfume ID (joinable with `fragrances.csv`), author username, posting date, full review text, avatar URL, and language code.
|
| 801 |
|
| 802 |
+
- **4,988,692 user reviews** covering every major perfume in the database
|
| 803 |
- **23 languages** — English (1.88M), Russian, Portuguese, Spanish, Korean, Turkish, Japanese, Polish, Italian, Hungarian, Serbian, Swedish, German, Hebrew, Ukrainian, French, Arabic, Greek, Czech, Chinese, Romanian, Mongolian, Dutch
|
| 804 |
+
- **Coverage:** 69.4% of all fragrances have at least one review (97,849 of 140,946 PIDs)
|
| 805 |
- **Deterministic global primary key** — stable comment IDs survive re-scrapes
|
| 806 |
- **Zero duplicate rows**; every `pid` joins `fragrances.csv` except 48 reviews (0.001%) on 10 perfumes no longer in the catalogue
|
| 807 |
- **Independent UGC per language** — genuine localized content, not machine translation
|
|
|
|
| 810 |
|
| 811 |
**Use cases:** sentiment analysis · review classification · recommendation systems · perfume similarity from text · language detection benchmark · multilingual NLP training corpus · fragrance market research · author network analysis · trend detection by language
|
| 812 |
|
| 813 |
+
### `news.parquet` — 25,709 Editorial Articles (2008–2026)
|
| 814 |
|
| 815 |
Two decades of professional fragrance journalism. Every article includes title, author, full text (plain + HTML), category, related perfumes/brands/perfumers, publication date, and main image.
|
| 816 |
|
| 817 |
+
- **25,709 editorial articles** from 2008 to 2026 — complete public archive
|
| 818 |
+
- **30+ categories** — New Fragrances (34.0%), Fragrance Reviews (24.0%), Niche Perfumery (10.2%), Designer Brands, Interviews, History, Industry News
|
| 819 |
- **Bilingual storage** — `text` (plain) for NLP, `text_html` (markup preserved) for rich display
|
| 820 |
- **Linked entities** — `related_pids[]`, `related_brands[]`, `related_perfumers[]` as JSON arrays
|
| 821 |
+
- **126,428 PID references** — all but 175 (0.14%) resolve; those point to perfumes no longer in the catalogue
|
| 822 |
+
- **60.1% archived legacy, 39.9% modern** articles, all dated except 84 of the 250 newest (NID 25,970 and above)
|
| 823 |
- **16 fields:** `nid`, `title`, `category`, `author`, `url`, `is_archived`, `date_unix`, `description`, `text`, `text_html`, `main_image`, `article_images`, `related_pids`, `related_brands`, `related_perfumers`, `comments_count`
|
| 824 |
|
| 825 |
**Use cases:** content recommendation · article search engine · perfume knowledge graph · trend analysis · author influence study · entity linking · timeline analysis · industry research · niche perfumery research
|
| 826 |
|
| 827 |
+
### `news_comments.parquet` — 277,446 Threaded Community Comments
|
| 828 |
|
| 829 |
Community discussions attached to editorial articles, with threading support for replies. Joinable with `news.parquet` via `nid`.
|
| 830 |
|
| 831 |
+
- **277,446 threaded comments** across **22,974 articles** (89.4% of news articles have ≥1 comment)
|
| 832 |
+
- **5.5% reply rate** — threaded conversations with reply detection
|
| 833 |
- **100% populated timestamps**
|
| 834 |
- **9 fields:** `nid`, `comment_id`, `is_reply`, `author`, `date`, `date_unix`, `text`, `avatar_url`, `gradient`
|
| 835 |
|
|
|
|
| 879 |
- **Market Research** — Country-of-origin analysis, parent company portfolios, perfumer productivity stats
|
| 880 |
|
| 881 |
**Parquet Datasets ($400+ tiers):**
|
| 882 |
+
- **NLP & Sentiment Analysis** — Train models on 5.0M multilingual fragrance reviews
|
| 883 |
- **Recommender Systems** — Hybrid models combining CSV structure with review text similarity
|
| 884 |
- **Language Models** — Domain-specific corpus for fragrance/perfumery LLM fine-tuning
|
| 885 |
- **Review Classification** — Identify positive/negative reviews, fake review detection
|
|
|
|
| 889 |
- **Community Analytics** — Reply networks, engagement metrics on editorial content
|
| 890 |
- **Cross-Language Studies** — Compare review sentiment across 23 languages for the same fragrance
|
| 891 |
- **Search Engines** — Full-text search across reviews, articles, and structured metadata
|
| 892 |
+
- **Knowledge Extraction** — Mine 26K editorial articles for perfume facts, launch dates, perfumer interviews
|
| 893 |
|
| 894 |
### Full Database
|
| 895 |
|
| 896 |
| | Sample | Full Database |
|
| 897 |
|---|--------|---------------|
|
| 898 |
+
| Fragrances | 10 | **140,946** |
|
| 899 |
+
| Brands | 10 | **8,359** |
|
| 900 |
+
| Perfumers | 10 | **3,144** |
|
| 901 |
+
| Notes | 10 | **2,610** |
|
| 902 |
| Accords | 10 | **92** |
|
| 903 |
| Translations | 34 | **34** |
|
| 904 |
| Languages | 23 | **23** |
|
| 905 |
+
| **Total Records** | ~84 | **155,185** |
|
| 906 |
|
| 907 |
## Quick Start
|
| 908 |
|
SPEC.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
# Fragrantika News & Comments Datasets — Technical Specification
|
| 2 |
|
| 3 |
-
**Snapshot date:** 2026-
|
| 4 |
**Source:** `fragrantica.com` and 22 localized domains (`fragrantica.de`, `fragrantica.ru`, etc.)
|
| 5 |
**Format:** Apache Parquet (Zstandard compression)
|
| 6 |
-
**Total combined size:** ~1.
|
| 7 |
|
| 8 |
This document specifies three datasets that complement the existing
|
| 9 |
Fragrantika perfume database (`merged_database`, `brands_database_v2`,
|
|
@@ -23,9 +23,9 @@ existing perfume/brand/perfumer DBs via primary keys.
|
|
| 23 |
|
| 24 |
| Dataset | Rows | Compressed Size | Distinct entities |
|
| 25 |
|---|---:|---:|---:|
|
| 26 |
-
| `comments.parquet` | 4,
|
| 27 |
-
| `news.parquet` |
|
| 28 |
-
| `news_comments.parquet` |
|
| 29 |
|
| 30 |
All three datasets share the same identifier conventions used by the
|
| 31 |
existing perfume/brand/perfumer databases:
|
|
@@ -59,38 +59,38 @@ or syndication.
|
|
| 59 |
|
| 60 |
### 2.2 Volumetrics
|
| 61 |
|
| 62 |
-
- **Total rows:** 4,
|
| 63 |
-
- **Distinct PIDs covered:**
|
| 64 |
-
- **PID range:** 1 —
|
| 65 |
- **Languages:** 23 (full list in §2.3)
|
| 66 |
|
| 67 |
### 2.3 Language distribution
|
| 68 |
|
| 69 |
| Lang | Code | Comments | Distinct PIDs |
|
| 70 |
|---|---|---:|---:|
|
| 71 |
-
| English | `en` | 1,
|
| 72 |
-
| Russian | `ru` |
|
| 73 |
-
| Portuguese (Brazilian) | `pt` |
|
| 74 |
-
| Spanish | `es` |
|
| 75 |
-
| Korean | `ko` |
|
| 76 |
-
| Turkish | `tr` |
|
| 77 |
-
| Japanese | `ja` |
|
| 78 |
-
| Polish | `pl` |
|
| 79 |
-
| Italian | `it` |
|
| 80 |
-
|
|
| 81 |
-
|
|
| 82 |
-
| Swedish | `sv` |
|
| 83 |
-
| German | `de` |
|
| 84 |
-
| Hebrew | `he` |
|
| 85 |
-
| Ukrainian | `uk` |
|
| 86 |
-
| French | `fr` |
|
| 87 |
-
| Arabic | `ar` |
|
| 88 |
-
| Greek | `el` |
|
| 89 |
-
| Czech | `cs` | 24,
|
| 90 |
-
| Chinese (Simplified) | `zh` |
|
| 91 |
-
|
|
| 92 |
-
|
|
| 93 |
-
|
|
| 94 |
|
| 95 |
Each `lang` represents an independent set of user reviews from the
|
| 96 |
corresponding national Fragrantika domain. A user reviewing the same
|
|
@@ -129,7 +129,7 @@ articles and modern editorial content.
|
|
| 129 |
| 9 | `article_images` | `string` | NO | **JSON-encoded array** of all image URLs in the article body. Use `json.loads(field)` → `list[str]`. Empty array `'[]'` if none. |
|
| 130 |
| 10 | `url` | `string` | NO | Canonical article URL (e.g., `https://www.fragrantica.com/news/x-12345.html`). |
|
| 131 |
| 11 | `is_archived` | `bool` | NO | `True` if article is in Fragrantika's legacy/archived corpus (older HTML template, often missing publication date — see §3.5). |
|
| 132 |
-
| 12 | `related_pids` | `string` | NO | **JSON-encoded array** of PIDs (as decimal strings) referenced in the article. Foreign key → `merged_database.PID`.
|
| 133 |
| 13 | `related_brands` | `string` | NO | **JSON-encoded array** of brand names. Informational metadata; see §5.4 for canonical resolution. |
|
| 134 |
| 14 | `related_perfumers` | `string` | NO | **JSON-encoded array** of perfumer names with diacritics preserved (e.g., `François Demachy`, `Carlos Benaïm`). Informational; see §5.5. |
|
| 135 |
| 15 | `comments_count` | `int32` | NO | Count of comments in `news_comments.parquet` matching this NID. |
|
|
@@ -137,11 +137,11 @@ articles and modern editorial content.
|
|
| 137 |
|
| 138 |
### 3.2 Volumetrics
|
| 139 |
|
| 140 |
-
- **Total rows:**
|
| 141 |
-
- **NID range:** 1 —
|
| 142 |
-
- **Archived:** 15,
|
| 143 |
-
- **Non-archived:**
|
| 144 |
-
- **With publication date (`date_unix > 0`):**
|
| 145 |
|
| 146 |
### 3.3 List-fields format note
|
| 147 |
|
|
@@ -161,39 +161,41 @@ the int `704`). Cast as needed when joining.
|
|
| 161 |
|
| 162 |
| Category | Articles | % |
|
| 163 |
|---|---:|---:|
|
| 164 |
-
| New Fragrances | 8,
|
| 165 |
-
| Fragrance Reviews |
|
| 166 |
-
| Niche Perfumery | 2,
|
| 167 |
-
| Art Books Events | 1,
|
| 168 |
-
| Columns | 1,
|
| 169 |
-
| Fragrant Horoscope |
|
| 170 |
-
| Fragrance News |
|
| 171 |
-
| Interviews |
|
| 172 |
-
| Vintages |
|
| 173 |
-
| Raw Materials |
|
| 174 |
-
|
| 175 |
-
Remaining 1,
|
| 176 |
|
| 177 |
### 3.5 Date coverage
|
| 178 |
|
| 179 |
-
`date_unix == 0` for 10,
|
| 180 |
|
| 181 |
| NID range | Articles | with date | % | archived % |
|
| 182 |
|---|---:|---:|---:|---:|
|
| 183 |
-
| 1 — 5,000 | 4,
|
| 184 |
-
| 5,001 — 10,000 | 4,
|
| 185 |
-
| 10,001 — 15,000 | 4,
|
| 186 |
-
| 15,001 — 20,000 | 4,
|
| 187 |
-
| 20,001 — 25,000 | 4,
|
| 188 |
-
|
| 189 |
-
|
| 190 |
-
|
|
|
|
| 191 |
NIDs 10,001–15,000 (the remaining 22% of that range — the other 78% have
|
| 192 |
recoverable visible-text dates). Fragrantika's old archived HTML does not
|
| 193 |
embed any date marker (no `<time>`, no `<meta>`, no visible date string)
|
| 194 |
for these. This is an upstream HTML limitation, not a parser issue.
|
| 195 |
-
|
| 196 |
-
|
|
|
|
| 197 |
|
| 198 |
---
|
| 199 |
|
|
@@ -214,13 +216,13 @@ Fragrantika uses on perfume pages.
|
|
| 214 |
| 6 | `text` | `string` | NO | Comment body, plain text. |
|
| 215 |
| 7 | `avatar_url` | `string` | NO | Full URL to author avatar (Fragrantika CDN). |
|
| 216 |
| 8 | `gradient` | `string` | NO | CSS class for color badge (same scheme as `comments.parquet.gradient_class`). |
|
| 217 |
-
| 9 | `is_reply` | `bool` | NO | `True` if this comment is a reply to another comment (threaded discussion); `False` for root comments.
|
| 218 |
|
| 219 |
### 4.2 Volumetrics
|
| 220 |
|
| 221 |
-
- **Total rows:**
|
| 222 |
-
- **Distinct NIDs:**
|
| 223 |
-
- **Replies:**
|
| 224 |
- **Average comments per article (in articles with comments):** 12.1
|
| 225 |
|
| 226 |
---
|
|
@@ -234,7 +236,7 @@ existing perfume/brand/perfumer DBs.
|
|
| 234 |
|
| 235 |
```
|
| 236 |
┌────────────────────────────────────────────────────────┐
|
| 237 |
-
│ merged_database.csv (existing,
|
| 238 |
│ ───────────────────── │
|
| 239 |
�� PID ←──────────────────────┐ │
|
| 240 |
│ Brand │ │
|
|
@@ -269,7 +271,7 @@ existing perfume/brand/perfumer DBs.
|
|
| 269 |
|
| 270 |
### 5.2 Linking comments to perfumes (PID)
|
| 271 |
|
| 272 |
-
Foreign key: **`comments.pid → merged_database.PID`** —
|
| 273 |
|
| 274 |
```sql
|
| 275 |
-- All English reviews for the perfume "Mugler Angel" (PID 704):
|
|
@@ -292,7 +294,7 @@ angel_reviews = c.filter(pc.and_(pc.equal(c['pid'], 704),
|
|
| 292 |
### 5.3 Linking news to perfumes (related_pids)
|
| 293 |
|
| 294 |
Foreign key: **`news.related_pids → merged_database.PID`** — JSON-array
|
| 295 |
-
field, 0%
|
| 296 |
|
| 297 |
```sql
|
| 298 |
-- All news mentioning Aventus (PID 9828):
|
|
@@ -467,16 +469,16 @@ The datasets passed a multi-track validation audit (full report:
|
|
| 467 |
| Check | Result |
|
| 468 |
|---|:---:|
|
| 469 |
| Duplicate rows by primary key (all 3 datasets) | 0 |
|
| 470 |
-
| FK integrity (`comments.pid → PID`) |
|
| 471 |
-
| FK integrity (`news.related_pids → PID`) |
|
| 472 |
| FK integrity (`news_comments.nid → nid`) | 0 orphans |
|
| 473 |
-
| `comment_id` global uniqueness (`comments.parquet`) | 0 collisions over
|
| 474 |
| HTML/CSS pollution in text fields | 0 |
|
| 475 |
| Cloudflare challenge pages in data | 0 |
|
| 476 |
| Mojibake / replacement char (U+FFFD) | 0 |
|
| 477 |
| Language attribution accuracy (langdetect on sample) | >95% per language |
|
| 478 |
| `news_comments.date_unix > 0` populated | 100% |
|
| 479 |
-
| `news.date_unix > 0` populated (non-archived) |
|
| 480 |
|
| 481 |
### 7.1 Provenance
|
| 482 |
|
|
@@ -490,14 +492,15 @@ to deterministic comment IDs (§2.4).
|
|
| 490 |
|
| 491 |
## 8. Known limitations (transparent disclosure)
|
| 492 |
|
| 493 |
-
1. **
|
| 494 |
Fragrantika's archived HTML template does not embed any date marker
|
| 495 |
(`<time>`, meta tag, or visible string). For these articles, `date_unix`
|
| 496 |
-
is `0`. The no-date subset is concentrated in NIDs 1–15,000: 9,
|
| 497 |
-
9,
|
| 498 |
-
10,001–15,000. (
|
| 499 |
-
dates.)
|
| 500 |
-
|
|
|
|
| 501 |
|
| 502 |
2. **`related_brands` matching gap (~12%).** Fragrantika has renamed
|
| 503 |
~50 brands over the years (e.g., `Christian Dior → Dior`); the captured
|
|
@@ -517,9 +520,9 @@ to deterministic comment IDs (§2.4).
|
|
| 517 |
(e.g., a "5/10" rating posted by the same author on multiple subdomains).
|
| 518 |
These are real (Fragrantika's display behavior), not parser duplicates.
|
| 519 |
|
| 520 |
-
5. **Comments PID coverage gap.**
|
| 521 |
-
in any language.
|
| 522 |
-
99.8% of
|
| 523 |
targeted re-collection of the 73 PIDs flagged as `reviews_count > 0`
|
| 524 |
yet missing comments recovered 68 of them (305 new comments added);
|
| 525 |
the remaining 5 PIDs have `reviews_count > 0` in Fragrantika's metadata
|
|
@@ -624,9 +627,9 @@ trace and confirm relational integrity.
|
|
| 624 |
|
| 625 |
| Field | Value |
|
| 626 |
|---|---|
|
| 627 |
-
| Snapshot date | 2026-
|
| 628 |
-
| Comments PID range | 1 —
|
| 629 |
-
| News NID range | 1 —
|
| 630 |
| Schema version | v1 (8 / 16 / 9 fields respectively) |
|
| 631 |
| Compression | zstd |
|
| 632 |
| Format | Parquet 2.x |
|
|
|
|
| 1 |
# Fragrantika News & Comments Datasets — Technical Specification
|
| 2 |
|
| 3 |
+
**Snapshot date:** 2026-09-30 (v5.17)
|
| 4 |
**Source:** `fragrantica.com` and 22 localized domains (`fragrantica.de`, `fragrantica.ru`, etc.)
|
| 5 |
**Format:** Apache Parquet (Zstandard compression)
|
| 6 |
+
**Total combined size:** ~1.55 GB on disk
|
| 7 |
|
| 8 |
This document specifies three datasets that complement the existing
|
| 9 |
Fragrantika perfume database (`merged_database`, `brands_database_v2`,
|
|
|
|
| 23 |
|
| 24 |
| Dataset | Rows | Compressed Size | Distinct entities |
|
| 25 |
|---|---:|---:|---:|
|
| 26 |
+
| `comments.parquet` | 4,988,692 | 1.40 GB | 97,859 perfumes, 23 languages |
|
| 27 |
+
| `news.parquet` | 25,709 articles | 114 MB | NID 1..26219 |
|
| 28 |
+
| `news_comments.parquet` | 277,446 | 37 MB | 22,974 articles with comments |
|
| 29 |
|
| 30 |
All three datasets share the same identifier conventions used by the
|
| 31 |
existing perfume/brand/perfumer databases:
|
|
|
|
| 59 |
|
| 60 |
### 2.2 Volumetrics
|
| 61 |
|
| 62 |
+
- **Total rows:** 4,988,692
|
| 63 |
+
- **Distinct PIDs covered:** 97,859 — 97,849 of the 140,946 perfumes in `fragrances.csv` (69.4%), plus 10 perfumes no longer in the catalogue; the remaining 43,097 perfumes have zero reviews
|
| 64 |
+
- **PID range:** 1 — 143,475
|
| 65 |
- **Languages:** 23 (full list in §2.3)
|
| 66 |
|
| 67 |
### 2.3 Language distribution
|
| 68 |
|
| 69 |
| Lang | Code | Comments | Distinct PIDs |
|
| 70 |
|---|---|---:|---:|
|
| 71 |
+
| English | `en` | 1,879,532 | 81,148 (58% of perfumes) |
|
| 72 |
+
| Russian | `ru` | 938,870 | 55,094 |
|
| 73 |
+
| Portuguese (Brazilian) | `pt` | 283,681 | 23,258 |
|
| 74 |
+
| Spanish | `es` | 245,951 | 28,294 |
|
| 75 |
+
| Korean | `ko` | 215,074 | 11,707 |
|
| 76 |
+
| Turkish | `tr` | 192,846 | 11,820 |
|
| 77 |
+
| Japanese | `ja` | 188,341 | 10,846 |
|
| 78 |
+
| Polish | `pl` | 154,223 | 27,026 |
|
| 79 |
+
| Italian | `it` | 126,169 | 23,488 |
|
| 80 |
+
| Serbian | `sr` | 110,402 | 15,348 |
|
| 81 |
+
| Hungarian | `hu` | 109,532 | 11,568 |
|
| 82 |
+
| Swedish | `sv` | 108,006 | 11,166 |
|
| 83 |
+
| German | `de` | 101,525 | 15,749 |
|
| 84 |
+
| Hebrew | `he` | 83,236 | 10,257 |
|
| 85 |
+
| Ukrainian | `uk` | 53,175 | 16,523 |
|
| 86 |
+
| French | `fr` | 48,534 | 14,510 |
|
| 87 |
+
| Arabic | `ar` | 37,302 | 9,818 |
|
| 88 |
+
| Greek | `el` | 29,626 | 8,838 |
|
| 89 |
+
| Czech | `cs` | 24,435 | 3,468 |
|
| 90 |
+
| Chinese (Simplified) | `zh` | 16,017 | 4,585 |
|
| 91 |
+
| Dutch | `nl` | 15,442 | 6,682 |
|
| 92 |
+
| Romanian | `ro` | 14,632 | 6,648 |
|
| 93 |
+
| Mongolian | `mn` | 12,141 | 2,062 |
|
| 94 |
|
| 95 |
Each `lang` represents an independent set of user reviews from the
|
| 96 |
corresponding national Fragrantika domain. A user reviewing the same
|
|
|
|
| 129 |
| 9 | `article_images` | `string` | NO | **JSON-encoded array** of all image URLs in the article body. Use `json.loads(field)` → `list[str]`. Empty array `'[]'` if none. |
|
| 130 |
| 10 | `url` | `string` | NO | Canonical article URL (e.g., `https://www.fragrantica.com/news/x-12345.html`). |
|
| 131 |
| 11 | `is_archived` | `bool` | NO | `True` if article is in Fragrantika's legacy/archived corpus (older HTML template, often missing publication date — see §3.5). |
|
| 132 |
+
| 12 | `related_pids` | `string` | NO | **JSON-encoded array** of PIDs (as decimal strings) referenced in the article. Foreign key → `merged_database.PID`. 175 of 126,428 references (0.14%) point to perfumes no longer in the catalogue. |
|
| 133 |
| 13 | `related_brands` | `string` | NO | **JSON-encoded array** of brand names. Informational metadata; see §5.4 for canonical resolution. |
|
| 134 |
| 14 | `related_perfumers` | `string` | NO | **JSON-encoded array** of perfumer names with diacritics preserved (e.g., `François Demachy`, `Carlos Benaïm`). Informational; see §5.5. |
|
| 135 |
| 15 | `comments_count` | `int32` | NO | Count of comments in `news_comments.parquet` matching this NID. |
|
|
|
|
| 137 |
|
| 138 |
### 3.2 Volumetrics
|
| 139 |
|
| 140 |
+
- **Total rows:** 25,709 articles
|
| 141 |
+
- **NID range:** 1 — 26,219 (510 NIDs in that range are absent from the source)
|
| 142 |
+
- **Archived:** 15,458 / 25,709 (60.1%)
|
| 143 |
+
- **Non-archived:** 10,251 / 25,709 (39.9%)
|
| 144 |
+
- **With publication date (`date_unix > 0`):** 14,858 (57.8%)
|
| 145 |
|
| 146 |
### 3.3 List-fields format note
|
| 147 |
|
|
|
|
| 161 |
|
| 162 |
| Category | Articles | % |
|
| 163 |
|---|---:|---:|
|
| 164 |
+
| New Fragrances | 8,747 | 34.0% |
|
| 165 |
+
| Fragrance Reviews | 6,161 | 24.0% |
|
| 166 |
+
| Niche Perfumery | 2,610 | 10.2% |
|
| 167 |
+
| Art Books Events | 1,638 | 6.4% |
|
| 168 |
+
| Columns | 1,485 | 5.8% |
|
| 169 |
+
| Fragrant Horoscope | 874 | 3.4% |
|
| 170 |
+
| Fragrance News | 801 | 3.1% |
|
| 171 |
+
| Interviews | 691 | 2.7% |
|
| 172 |
+
| Vintages | 453 | 1.8% |
|
| 173 |
+
| Raw Materials | 396 | 1.5% |
|
| 174 |
+
|
| 175 |
+
Remaining 1,853 articles span 35 smaller categories.
|
| 176 |
|
| 177 |
### 3.5 Date coverage
|
| 178 |
|
| 179 |
+
`date_unix == 0` for 10,851 articles (42.2%). Distribution by NID range:
|
| 180 |
|
| 181 |
| NID range | Articles | with date | % | archived % |
|
| 182 |
|---|---:|---:|---:|---:|
|
| 183 |
+
| 1 — 5,000 | 4,898 | 2 | 0.0% | 100% |
|
| 184 |
+
| 5,001 — 10,000 | 4,803 | 0 | 0.0% | 100% |
|
| 185 |
+
| 10,001 — 15,000 | 4,905 | 3,837 | 78.2% | 100% |
|
| 186 |
+
| 15,001 — 20,000 | 4,915 | 4,915 | 100% | 17.3% |
|
| 187 |
+
| 20,001 — 25,000 | 4,971 | 4,971 | 100% | 0% |
|
| 188 |
+
| 25,001 — 26,219 | 1,217 | 1,133 | 93.1% | 0% |
|
| 189 |
+
|
| 190 |
+
Of the 10,851 articles without date, 10,767 come from the archived legacy
|
| 191 |
+
template: 9,699 in NIDs 1–10,000 (all but 2 of the 9,701 there) and 1,068 in
|
| 192 |
NIDs 10,001–15,000 (the remaining 22% of that range — the other 78% have
|
| 193 |
recoverable visible-text dates). Fragrantika's old archived HTML does not
|
| 194 |
embed any date marker (no `<time>`, no `<meta>`, no visible date string)
|
| 195 |
for these. This is an upstream HTML limitation, not a parser issue.
|
| 196 |
+
The other 84 are recent non-archived articles (84 of the 250 with NID 25,970 and above) whose
|
| 197 |
+
date was not captured at collection time — a gap on our side, not an upstream limitation.
|
| 198 |
+
**Of the 10,251 non-archived articles, 10,167 have `date_unix` populated.**
|
| 199 |
|
| 200 |
---
|
| 201 |
|
|
|
|
| 216 |
| 6 | `text` | `string` | NO | Comment body, plain text. |
|
| 217 |
| 7 | `avatar_url` | `string` | NO | Full URL to author avatar (Fragrantika CDN). |
|
| 218 |
| 8 | `gradient` | `string` | NO | CSS class for color badge (same scheme as `comments.parquet.gradient_class`). |
|
| 219 |
+
| 9 | `is_reply` | `bool` | NO | `True` if this comment is a reply to another comment (threaded discussion); `False` for root comments. 5.5% of rows are replies (15,312 / 277,446). |
|
| 220 |
|
| 221 |
### 4.2 Volumetrics
|
| 222 |
|
| 223 |
+
- **Total rows:** 277,446
|
| 224 |
+
- **Distinct NIDs:** 22,974 (89.4% of articles have at least one comment)
|
| 225 |
+
- **Replies:** 15,312 (5.5%)
|
| 226 |
- **Average comments per article (in articles with comments):** 12.1
|
| 227 |
|
| 228 |
---
|
|
|
|
| 236 |
|
| 237 |
```
|
| 238 |
┌────────────────────────────────────────────────────────┐
|
| 239 |
+
│ merged_database.csv (existing, 140,946 perfumes) │
|
| 240 |
│ ───────────────────── │
|
| 241 |
�� PID ←──────────────────────┐ │
|
| 242 |
│ Brand │ │
|
|
|
|
| 271 |
|
| 272 |
### 5.2 Linking comments to perfumes (PID)
|
| 273 |
|
| 274 |
+
Foreign key: **`comments.pid → merged_database.PID`** — every row joins except 48 reviews on 10 perfumes no longer in the catalogue.
|
| 275 |
|
| 276 |
```sql
|
| 277 |
-- All English reviews for the perfume "Mugler Angel" (PID 704):
|
|
|
|
| 294 |
### 5.3 Linking news to perfumes (related_pids)
|
| 295 |
|
| 296 |
Foreign key: **`news.related_pids → merged_database.PID`** — JSON-array
|
| 297 |
+
field; 126,428 references, of which 175 (0.14%) point to perfumes no longer in the catalogue.
|
| 298 |
|
| 299 |
```sql
|
| 300 |
-- All news mentioning Aventus (PID 9828):
|
|
|
|
| 469 |
| Check | Result |
|
| 470 |
|---|:---:|
|
| 471 |
| Duplicate rows by primary key (all 3 datasets) | 0 |
|
| 472 |
+
| FK integrity (`comments.pid → PID`) | 48 rows on 10 perfumes no longer in the catalogue |
|
| 473 |
+
| FK integrity (`news.related_pids → PID`) | 175 of 126,428 refs point to perfumes no longer in the catalogue |
|
| 474 |
| FK integrity (`news_comments.nid → nid`) | 0 orphans |
|
| 475 |
+
| `comment_id` global uniqueness (`comments.parquet`) | 0 collisions over 5.0M rows |
|
| 476 |
| HTML/CSS pollution in text fields | 0 |
|
| 477 |
| Cloudflare challenge pages in data | 0 |
|
| 478 |
| Mojibake / replacement char (U+FFFD) | 0 |
|
| 479 |
| Language attribution accuracy (langdetect on sample) | >95% per language |
|
| 480 |
| `news_comments.date_unix > 0` populated | 100% |
|
| 481 |
+
| `news.date_unix > 0` populated (non-archived) | 99.2% (10,167 / 10,251) |
|
| 482 |
|
| 483 |
### 7.1 Provenance
|
| 484 |
|
|
|
|
| 492 |
|
| 493 |
## 8. Known limitations (transparent disclosure)
|
| 494 |
|
| 495 |
+
1. **News articles without dates (10,851 / 25,709 = 42.2%).**
|
| 496 |
Fragrantika's archived HTML template does not embed any date marker
|
| 497 |
(`<time>`, meta tag, or visible string). For these articles, `date_unix`
|
| 498 |
+
is `0`. The archived no-date subset is concentrated in NIDs 1–15,000: 9,699 of
|
| 499 |
+
9,701 archived articles in NIDs 1–10,000 and 1,068 of 4,905 in NIDs
|
| 500 |
+
10,001–15,000. (852 archived articles in NIDs 15,001–20,000 do have
|
| 501 |
+
dates.) In addition, 84 of the 250 newest non-archived articles (NID 25,970 and above)
|
| 502 |
+
were collected without their date; the remaining 10,167 of 10,251 non-archived
|
| 503 |
+
articles are dated.
|
| 504 |
|
| 505 |
2. **`related_brands` matching gap (~12%).** Fragrantika has renamed
|
| 506 |
~50 brands over the years (e.g., `Christian Dior → Dior`); the captured
|
|
|
|
| 520 |
(e.g., a "5/10" rating posted by the same author on multiple subdomains).
|
| 521 |
These are real (Fragrantika's display behavior), not parser duplicates.
|
| 522 |
|
| 523 |
+
5. **Comments PID coverage gap.** 43,097 perfumes (30.6%) have zero comments
|
| 524 |
+
in any language. In the May 2026 audit, checked against Fragrantika's `reviews_count` field,
|
| 525 |
+
99.8% of zero-comment perfumes truly had zero reviews on the platform. A
|
| 526 |
targeted re-collection of the 73 PIDs flagged as `reviews_count > 0`
|
| 527 |
yet missing comments recovered 68 of them (305 new comments added);
|
| 528 |
the remaining 5 PIDs have `reviews_count > 0` in Fragrantika's metadata
|
|
|
|
| 627 |
|
| 628 |
| Field | Value |
|
| 629 |
|---|---|
|
| 630 |
+
| Snapshot date | 2026-09-30 (v5.17) |
|
| 631 |
+
| Comments PID range | 1 — 143,475 |
|
| 632 |
+
| News NID range | 1 — 26,219 |
|
| 633 |
| Schema version | v1 (8 / 16 / 9 fields respectively) |
|
| 634 |
| Compression | zstd |
|
| 635 |
| Format | Parquet 2.x |
|