Difference between revisions of "Taxonomy Properties"

From Open Food Facts wiki
Jump to navigation Jump to search
Line 5: Line 5:
  
 
== Properties in use ==
 
== Properties in use ==
 +
 
==== additives_classes ====
 
==== additives_classes ====
 
The additive classes associated to a term.
 
The additive classes associated to a term.
* Example: additives_classes:en: en:colour - the additive classes associated to E100
+
* example: additives_classes:en: en:colour - the additive classes associated to E100
* Usage: [[Additives taxonomy]]
+
* usage: [[Additives taxonomy]]
  
 
==== country_code_2 ====
 
==== country_code_2 ====
 
The two letter country code for a country. This is based on the standard [https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 ISO 3166 alpha 2] .
 
The two letter country code for a country. This is based on the standard [https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 ISO 3166 alpha 2] .
* Example: country_code_2:en:AF - the country code for Afghanistan.
+
* example: country_code_2:en:AF - the country code for Afghanistan.
  
additives_classes:en: en:colour
+
==== colour_index ====
 +
*example: colour_index:en:CI 19140
 +
* usage: [[Additives taxonomy]]
  
 
==== country_code_3 ====
 
==== country_code_3 ====
 
The three letter country code for a country. This is based on the standard [https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3 ISO 3166 alpha 3]
 
The three letter country code for a country. This is based on the standard [https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3 ISO 3166 alpha 3]
* Example: country_code_2:en:AFG - the country code for Afghanistan.
+
* example: country_code_2:en:AFG - the country code for Afghanistan.
* Usage: [[Countries taxonomy]]
+
* usage: [[Countries taxonomy]]
  
 
==== description ====
 
==== description ====
 
A short description of a term. This is usually taken from a standard, wikidata, wiktionary or wikipedia.
 
A short description of a term. This is usually taken from a standard, wikidata, wiktionary or wikipedia.
* Example: description:en:Acids are substances which increase the acidity of a foodstuff and/or impart a sour taste to it. - which described the term Acid in the Additives Classes taxonomy.
+
* example: description:en:Acids are substances which increase the acidity of a foodstuff and/or impart a sour taste to it. - which described the term Acid in the Additives Classes taxonomy.
* Usage: [[Additives Classes taxonomy]]
+
* usage: [[Additives Classes taxonomy]]
 +
 
 
==== e_number ====
 
==== e_number ====
 +
A reference url to a report?
 
