Open main menu

Wikidata:Property proposal/U.P.C. Company Prefix

U.P.C. Company PrefixEdit

Originally proposed at Wikidata:Property proposal/Authority control

   Not done
Data typeString
Example 1The Coca-Cola Company (Q3295867) → 049000
Example 2Adidas (Q3895) → 884895
Example 3Nike (Q483915) → 883212
Format and edit filter validationString length can vary between 3 and 11 charachters. Charachters are always numeric (0, 1, 2, 3, 4, 5, 6, 7, 8, 9).
Planned uselook up of company information from barcode scanning
Number of IDs in sourceprobably hundreds of thousands, many companies that produce goods with barcodes have one


On U.P.C. barcodes (used in US and UK) this prefix identifies a company. The Prefix is an ID issued by the GS1 organisation, which manages the barcodes globally. This Wikidata property would enable implementation of barcode scanners that query company data from Wikidata and display it to the users. The characters are always numeric and the length of the string can vary between 3 and 11.


  Comment I'm supportive of this proposal in principle, but the proposal is incomplete. I have updated the first example to the proper format - can you do the rest? Also, we need the "formatter URL" (how does Wikidata structure a URL with this code to look up the company?) and the filter information (is this always a 6-digit numeric string?). Thanks. - PKM (talk) 19:33, 20 August 2018 (UTC)

PKM The length can vary, between 3 and 11 charachters, the characters are always numeric. I formatted the examples. I haven't found a service that allows getting information through URLs, there is only a portal that uses POST requests with captchas. --GiordanoArman (talk) 21:03, 20 August 2018 (UTC)

  Comment GS1 Manufacturer code (P3193)Teolemon (talk) 20:36, 27 August 2018 (UTC)

  •   SupportPintoch (talk) 11:15, 5 October 2018 (UTC)
@Pintoch: do you have a reference on how this differs from GS1 Manufacturer code (P3193)? ArthurPSmith (talk) 19:04, 5 October 2018 (UTC)
@ArthurPSmith: oops no indeed I missed that! Thanks. − Pintoch (talk) 08:56, 6 October 2018 (UTC)