--- license: mit language: - en - fr - de tags: - entity-resolution - record-linkage - blocking - company-names size_categories: - 10M/primary/jurisdiction_code=/part-*.parquet one row per company data/canonical//names/*.parquet other names for those companies data/canonical//sample.{parquet,jsonl,csv} ~16k rows, the same rows in three formats data/canonical//*-duplicates-*.parquet rows dropped as duplicates, kept for inspection data/matched/gleif/primary/jurisdiction_code=/part-*.parquet GLEIF rows carrying a national-register link data/prepare/wikidata/wikidata-companies.jsonl the companies drawn out of the Wikidata dump ``` In the CSV the two list columns, `alternative_names` and `previous_names`, are joined with `|`; the JSON Lines copy keeps them as lists. ### The Wikidata extract `wikidata-companies.jsonl` is the raw extract: 884,070 entities in 612 MB, one JSON object per entity as the dump holds it, before any mapping. It was taken from the full 145 GB entity dump in a single pass. An entity is kept when its `P31` (instance of) or `P1454` (legal form) names a Q-code in the `P279` subclass closure beneath *company*, 49,176 codes. Everything under `data/canonical/wikidata/` is built from this file, which also carries the fields the canonical schema does not keep. `primary` is partitioned by `jurisdiction_code`, so one country can be read without the rest: ```python import polars as pl gb = pl.read_parquet("data/canonical/gb/primary/jurisdiction_code=gb/*.parquet") names = pl.read_parquet("data/canonical/gb/names/*.parquet") ``` ## Columns ### A company (`primary`, 21 columns) Column names follow the [OpenCorporates company object](https://api.opencorporates.com/documentation/API-Reference#Companies) where one fits. | Column | Description | | --- | --- | | `system_uri` | This row's identity, `://`, e.g. `gb://03909510` | | `jurisdiction_code` | Where the company is registered | | `company_number` | The register's own identifier for it | | `name` | Its legal name | | `alternative_names`, `previous_names` | Other names, where the register gives them inline | | `company_type` | Legal form, as the register words it | | `current_status`, `inactive` | Whether it is live, as the register words it | | `incorporation_date`, `dissolution_date` | ISO dates where parsed | | `branch`, `branch_status` | Whether the row is a branch rather than a company | | `registered_address_in_full` | The address as one string, where published | | `registry_url` | Its page in the register | | `lei` | Legal Entity Identifier, where one resolves | | `match_uri` | The same company in another source, where one is known | | `opencorporates_url`, `vat`, `tax_id` | Reserved, always null | | `metadata_generated_utc` | When this row was written here | ### A name (`names`, 9 columns) One row per name a company is also known by. | Column | Description | | --- | --- | | `system_uri` | This name's own identity, `name:////` | | `source_uri` | The company it belongs to | | `name` | The name itself | | `name_type` | What kind: `previous`, `alias`, `official`, `short`, `acronym`, ... | | `source_type` | What the register called that kind, before it was mapped | | `language_code`, `jurisdiction_code`, `id`, `derivation_note` | Where it came from | ### A cross-register link (`data/matched/gleif`) The same 21 columns, holding the 645,437 GLEIF rows whose `match_uri` points at a company in `gb`, `ie`, `fr` or `de`. ## How it was built Each source's bulk file was downloaded, split into shards, and mapped into the columns above, with per-source rules for the parts that differ: how a company number is spelled, which field is the legal name, which value means dissolved. Duplicate rows were removed and kept separately rather than dropped silently. Names were gathered from whichever field each register publishes them in and given one shared vocabulary of name types. Names are as the registers publish them: not normalised, lowercased or stripped of their legal form. ## Known gaps - **`ie` has no names file.** Ireland's bulk download publishes one name per company, so there are no variants to collect. - **`wikidata` rows with no jurisdiction** sit in a `__HIVE_DEFAULT_PARTITION__` partition. - **Every source is one snapshot**, taken on the date in the table. Companies registered, renamed or dissolved since are not here. - **`match_uri` is only as complete as GLEIF is.** A company with no LEI has no link, so absence of a link is not evidence that no match exists. ## Licensing information Each source keeps its own terms. What each publisher states, in its own words, with the page it says it on. Those pages are the terms; this table points at them. | Source | Licence, as the publisher states it | Stated on | | --- | --- | --- | | `fr` | [Licence Ouverte / Open Licence 2.0](https://www.etalab.gouv.fr/licence-ouverte-open-licence) | [data.gouv.fr](https://www.data.gouv.fr/en/datasets/base-sirene-des-entreprises-et-de-leurs-etablissements-siren-siret/) | | `gb` | "All content is available under the Open Government Licence v3.0, except where otherwise stated" | [Companies House data products](https://www.gov.uk/guidance/companies-house-data-products) | | `offeneregister` | "Die Daten können unter der Creative Commons Attribution License 4.0 mit Attribution an OpenCorporates weiterverwendet werden" | [offeneregister.de](https://offeneregister.de) | | `gleif` | "The data available through the Access Service are provided under the CC0 licence" | [LEI data terms of use](https://www.gleif.org/en/meta/lei-data-terms-of-use) | | `wikidata` | "All structured data from the main, Property, Lexeme, and EntitySchema namespace is available under the Creative Commons CC0 License" | [Wikidata:Database download](https://www.wikidata.org/wiki/Wikidata:Database_download) | | `ie` | [Creative Commons Attribution 4.0](https://creativecommons.org/licenses/by/4.0/) | [CRO open data](https://opendata.cro.ie/dataset/companies) | Two publishers ask for attribution in particular words: - **German data:** attribution to OpenCorporates. - **Irish data:** "Contains Irish Public Sector Data licensed under a Creative Commons Attribution 4.0 International (CC BY 4.0) licence". The `license` field at the top of this card is the repository's own metadata field and restates none of the above. Statements read from those pages on 2026-09-23; publishers change their terms, so the pages are the current source. ## What is in the rows These are public company registers, so the rows carry what registers carry: company names, registered addresses, and legal forms. French sole traders are not among them. SIRENE's legal category `1000`, *Entrepreneur individuel*, is a natural person rather than a company, and those rows are dropped when the French source is mapped into this schema: no row under `fr` carries that category.