openfoodfacts / openfoodfacts-server

Open Food Facts database, API server and web interface - 🐪🦋 Perl, CSS and JS coders welcome 😊 For helping in Python, see Robotoff or taxonomy-editor
http://openfoodfacts.github.io/openfoodfacts-server/
GNU Affero General Public License v3.0
656 stars 386 forks source link

Interpret ТУ labels (or make it easier to do that) #416

Open aleksejrs opened 8 years ago

aleksejrs commented 8 years ago

(I prefer the server to be open-sourced first, but because that seems to be almost a requirement for taxonomies, it's related to this one, too.)

Технические условия (ТУ, [tʲɪxˈnʲit͡ɕɪskʲɪjə ʊsˈɫovʲɪjə], [tɛʔˈu]) is an organization's own document setting the requirements for one or more products, materials and similar.

In "ТУ 1115-017-38576343-2013" for materials and substances, according to WIkipedia,

teolemon commented 8 years ago
teolemon commented 8 years ago

@aleksejrs can you send me your email to pierre@openfoodfacts.org so that I can invite you to the repository ?

aleksejrs commented 8 years ago

Products:

The lists are ОКП (until 2017), ОКПД (until 2017), ОКПД2 (since 2014)

According to Wikipedia:

I haven't found any of the three codes I took in ОКПД (at least obviously, because they may refer to components).

aleksejrs commented 8 years ago

Note that digit groups in the actual codes are dot- or space-separated, but the codes in ТУ have no groups.

teolemon commented 8 years ago

Can we perhaps get them into Wikidata as well ?

aleksejrs commented 8 years ago

The codes and descriptions from ОКП and ОКПД2 are available in the conversion tables. E.g., in http://ru.openfoodfacts.org/label/ТУ-9163-067-05269043-13, 9163 corresponds to "91 6300" in ОКП, which is something like "wet fruit-based products" ("Консервы фруктовые и фруктово-овощные. Соки, нектары, морсы, напитки сокосодержащие, пюре, мякоть фруктовые и фруктово-овощные. Клетки цитрусовых фруктов") and has no direct correspondence in ОКПД2 (but has tens of subitems).

Codes of organizations may be available to entrepreneurs only, at least at the official sites.

But I don't mean only getting the official data and showing it: it could be helpful if OFF could show categories/companies from the other products with the numbers in the listed ТУs.

aleksejrs commented 8 years ago

categories/companies

Though companies are not really meaningful at OFF except to find brands and websites and maybe potential locations?

aleksejrs commented 8 years ago

Belarus:

aleksejrs commented 8 years ago

show categories/companies from the other products with the numbers in the listed ТУs.

Same with GOST an ISO, but those labels are less likely to need splitting. Also, some of them are too general (like ISO 9001 and ISO 22000), and some other standards refer to packaging (FSC-C014047 for TetraPak's cardboard).

aleksejrs commented 8 years ago

Wikidata query for ОКПОs and companies (limit 100)

aleksejrs commented 8 years ago

A Ukrainian example: ТУ У 15.8-00377265-007, where "15.8" is the group of production.