Difference between revisions of "Brands"

From Open Food Facts wiki
Jump to navigation Jump to search
Line 83: Line 83:
 
wikipedia:en:lay's<br>
 
wikipedia:en:lay's<br>
 
<br>
 
<br>
zz:Walkers<br>
+
zz:walkersfritolay<br>
en:Walkers, Walker's<br>
+
en:Walkers<br>
 
xx:Walkers<br>
 
xx:Walkers<br>
 
website:en:www.walkers.co.uk<br>
 
website:en:www.walkers.co.uk<br>
Line 93: Line 93:
 
distribution_area:en:GB, IE<br>
 
distribution_area:en:GB, IE<br>
 
wikipedia:en:Walkers_(snack_foods)<br>
 
wikipedia:en:Walkers_(snack_foods)<br>
 +
<br>
 +
zz:walkersnonsuch<br>
 +
en:Walker's Nonsuch<br>
 +
xx:Walker's Nonsuch<br>
 +
website:en:walkers-nonsuch.co.uk<br>
 +
owner:en:Walker's Nonsuch Limited<br>
 +
<br>
 +
zz:walkersscotland<br>
 +
en:Walker's Scotland<br>
 +
xx:Walker's Scotland<br>
 +
website:en:https://www.walkersshortbread.com<br>

Revision as of 13:33, 22 April 2022

This is the brands of the product. The main brand, generally clearly displayed on the front pack, should be entered first. A product can have other brands:

When a product has more than one brand, the first brand in the field is taken as the main brand.

There's no taxonomy for brands for the moment, so just do your best and don't waste too much time to enter brands.

Data issues

Some brands are difficult to read:

  • is it Coop, coop, COOP, CO OP?

Some brands can be related to different companies in different countries:

Some brands are related to a common name or an ingredient, which can be confusing:

Brands containing an apostrophe are often missing this one:

Brands are changing sometimes. How to deal with that?

Some particular cases for a brand

  • A brand can contain only numbers, such as 1664, 1883 or 365.
  • A brand can contain quotes, such as The Muffin "Mam" Inc
  • A brand can contain &, such as M&M's
  • A brand can contain commas, such as Williams, West & Witt's Products; https://world.openfoodfacts.org/brand/williams-west-witt-s-prods
  • A brand can have a sub-brand containing its own name: Sainsbury's use a brand called By Sainsbury's.

Some particular cases for a product

  • A product can have more than 2 brands; eg:
    • Coop, in Switzerland, can add up to three brands on a product: Betty Bossi, Karma and Coop in this product; they justify it: "We offer a wide range of own-label brands and brand worlds." (source)
    • In this product, Lipton belongs to Unilever but this product is distributed by Pepsico

Implementation in Open Food Facts

In the database, this field is called brands.

See issues related to brands.

Preventing OFF AI to detect some false brands: see brand_taxonomy_blacklist.txt.

Help to collect brands

The IA of Open Food Facts, called Robotoff, is trying to identify brands. The annotations made by Robotoff are provided to users, asking them to answer to a simple question. There are also used by Hunger Game. Everyone can use Hunger Game, but be careful to the issues mentioned in this current page.

  • on 2020-10-29, there were 43200 annotations and 22748 resting
  • on 2020-11-17, there were 46911 annotations and 22720 resting

Taxonomy encoding

An overview of the encoding used in the brands taxonomy:

  • blocks/white lines - a single brand is defined by a block of text and are separated by white lines;
  • definition - a single line defines the brand in a specific language, an attribute, etc. Each line starts with a name followed by parameters and separated by a colon
  • parameters:
    • key (zz:) - required for brands with the same name
    • language (e.g. en:) - the brand-name in the language en. A brand might be defined in multiple languages as needed, with a single line for each language
    • default (xx:) - a value to be used for any language that is not listed;
    • parent (<zz:) - a reference to another (parent) brands that encompasses the the brand. Can also be used for product lines. (are short and long names required?);
    • attributes - to be defined
      • owner
      • country distributor
      • wikipedia page
      • local customer service address (one for each country where the product is distributed, and a generic one)
      • facebook
      • instagram
  • order - start with the parent; follow by the key; the english value, the default, followed by the other languages in ISO-order

Example

zz:Lays
en:Lay's
xx:Lay's
owner:en:FritoLay
wikipedia:en:lay's

zz:walkersfritolay
en:Walkers
xx:Walkers
website:en:www.walkers.co.uk
consumer_address:GB:POBox 23;Leicester;LE4 8ZU
consumer_tel:GB:0800274777
consumer_tel:IE:1800509408
owner:en:FritoLay
distribution_area:en:GB, IE
wikipedia:en:Walkers_(snack_foods)

zz:walkersnonsuch
en:Walker's Nonsuch
xx:Walker's Nonsuch
website:en:walkers-nonsuch.co.uk
owner:en:Walker's Nonsuch Limited

zz:walkersscotland
en:Walker's Scotland
xx:Walker's Scotland
website:en:https://www.walkersshortbread.com