Property talk:P1820

Latest comment: 3 years ago by Wostr in topic Changing datatype to external-id

Documentation

Open Food Facts food additive ID
represents a food additive on Open Food Facts
DescriptionFood additive on Open Food Facts. A food additive can be of the form EXXX to EXXXX when it's listed by Europe, or it may not be listed by Europe. We thus have both the European name and the name of the additive in English, lower case, with hyphens. We support translations and synonyms, so we'll be able to better help enriching Wikidata and keep Open Food Fact's taxonomies more aligned with Wikidata.
Applicable "stated in" valueOpen Food Facts (Q3353146)
Data typeExternal identifier
Domainfood additive (Q189567) (note: this should be moved to the property statements)
Allowed values[a-z0-9-]+
Examplecarmine (Q320617)e120-cochineal
Dimethyl polysiloxane (Q42807511)e900-dimethyl-polysiloxane
Sorbitol syrup (Q42807518)e420ii-sorbitol-syrup
Source
According to this template: Open Food Facts additives ( http://world.openfoodfacts.org/additives ) which are created using a hand-curated taxonomy (http://en.wiki.openfoodfacts.org/Global_additives_taxonomy), which is regularly expanded and translated, with many synonyms in many languages.
According to statements in the property:
https://world.openfoodfacts.org/additives
When possible, data should only be stored as statements
Formatter URLhttps://world.openfoodfacts.org/additive/$1
See alsoOpen Food Facts food category ID (P1821), Open Food Facts ingredient ID (P5930), Open Food Facts food additive ID (P1820)
Lists
Proposal discussionProposal discussion
Current uses
Total370
Main statement36698.9% of uses
Qualifier30.8% of uses
Reference10.3% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Single value: this property generally contains a single value. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P1820#Single value, SPARQL
Distinct values: this property likely contains a value that is different from all other items. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P1820#Unique value, SPARQL (every item), SPARQL (by value)
Item “E number (P628): Items with this property should also have “E number (P628)”. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P1820#Item P628, search, SPARQL
Format “[a-z0-9-]+: value must be formatted using this pattern (PCRE syntax). (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P1820#Format, SPARQL
Item “has use (P366): food additive (Q189567), baking flavor (Q798358), food coloring (Q753009), flavour enhancer (Q898745), food enzyme (Q98215018), food preservative (Q6509670), antioxidant (Q133948), acidity regulator (Q898753), food stabiliser (Q7595716), raising agent (Q908833), sugar substitute (Q626292), fat substitute (Q505199), synergist (Q98637450), flour treatment agent (Q469842), glazing agent (Q334582), food foaming agent (Q60449682), antifoaming agent (Q904035), anticaking agent (Q726460), sequestrant (Q905648), humectant (Q911854), bulking agent (Q49105304), bleach (Q11587), food thickener (Q60449655), acidulant (Q337038), food emulsifier (Q60449171), carrier (Q2457003): Items with this property should also have “has use (P366): food additive (Q189567), baking flavor (Q798358), food coloring (Q753009), flavour enhancer (Q898745), food enzyme (Q98215018), food preservative (Q6509670), antioxidant (Q133948), acidity regulator (Q898753), food stabiliser (Q7595716), raising agent (Q908833), sugar substitute (Q626292), fat substitute (Q505199), synergist (Q98637450), flour treatment agent (Q469842), glazing agent (Q334582), food foaming agent (Q60449682), antifoaming agent (Q904035), anticaking agent (Q726460), sequestrant (Q905648), humectant (Q911854), bulking agent (Q49105304), bleach (Q11587), food thickener (Q60449655), acidulant (Q337038), food emulsifier (Q60449171), carrier (Q2457003)”. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P1820#Item P366
Allowed entity types are Wikibase item (Q29934200): the property may only be used on a certain entity type (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P1820#Entity types
Scope is as main value (Q54828448): the property must be used by specified way only (Help)
List of violations of this constraint: Database reports/Constraint violations/P1820#Scope, hourly updated report, SPARQL
 
This property is being used by:

Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.)

Pro edit

Property available on Mix'n Match --Teolemon (talk) 09:38, 30 April 2016 (UTC)Reply

Constraint is not correct edit

For food additives the correct statement would be with has use (P366), not using instance of (P31)/subclass of (P279). The current constraints should be modified. Wostr (talk) 23:21, 26 November 2019 (UTC)Reply

Changing datatype to external-id edit

I asked to change the datatype of this property from string to external-id, like two other properties of Open Food Facts project: Open Food Facts food category ID (P1821) and Open Food Facts ingredient ID (P5930). If you have any comments, write here or Wikidata:Contact_the_development_team#String_to_external-id. Wostr (talk) 11:33, 28 September 2020 (UTC)Reply

Return to "P1820" page.