Difference between revisions of "Global taxonomies"

From Open Beauty Facts EN
Jump to: navigation, search
(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...")
 
(Taxonomies)
 
(10 intermediate revisions by 2 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 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
 
For more details, see http://en.wiki.openfoodfacts.org/Global_taxonomies
 +
 +
== 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
 +
 +
<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
 +
 +
</pre>
  
 
== Taxonomies ==
 
== Taxonomies ==
Line 9: Line 42:
 
* [[Global categories taxonomy]]
 
* [[Global categories taxonomy]]
 
* [[Global ingredients taxonomy]]
 
* [[Global ingredients taxonomy]]
 +
* [[Global ingredients test taxonomy]]
 +
* [[Global INCI functions taxonomy]]
 
* [[Global labels taxonomy]]
 
* [[Global labels taxonomy]]
 +
* [[Global brands taxonomy]]
 +
* [[Global abbreviations taxonomy‎]]
 +
* [[Global warning taxonomy]]
 +
* [[Global properties taxonomy]]
 +
* [[Global body parts taxonomy]]
 +
* [[Global periods after opening taxonomy]]
 +
 +
=== Duplicates ===
 +
* [[Global safety taxonomy]]
 +
* [[Global Safety taxonomy]]
 
* [[Global risks taxonomy]]
 
* [[Global risks taxonomy]]
 +
* [[Global Risks taxonomy]]

Latest revision as of 19:42, 4 July 2018

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

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