Line 31:
Line 31:
Below is the ingredient class entry of '''soybean''' in the OFF ingredients taxonomy:
Below is the ingredient class entry of '''soybean''' in the OFF ingredients taxonomy:
−
<nowiki>#description:en: SOYBEAN (Glycine max), or soya bean is a species of legume native to East Asia.
+
#comment:en: There is a bit of confusion whether "bean" should be part of the name, so "soy" or "soybeen"?.
−
#comment:en: There is a bit of confusion whether "bean" should be part of the name, so "soy" or "soybeen"?.
+
<en:soya
−
<en:soya
+
en: soya bean, soy beans, soya beans, soybean
−
en:soya bean, soy beans, soya beans, soybean
+
da: Sojabønne
−
da:Sojabønne
+
de: Sojabohne, Sojabohnen, Sojakerne
−
de:Sojabohne, Sojabohnen, Sojakerne
+
es: granos de soja, habas de soja
−
es:granos de soja, habas de soja
+
et: Sojauba
−
et:Sojauba
+
fi: Soijapapu
−
fi:Soijapapu
+
fr: fève de soja, fèves de soja, soja entier, graine de soja, graines de soja, graines soja
−
fr:fève de soja, fèves de soja, soja entier, graine de soja, graines de soja, graines soja</nowiki>
+
ga: pónairí soighe
+
he: פולי סויה, פול סויה
+
hr: sojino zrno
+
ja: 大豆, だいず
+
description:en: SOYBEAN (Glycine max), or soya bean is a species of legume native to East Asia.
+
description:fr: Le soja, (soya) (Glycine max), est une espèce de plante annuelle de la famille des légumineuses.
+
wikidata:en: Q11006
+
wikipedia:en: <nowiki>https://en.wikipedia.org/wiki/Soybean</nowiki>
=== Explanation ===
=== Explanation ===
* '''Comment-line''' - the ''#'' describes a comment line and can be used to add other information to an ingredient. This information is not used by OFF.
* '''Comment-line''' - the ''#'' describes a comment line and can be used to add other information to an ingredient. This information is not used by OFF.
−
* '''Description''' the ''#description:en:'' provides a definition of the ingredient in english. In this case the definition is taken from wikipedia.
+
*'''Super-ingredient''' - the ''<en:soya'' line describes the super-ingredient ingredient of this (sub-ingredient) ingredient. The relationship between the super-ingredient an the sub-ingredient is an ''is-a-kind-of-relationship''. This means that the sub-ingredient is a kind of super-ingredient. In this example the soybean ingredient is a kind soy ingredient. The sub-ingredient provides more details of the ingredient. In this case the super-ingredient is very broad (something with soy), wheras the sub-ingredient adds the detail of the bean. This line is optional, if no super-ingredient can be specified.
−
* '''Description''' the ''#comment:en:'' provides a comment in english about the entry.
−
* '''Super-ingredient''' - the ''<en:soya'' line describes the super-ingredient ingredient of this (sub-ingredient) ingredient. The relationship between the super-ingredient an the sub-ingredient is an ''is-a-kind-of-relationship''. This means that the sub-ingredient is a kind of super-ingredient. In this example the soybean ingredient is a kind soy ingredient. The sub-ingredient provides more details of the ingredient. In this case the super-ingredient is very broad (something with soy), wheras the sub-ingredient adds the detail of the bean. This line is optional, if no super-ingredient can be specified.
* '''Key''' - The ''en:soya bean'' line is the main name (key) of the ingredient. This doubles as name for the ingredient (in this case in english (''en:'')).
* '''Key''' - The ''en:soya bean'' line is the main name (key) of the ingredient. This doubles as name for the ingredient (in this case in english (''en:'')).
* '''Translations''' - The next lines provide translations of the main ingredient in other languages. One language per line. Each line starts with a language prefix. Thus ''de:'' means german.
* '''Translations''' - The next lines provide translations of the main ingredient in other languages. One language per line. Each line starts with a language prefix. Thus ''de:'' means german.
* '''Synonyms''' - an ingredient in a language can have multiple synonyms. These synonyms appear as secondary entries on a language line. The first entry is however the main name in that language.
* '''Synonyms''' - an ingredient in a language can have multiple synonyms. These synonyms appear as secondary entries on a language line. The first entry is however the main name in that language.
+
* '''Description''' - the ''description:en:'' provides a definition of the ingredient in english. In this case the definition is taken from wikipedia.
+
* '''Links to other taxonomies''' - by the time we're adding links to other taxonomies or resources such as [https://ciqual.anses.fr/ CIQUAL], Wikidata, Wikipedia, ect. For example: here the ''wikidata:en: Q11006'' refer to the [https://www.wikidata.org/wiki/Q11006 Q11006 entry of Wikidata], related to soybean.
=== Multiple super ingredients ===
=== Multiple super ingredients ===