OBF:Global taxonomies: Difference between revisions

From Open Food Facts wiki
obf>Stephane
(Created page with "== Introduction == For some types of fields such as categories and labels, we maintain a global taxonomy of possible values. For each value, we can specify synonyms, parent a...")
 
No edit summary
 
(16 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== Introduction ==
== Introduction ==
For some types of fields such as categories and labels, we maintain a global taxonomy of possible values. For each value, we can specify synonyms, parent and child values, and the corresponding value in all other languages.
* For more details, see http://en.wiki.openfoodfacts.org/Global_taxonomies
* Please [https://github.com/openfoodfacts/openfoodfacts-server/tree/main/taxonomies/beauty note that the Open Beauty Facts taxonomies live on GitHub]
* You can now use the Taxonomy Editor to edit taxonomies easily: https://ui.taxonomy.openfoodfacts.org/
== Format ==
<pre>
# stopwords
stopwords:en: some,stopwords
stopwords:fr: word,that,are,removed,when,matching
# synonyms that are not field values but that are contained in field values
synonyms:en: global,international
en: value, a synonym value, another synonym value
fr: valeur, une valeur synonyme, une autre valeur synonyme
<en: value
en: a child value, a synonym for a child value
fr: une valeur enfant, un synonyme d'une valeur enfant


For some types of fields such as categories and labels, we maintain a global taxonomy of possible values. For each value, we can specify synonyms, parent and child values, and the corresponding value in all other languages.
<en: value
en: another child value
 
<en: a child value
<en: another child value
en: a grand-child value
 
# properties
en: value
fr: valeur
description:en: a property of value
description:fr: french version of the property
country_code:en: a property that is the same for all languages -> use English suffix en:
wikidata:en:Q89


For more details, see http://en.wiki.openfoodfacts.org/Global_taxonomies
</pre>


== Taxonomies ==
== Taxonomies ==
Line 9: Line 43:
* [[OBF:Global categories taxonomy]]
* [[OBF:Global categories taxonomy]]
* [[OBF:Global ingredients taxonomy]]
* [[OBF:Global ingredients taxonomy]]
* [[OBF:Global ingredients test taxonomy]]
* [[OBF:Global INCI functions taxonomy]]
* [[OBF:Global labels taxonomy]]
* [[OBF:Global labels taxonomy]]
* [[OBF:Global brands taxonomy]]
* [[OBF:Global abbreviations taxonomy‎]]
* [[OBF:Global warning taxonomy]]
* [[OBF:Global properties taxonomy]]
* [[OBF:Global body parts taxonomy]]
* [[OBF:Global periods after opening taxonomy]]
=== Duplicates ===
* [[OBF:Global safety taxonomy]]
* [[OBF:Global Safety taxonomy]]
* [[OBF:Global risks taxonomy]]
* [[OBF:Global risks taxonomy]]
* [[OBF:Global Risks taxonomy]]
[[Category:Open Beauty Facts]]
[[Category:Taxonomies]]

Latest revision as of 07:53, 16 July 2024

Introduction

For some types of fields such as categories and labels, we maintain a global taxonomy of possible values. For each value, we can specify synonyms, parent and child values, and the corresponding value in all other languages.

Format

# stopwords
stopwords:en: some,stopwords
stopwords:fr: word,that,are,removed,when,matching

# synonyms that are not field values but that are contained in field values
synonyms:en: global,international

en: value, a synonym value, another synonym value
fr: valeur, une valeur synonyme, une autre valeur synonyme

<en: value
en: a child value, a synonym for a child value
fr: une valeur enfant, un synonyme d'une valeur enfant

<en: value
en: another child value

<en: a child value
<en: another child value
en: a grand-child value

# properties
en: value
fr: valeur
description:en: a property of value
description:fr: french version of the property
country_code:en: a property that is the same for all languages -> use English suffix en:
wikidata:en:Q89

Taxonomies

Duplicates