Line 161:
Line 161:
== Getting taxonomies files ==
== Getting taxonomies files ==
−
The definitions can be edited on [https://github.com/openfoodfacts/openfoodfacts-server/tree/master/taxonomies GitHub], they are periodically synchronized on the Open Food Facts database and web site.
+
=== Finding new opportunities for taxonomization ===
−
+
* A good trick to find candidates for taxonomization is
−
=== Raw taxonomies ===
+
* https://world.openfoodfacts.org/categories?filter=-
−
'''(on Github, account and VCS knowledge needed)'''
+
* https://world.openfoodfacts.org/labels?filter=-
−
* [https://github.com/openfoodfacts/openfoodfacts-server/blob/master/taxonomies/test.txt Test taxonomy] showing the basic taxonomy definition features
+
* https://world.openfoodfacts.org/origins?filter=-
−
* [https://github.com/openfoodfacts/openfoodfacts-server/blob/master/taxonomies/ingredients.txt Ingredients taxonomy]
+
* https://world.openfoodfacts.org/ingredients?filter=-
−
* [https://github.com/openfoodfacts/openfoodfacts-server/blob/master/taxonomies/categories.txt Global categories taxonomy]
+
* Everything in italics is up for grabs
−
* [[Global brands and companies taxonomy]]
−
* [https://github.com/openfoodfacts/openfoodfacts-server/blob/master/taxonomies/labels.txt Global labels taxonomy]
−
* [[Global labels taxonomy logos]]
−
* [https://github.com/openfoodfacts/openfoodfacts-server/blob/master/taxonomies/languages.txt Global languages taxonomy]
−
* [https://github.com/openfoodfacts/openfoodfacts-server/blob/master/taxonomies/countries.txt Global countries taxonomy]
−
* [[Global origins taxonomy]]
−
* [https://github.com/openfoodfacts/openfoodfacts-server/blob/master/taxonomies/additives.txt Global additives taxonomy]
−
* [https://github.com/openfoodfacts/openfoodfacts-server/blob/master/taxonomies/additives_classes.txt Global additives classes taxonomy]
−
* [https://github.com/openfoodfacts/openfoodfacts-server/blob/master/taxonomies/vitamins.txt Global vitamins taxonomy]
−
* [https://github.com/openfoodfacts/openfoodfacts-server/blob/master/taxonomies/minerals.txt Global minerals taxonomy]
−
* [https://github.com/openfoodfacts/openfoodfacts-server/blob/master/taxonomies/amino_acids.txt Global amino acids taxonomy]
−
* [https://github.com/openfoodfacts/openfoodfacts-server/blob/master/taxonomies/nucleotides.txt Global nucleotides taxonomy]
−
* [https://github.com/openfoodfacts/openfoodfacts-server/blob/master/taxonomies/other_nutritional_substances.txt Global other nutritional substances taxonomy]
−
* [https://github.com/openfoodfacts/openfoodfacts-server/blob/master/taxonomies/allergens.txt Global allergens taxonomy]
−
* [https://github.com/openfoodfacts/openfoodfacts-server/blob/master/taxonomies/states.txt Global states taxonomy]
−
* [https://github.com/openfoodfacts/openfoodfacts-server/blob/master/taxonomies/nova_groups.txt Global NOVA groups taxonomy]
=== Taxonomies in JSON format ===
=== Taxonomies in JSON format ===
Line 206:
Line 190:
[https://world.openfoodfacts.org/api/v2/taxonomy?tagtype=categories&tags=en:carrots&lc=en%2Cfr&cc=fr https://world.openfoodfacts.org/api/v2/taxonomy?tagtype=categories&tags=en:carrots&lc=en,fr&cc=fr]
[https://world.openfoodfacts.org/api/v2/taxonomy?tagtype=categories&tags=en:carrots&lc=en%2Cfr&cc=fr https://world.openfoodfacts.org/api/v2/taxonomy?tagtype=categories&tags=en:carrots&lc=en,fr&cc=fr]
−
−
=== Draft Taxonomies ===
−
* [[Global packaging taxonomy]]
−
* [[Global stores taxonomy]]
−
* [[Global Religious Certification taxonomy]]
−
* [[Global Food Preparation taxonomy]] (related to [[Project:Microwave]])
−
* [[Global IGP taxonomy]]
−
* [[Global EC marks taxonomy]]
== Building and deploying taxonomies ==
== Building and deploying taxonomies ==