Dataset Viewer
Auto-converted to Parquet Duplicate
_id
stringlengths
5
5
title
stringlengths
7
136
nace_version
stringclasses
1 value
parent
stringlengths
4
4
01.11
Growing of cereals (except rice), leguminous crops and oil seeds
Rev.2
01.1
01.12
Growing of rice
Rev.2
01.1
01.13
Growing of vegetables and melons, roots and tubers
Rev.2
01.1
01.14
Growing of sugar cane
Rev.2
01.1
01.15
Growing of tobacco
Rev.2
01.1
01.16
Growing of fibre crops
Rev.2
01.1
01.19
Growing of other non-perennial crops
Rev.2
01.1
01.21
Growing of grapes
Rev.2
01.2
01.22
Growing of tropical and subtropical fruits
Rev.2
01.2
01.23
Growing of citrus fruits
Rev.2
01.2
01.24
Growing of pome fruits and stone fruits
Rev.2
01.2
01.25
Growing of other tree and bush fruits and nuts
Rev.2
01.2
01.26
Growing of oleaginous fruits
Rev.2
01.2
01.27
Growing of beverage crops
Rev.2
01.2
01.28
Growing of spices, aromatic, drug and pharmaceutical crops
Rev.2
01.2
01.29
Growing of other perennial crops
Rev.2
01.2
01.30
Plant propagation
Rev.2
01.3
01.41
Raising of dairy cattle
Rev.2
01.4
01.42
Raising of other cattle and buffaloes
Rev.2
01.4
01.43
Raising of horses and other equines
Rev.2
01.4
01.44
Raising of camels and camelids
Rev.2
01.4
01.45
Raising of sheep and goats
Rev.2
01.4
01.46
Raising of swine/pigs
Rev.2
01.4
01.47
Raising of poultry
Rev.2
01.4
01.49
Raising of other animals
Rev.2
01.4
01.50
Mixed farming
Rev.2
01.5
01.61
Support activities for crop production
Rev.2
01.6
01.62
Support activities for animal production
Rev.2
01.6
01.63
Post-harvest crop activities
Rev.2
01.6
01.64
Seed processing for propagation
Rev.2
01.6
01.70
Hunting, trapping and related service activities
Rev.2
01.7
02.10
Silviculture and other forestry activities
Rev.2
02.1
02.20
Logging
Rev.2
02.2
02.30
Gathering of wild growing non-wood products
Rev.2
02.3
02.40
Support services to forestry
Rev.2
02.4
03.11
Marine fishing
Rev.2
03.1
03.12
Freshwater fishing
Rev.2
03.1
03.21
Marine aquaculture
Rev.2
03.2
03.22
Freshwater aquaculture
Rev.2
03.2
05.10
Mining of hard coal
Rev.2
05.1
05.20
Mining of lignite
Rev.2
05.2
06.10
Extraction of crude petroleum
Rev.2
06.1
06.20
Extraction of natural gas
Rev.2
06.2
07.10
Mining of iron ores
Rev.2
07.1
07.21
Mining of uranium and thorium ores
Rev.2
07.2
07.29
Mining of other non-ferrous metal ores
Rev.2
07.2
08.11
Quarrying of ornamental and building stone, limestone, gypsum, chalk and slate
Rev.2
08.1
08.12
Operation of gravel and sand pits; mining of clays and kaolin
Rev.2
08.1
08.91
Mining of chemical and fertiliser minerals
Rev.2
08.9
08.92
Extraction of peat
Rev.2
08.9
08.93
Extraction of salt
Rev.2
08.9
08.99
Other mining and quarrying n.e.c.
Rev.2
08.9
09.10
Support activities for petroleum and natural gas extraction
Rev.2
09.1
09.90
Support activities for other mining and quarrying
Rev.2
09.9
10.11
Processing and preserving of meat
Rev.2
10.1
10.12
Processing and preserving of poultry meat
Rev.2
10.1
10.13
Production of meat and poultry meat products
Rev.2
10.1
10.20
Processing and preserving of fish, crustaceans and molluscs
Rev.2
10.2
10.31
Processing and preserving of potatoes
Rev.2
10.3
10.32
Manufacture of fruit and vegetable juice
Rev.2
10.3
10.39
Other processing and preserving of fruit and vegetables
Rev.2
10.3
10.41
Manufacture of oils and fats
Rev.2
10.4
10.42
Manufacture of margarine and similar edible fats
Rev.2
10.4
10.51
Operation of dairies and cheese making
Rev.2
10.5
10.52
Manufacture of ice cream
Rev.2
10.5
10.61
Manufacture of grain mill products
Rev.2
10.6
10.62
Manufacture of starches and starch products
Rev.2
10.6
10.71
Manufacture of bread; manufacture of fresh pastry goods and cakes
Rev.2
10.7
10.72
Manufacture of rusks and biscuits; manufacture of preserved pastry goods and cakes
Rev.2
10.7
10.73
Manufacture of macaroni, noodles, couscous and similar farinaceous products
Rev.2
10.7
10.81
Manufacture of sugar
Rev.2
10.8
10.82
Manufacture of cocoa, chocolate and sugar confectionery
Rev.2
10.8
10.83
Processing of tea and coffee
Rev.2
10.8
10.84
Manufacture of condiments and seasonings
Rev.2
10.8
10.85
Manufacture of prepared meals and dishes
Rev.2
10.8
10.86
Manufacture of homogenised food preparations and dietetic food
Rev.2
10.8
10.89
Manufacture of other food products n.e.c.
Rev.2
10.8
10.91
Manufacture of prepared feeds for farm animals
Rev.2
10.9
10.92
Manufacture of prepared pet foods
Rev.2
10.9
11.01
Distilling, rectifying and blending of spirits
Rev.2
11.0
11.02
Manufacture of wine from grape
Rev.2
11.0
11.03
Manufacture of cider and other fruit wines
Rev.2
11.0
11.04
Manufacture of other non-distilled fermented beverages
Rev.2
11.0
11.05
Manufacture of beer
Rev.2
11.0
11.06
Manufacture of malt
Rev.2
11.0
11.07
Manufacture of soft drinks; production of mineral waters and other bottled waters
Rev.2
11.0
12.00
Manufacture of tobacco products
Rev.2
12.0
13.10
Preparation and spinning of textile fibres
Rev.2
13.1
13.20
Weaving of textiles
Rev.2
13.2
13.30
Finishing of textiles
Rev.2
13.3
13.91
Manufacture of knitted and crocheted fabrics
Rev.2
13.9
13.92
Manufacture of made-up textile articles, except apparel
Rev.2
13.9
13.93
Manufacture of carpets and rugs
Rev.2
13.9
13.94
Manufacture of cordage, rope, twine and netting
Rev.2
13.9
13.95
Manufacture of non-wovens and articles made from non-wovens, except apparel
Rev.2
13.9
13.96
Manufacture of other technical and industrial textiles
Rev.2
13.9
13.99
Manufacture of other textiles n.e.c.
Rev.2
13.9
14.11
Manufacture of leather clothes
Rev.2
14.1
14.12
Manufacture of workwear
Rev.2
14.1
14.13
Manufacture of other outerwear
Rev.2
14.1
End of preview. Expand in Data Studio

