Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 1 new columns ({'licence'}) and 1 missing columns ({'name'}).

This happened while the csv dataset builder was generating data using

hf://datasets/sondalex/company-entities/assets/licences.csv (at revision 52b448d5579ca73ce7395a7f0764ee06290b0f3c)

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1831, in _prepare_split_single
                  writer.write_table(table)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 714, in write_table
                  pa_table = table_cast(pa_table, self._schema)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              qid: string
              licence: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 481
              to
              {'name': Value('string'), 'qid': Value('string')}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1455, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1054, in convert_to_parquet
                  builder.download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 894, in download_and_prepare
                  self._download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 970, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1702, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1833, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 1 new columns ({'licence'}) and 1 missing columns ({'name'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/sondalex/company-entities/assets/licences.csv (at revision 52b448d5579ca73ce7395a7f0764ee06290b0f3c)
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

name
string
qid
string
NVDA
Q182477
MSFT
Q2283
AAPL
Q312
AMZN
Q3884
GOOGL
Q20800404
AVGO
Q555925
META
Q380
TSLA
Q478214
ORCL
Q19900
ADBE
Q11463
CRM
Q941127
ASML
Q297879
Advanced Micro Devices Inc.
Q128896
CSCO
Q173395
QCOM
Q544847
NFLX
Q116452644
SHOP
Q7501150
INTC
Q248
NOW
Q7455653
INTU
Q1318848
AMAT
Q621610
PANW
Q7128508
SNPS
Q2303478
CDNS
Q608776
LRCX
Q1342041
KLAC
Q624649
ARM
Q296782
SONY
Q41187
MU
Q1197548
TXN
Q193412
ADI
Q484930
CRWD
Q24890758
SNOW
Q22078063
ERIC
Q52618
DELL
Q27500963
UBER
Q780442
ZS
Q8074786
FTNT
Q2749364
WDAY
Q8034666
MELI
Q950419
TEAM
Q757307
BIDU
Q14772
MSI
Q634815
ANET
Q2861324
PYPL
Q483959
NTES
Q196259
MRVL
Q1347782
ROP
Q16932392
CAJPY
Q62621
XYZ
Q110778747
DASH
Q20714323
ABNB
Q63327
TCOM
Q5191790
DDOG
Q16248637
RBLX
Q67186598
PLTR
Q2047336
LOGI
Q223127
U
Q7893816
OKTA
Q55627388
TWLO
Q7858039
CTSH
Q1107035
AKAM
Q415598
ZM
Q17460900
MCHP
Q1545076
DBX
Q142539
DOCU
Q5287613
TEL
Q663452
CFLT
Q94758727
ACN
Q338825
FSLY
Q34045622
VIPS
Q19854317
BILI
Q3077586
GRMN
Q658789
Apple
Q312
Alphabet
Q20800404
Meta
Q380
Tesla
Q478214
Oracle
Q19900
Samsung
Q20718
Netflix
Q116452644
Intel
Q248
Arm
Q296782
ARM Holdings Plc
Q296782
Snowflake
Q22078063
Dell
Q27500963
Workday
Q8034666
Sea Limited
Q93520415
Motorola
Q634815
Roper
Q16932392
Canon
Q62621
Block
Q110778747
Trip.com
Q5191790
Roblox
Q67186598
Palantir
Q2047336
Palantir Technologies Inc.
Q2047336
Unity
Q7893816
Akamai
Q415598
Zoom
Q17460900
ANSYS
Q295774
Panasonic
Q53247
End of preview.

Company Entities Dataset

Dataset of Companies and Homonymous Entities for Named Entity Linking

This dataset contains companies and homonymous entities (e.g., "Apple" as a company vs. fruit) with Wikidata QIDs and Wikipedia descriptions, designed for training named entity linking (NEL) systems.

License

  • company-entity.parquet is licensed under CC BY-SA 4.0, as it contains Wikipedia descriptions licensed under CC BY-SA 4.0
  • assets/homonyms.csv, assets/licenses.csv, assets/aliases.csv, aliases.parquet and assets/companies.csv are all licensed under CC0 1.0
  • Code: MIT License.

Note

Descriptions downloaded on 2025-11-14 UTC+1.

Replicating

If you want to redownload the description:


WIKI_USER_AGENT="..." weasel run download # For format of USER_AGENT see https://foundation.wikimedia.org/wiki/Policy:Wikimedia_Foundation_User-Agent_Policy 
weasel run check # should pass as long as you do not modify assets/*.csv files

Prepare aliases:

weasel run aliases
Downloads last month
13