The [https://en.wikipedia.org/wiki/E_number European standard identification] for additives that corresponds to the term.
 
The [https://en.wikipedia.org/wiki/E_number European standard identification] for additives that corresponds to the term.
* Example: e_number:en:100 - to associate the term with E100
+
* example: e_number:en:100 - to associate the term with E100
* Usage: [[Additives taxonomy]]
+
* usage: [[Additives taxonomy]]
 +
 
 +
==== efsa_evaluation ====
 +
* example: efsa:en:http://www.efsa.europa.eu/fr/efsajournal/doc/1331.pdf reference to a report on E102
 +
* usage: [[Additives taxonomy]]
 +
 
 +
==== efsa_evaluation ====
 +
The title of [https://en.wikipedia.org/wiki/European_Food_Safety_Authority European Food Safety Authority] evaluation report of the term.
 +
* example: efsa_evaluation:en: Scientific Opinion on the re-evaluation of curcumin (E 100) as a food additive
 +
* usage: [[Additives taxonomy]]
  
==== efsa_evaluation_url ====
+
==== efsa_evaluation_adi_established ====
A web-link to the [https://en.wikipedia.org/wiki/European_Food_Safety_Authority European Food Safety Authority] evaluation data for a term.
+
* example: efsa_evaluation_adi_established:en: en:no
* Example: efsa_evaluation_url:en: http://dx.doi.org/10.2903/j.efsa.2010.1679 - to indicate the documentation for the term E100
+
* usage: [[Additives taxonomy]]
* Usage: [[Additives taxonomy]]
 
  
 
==== efsa_evaluation_date ====
 
==== efsa_evaluation_date ====
 
The [https://en.wikipedia.org/wiki/E_number European standard identification] for additives that corresponds to the term.
 
The [https://en.wikipedia.org/wiki/E_number European standard identification] for additives that corresponds to the term.
* Example: efsa_evaluation_date:en: 2010-09-06 - the latest evaluation date of the report on  E100
+
* example: efsa_evaluation_date:en: 2010-09-06 - the latest evaluation date of the report on  E100
* Usage: [[Additives taxonomy]]
+
* usage: [[Additives taxonomy]]
  
==== efsa_evaluation ====
+
==== efsa_evaluation_url ====
The title of [https://en.wikipedia.org/wiki/European_Food_Safety_Authority European Food Safety Authority] evaluation report of the term.
+
A web-link to the [https://en.wikipedia.org/wiki/European_Food_Safety_Authority European Food Safety Authority] evaluation data for a term.
* Example: efsa_evaluation:en: Scientific Opinion on the re-evaluation of curcumin (E 100) as a food additive
+
* example: efsa_evaluation_url:en: http://dx.doi.org/10.2903/j.efsa.2010.1679 - to indicate the documentation for the term E100
* Usage: [[Additives taxonomy]]
+
* usage: [[Additives taxonomy]]
  
 
==== Image ====
 
==== Image ====
Line 50: Line 63:
 
==== language_code_2 ====
 
==== language_code_2 ====
 
The two letter language code as defined by the ISO standard [https://en.wikipedia.org/wiki/ISO_639-1 ISO 639-1].
 
The two letter language code as defined by the ISO standard [https://en.wikipedia.org/wiki/ISO_639-1 ISO 639-1].
* Example: language_code_2:en:ab
+
* example: language_code_2:en:ab
* Usage: [[Languages taxonomy]]
+
* usage: [[Languages taxonomy]]
 +
 
 
==== language_codes ====
 
==== language_codes ====
 
A list of two letter language codes. This can be used to list the languages spoken in a country
 
A list of two letter language codes. This can be used to list the languages spoken in a country
Line 59: Line 73:
 
==== language_code_3 ====
 
==== language_code_3 ====
 
The three letter language code as defined by the ISO standard [https://en.wikipedia.org/wiki/ISO_639-2 ISO 639-2].
 
The three letter language code as defined by the ISO standard [https://en.wikipedia.org/wiki/ISO_639-2 ISO 639-2].
* Example: language_code_3:en:abk
+
* example: language_code_3:en:abk
* Usage: [[Languages taxonomy]]
+
* usage: [[Languages taxonomy]]
  
 
==== opposite ====
 
==== opposite ====

Revision as of 12:26, 7 October 2022

Introduction

Taxonomy properties describe possible properties that can be added to a term in any Taxonomy.

This document gives an alphabetic overview of all (I hope) properties that are in use in all taxonomies. Not every property is relevant to every taxonomy.

Properties in use

additives_classes

The additive classes associated to a term.

  • example: additives_classes:en: en:colour - the additive classes associated to E100
  • usage: Additives taxonomy

country_code_2

The two letter country code for a country. This is based on the standard ISO 3166 alpha 2 .

  • example: country_code_2:en:AF - the country code for Afghanistan.

colour_index

country_code_3

The three letter country code for a country. This is based on the standard ISO 3166 alpha 3

  • example: country_code_2:en:AFG - the country code for Afghanistan.
  • usage: Countries taxonomy

description

A short description of a term. This is usually taken from a standard, wikidata, wiktionary or wikipedia.

  • example: description:en:Acids are substances which increase the acidity of a foodstuff and/or impart a sour taste to it. - which described the term Acid in the Additives Classes taxonomy.
  • usage: Additives Classes taxonomy

e_number

A reference url to a report? The European standard identification for additives that corresponds to the term.

efsa_evaluation

efsa_evaluation

The title of European Food Safety Authority evaluation report of the term.

  • example: efsa_evaluation:en: Scientific Opinion on the re-evaluation of curcumin (E 100) as a food additive
  • usage: Additives taxonomy

efsa_evaluation_adi_established

efsa_evaluation_date

The European standard identification for additives that corresponds to the term.

  • example: efsa_evaluation_date:en: 2010-09-06 - the latest evaluation date of the report on E100
  • usage: Additives taxonomy

efsa_evaluation_url

A web-link to the European Food Safety Authority evaluation data for a term.

Image

  • Image (logo) - this allows to add an image/logo related to the term;

language_code_2

The two letter language code as defined by the ISO standard ISO 639-1.

language_codes

A list of two letter language codes. This can be used to list the languages spoken in a country

  • Example: language_codes:en:ps,prs - the languages spoken in Afghanistan
  • Usage: Countries taxonomy

language_code_3

The three letter language code as defined by the ISO standard ISO 639-2.

opposite

  • Opposite - to specify the opposite relation to another term, i.e. organic versus non-organic;

vegan

Indicates whether the associated term is usable for a vegan diet. Values are: no, maybe, yes.

vegetarian

Indicates whether the associated term is usable for a vegetarian diet. Values are: no, maybe, yes.

wikidata

A reference to the corresponding entry on Wikidata.

wikipedia

  • Wikipedia a link the term with its equivalent on Wikipedia;

Properties suggested

Some properties have been suggestion and are often commented out in the taxonomies.

comment

Instructions for editors.

  • Example: comment:en:do not mix with packaging gas. - to indicate that two terms should not be mixed up.
  • Usage: Additives classes taxonomy

nova

usage

An example of how the term is on packages.

  • example: usage:en: acerola powder with cassava starch (cooking enhancer) - to illustrate the usage of the term cooking enhancer.
  • usage: Additives classes taxonomy