NACE Rev.2 Company Classification, level 4 (Class), graded

Company descriptions matched against the 615 NACE Rev.2 class codes with graded relevance, in the BEIR layout (queries, corpus, qrels) used by TechWolf/Skill-extraction-*-graded and loadable with the WorkRB GradedBEIRRankingTask. Sibling repos: NACE-Company-Classification-L1, -L2-, -L3-, -L4-; companion NAICS repos use the same companies.

Config Split Rows Columns
queries train / validation / test 98,604 / 12,344 / 12,391 _id, text
corpus corpus 615 _id, title, nace_version, parent
qrels train / validation / test 1,674,078 / 209,684 / 213,040 query-id, corpus-id, score

corpus._id is the plain dotted NACE code (section letter, 2-digit division, 01.1 group, 01.11 class); parent is the code one level up (null for sections). Documents are titles only. qrels is sparse (only non-zero judgments). Scores: 2 = reached from the company's primary NAICS code, 1 = reached only from secondary NAICS codes. A company may have several grade-2 codes (see below). Identical descriptions in validation/test were merged into one query (union of judgments, max grade; 25 in validation, 25 in test). Train descriptions that also occur in validation or test were removed.

from datasets import load_dataset
repo = "<your-org>/NACE-Company-Classification-L4-graded"
queries = load_dataset(repo, "queries", split="test")
corpus  = load_dataset(repo, "corpus",  split="corpus")
qrels   = load_dataset(repo, "qrels",   split="test")

How the labels were derived (important)

These labels are derived, not human-annotated. Every company in the companion NAICS dataset has a primary and secondary NAICS code. They were translated in two hops, NAICS β†’ ISIC Rev.4 β†’ NACE Rev.2:

  1. NAICS codes were mapped to ISIC Rev.4 classes (Census crosswalk; see the companion ISIC4-Company-Classification datasets for details).
  2. Each ISIC class was mapped to its NACE Rev.2 class(es) with the official ISIC Rev.4 β†’ NACE Rev.2 correspondence table. NACE Rev.2 refines ISIC Rev.4: every NACE class belongs to exactly one ISIC class, but 107 of 419 ISIC classes split into two or more NACE classes (up to 9).
  3. NACE classes were rolled up to group, division and section, so all levels are consistent.
  4. Grade 2 = NACE codes reached from the company's primary NAICS code; grade 1 = codes reached only from its secondary NAICS codes.

Consequences you should be aware of:

  • Ambiguity grows at fine levels. The primary is ambiguous (more than one grade-2 code) for 8% of test companies at section level, 21% at division, 34% at group and 72% at class level. The class level in particular has no single true label for most companies: a NAICS industry rarely pins down one NACE class. Prefer the section, division and group levels for single-label classification, and use graded, multi-target metrics (nDCG, MAP) at class level.
  • The NACE class split inside an ISIC class is an equal split (the correspondence table carries no weights), so the relative grade-2 weights in the combined dataset's classification config are uniform by construction, not evidence.
  • Errors in the NAICS labels and in the crosswalks carry through. The NACE labels cannot be more accurate than the NAICS labels.
  • Labels are rolled up from NACE classes only. The ISIC dataset additionally keeps a few ancestor-only labels from three crosswalk codes that do not exist in ISIC Rev.4 (0120, 0140, 0331), so NACE sections/divisions differ from ISIC's for about 3% of companies. Companies whose primary NAICS code reached only such codes have no NACE grade-2 label (primary_status = missing).
  • NAICS 2022 code 325315 (Compost Manufacturing) is new in 2022 and has no mapping, so it contributes no label.
  • The same queries, splits and de-duplication as the NAICS and ISIC datasets are used, so results are directly comparable on the same companies.
  • Documents are titles only. Eurostat's explanatory notes (inclusions/exclusions) are not included.

Provenance and license

TODO before publishing: state the source of the company descriptions and the original NAICS labels, and confirm the license (license: other is a placeholder). NACE Rev. 2 is published by Eurostat (check its reuse terms); the ISIC Rev.4 to NACE Rev.2 correspondence is from Eurostat / UNSD, the NAICS-to-ISIC crosswalk and NAICS 2022-to-2017 concordance are from the U.S. Census Bureau (confirm the exact sources and terms of the files you used).

Downloads last month
64