Taxonomy Properties: Difference between revisions

From Open Food Facts wiki
Line 171: Line 171:
Indicates whether the associated term is usable for a vegetarian diet. Values are: no, maybe, yes.
Indicates whether the associated term is usable for a vegetarian diet. Values are: no, maybe, yes.
* example: vegetarian:en:maybe
* example: vegetarian:en:maybe
* usage: [[Additives taxonomy]]
* usage: [[Additives taxonomy]], [[Ingredients taxonomy]]


==== wikidata ====
==== wikidata ====

Revision as of 14:09, 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

additives_classes

agribalyse_proxy_food_code

agribalyse_proxy_food_name

ciqual_food_code

The ciqual code

ciqual_food_name

The Ciqual description.

  • example: ciqual_food_name:fr:Dessert lacté infantile au riz ou à la semoule
  • usage: Categories taxonomy

ciqual_proxy_food_code

ciqual_proxy_food_name

  • example: ciqual_proxy_food_name:en:Fruit soft drink, carbonated (less than 10% of fruit juice), without sugar and with artificial sweetener(s)
  • usage: Categories 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.

e_number

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

efsa

References to efsa documents. There can be more that one per term.

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_exposure_mean_greater_than_adi

  • example: efsa_evaluation_exposure_mean_greater_than_adi:en: en:no-group
  • usage: Additives taxonomy

efsa_evaluation_exposure_95th_greater_than_adi

  • example: efsa_evaluation_exposure_95th_greater_than_adi:en: en:adults, en:elderly, en:children, en:toddlers
  • usage: Additives taxonomy

efsa_evaluation_overexposure_risk

efsa_evaluation_url

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

from_palm_oil

To indicate whether the term is made from palm oil. Possible values are: no, maybe, yes.

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.

mandatory_additive_class

nova

The NOVA level. Values can be 1,2,3,4.

opposite

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

  • example:
  • usage: [Labels taxonomy]]

origins

To indicate the geographic origin. A comma separated list of values, keys (language code + canonical value) from the Countries taxonomy.

pnns_group_2

protected_name_file_number

protected_name_type

Valid values gi, tsg

show_ingredients

Values vegetarian:maybe, vegetarian:no, vegan:maybe, vegan:no, from_palm_oil:maybe, from_palm_oil:yes

show_on_producers_platform

Values no, yes.

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

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

origin

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