Wikidata:Property proposal/safety classification and labelling

safety classification and labelling edit

Originally proposed at Wikidata:Property proposal/Natural science

Descriptionclassification and labelling data for risk identification about chemicals
Data typeItem
Domainchemical substance (Q79529)
Allowed valuesclassification scheme (Q5962346)
Example * see qualifiers below
SourceSame as for GHS system, UN regulations or NFPA 704
Planned useSame as for GHS system, UN regulations or NFPA 704
See also

Currently several classification and labelling systems are used to identify the risks associated to chemicals. The most important ones are the GHS system, NFPA 704 or the UN Recommendations on the Transport of Dangerous Goods used for ADR/RID, IATA and IMDG transport. These systems require a complete set of data and the data set can be different depending on the sources or the evaluation date. Currently different properties already exists in WD to create the data set but no way exists to retrieve directly all relevant data of one data set from the item and some filters based on reference data need to be applied. The goal of the new property is to group all data from one source into a single structure. This property will be used for different classification and labelling systems. See examples below. Snipre (talk) 00:18, 29 December 2017 (UTC)[reply]

Examples
dichlorine (Q1904422):
safety classification and labelling:Globally Harmonized System of Classification and Labelling of Chemicals (Q899146)
P728 (P728): H270, H280, H330, H314, H318, H335, H400
GHS signal word (P1033): danger
P940 (P940): P202, P244, P260, P264, P271+P403, P273, P280+P284, P370+P376, P405, P501
icon (P2910): comburant
icon (P2910): gas under pressure
icon (P2910): corrosive
icon (P2910): toxic
icon (P2910): pollutant
safety classification and labelling:NFPA 704 (Q208273)
NFPA Health (P993): 4
NFPA Fire (P994): 0
NFPA Instability (P995): 0
NFPA Special (P877): OX
safety classification and labelling:UN Recommendations on the Transport of Dangerous Goods (Q7865437)
UN number (P695): 1017
Kemler code (P700): 268
UN class (P874): 2
UN classification code (P875): 2TOC
UN packaging group (P876): novalue
icon (P2910): 2.3
icon (P2910): 5.1
icon (P2910): 8

Open questions:

  Notified participants of WikiProject Chemistry

Discussion
  • I hid the discussion about GHS classification (not labelling) as I think it is not directly related to the discussed property (GHS classification may be model using subclass of (P279), but I think that GHS labelling/NFPA 704 cannot be). Also, there is Wikidata:WikiProject Chemistry/Safety classification and labelling subpage, where I placed proposed model using this property with proposed new GHS pictogram property and changes in H/P-phrases properties (string → wikibase-item datatype).
    @TomT0m: there is also GHS classification proposal based on subclass of (P279) and classes/categories items on this subpage (under option 2); I think that there are the key points of your proposals, but feel free to correct them in any way. However, I'm not sure what is your opinion about discussed property in connection with GHS labelling/NFPA 704/other labelling systems? I hope you don't mind hiding our discussion – but if you do, I'll revert this action.
    @ChristianKl: sorry for pinging, but I'm not sure whether your comments were only about using icons vs items or maybe you have some opinion about discussed property? Also, I wonder how much support have to be expressed here to be able to create property? Wostr (talk) 00:00, 8 February 2018 (UTC)[reply]
    • @Wostr: It was not only a proposal to model GHS classification, which have its interest, but also to use it to classify substances. The assumption was that it is possible it to compute automatically the messages and pictograms from the classes substances are classified into. It is way less interesting if it’s not possible to do this (I have my doubts on this, but you’re the expert and I don’t plan to really dig on the subject or code anything, so I’ll stop here :) ) author  TomT0m / talk page 08:09, 8 February 2018 (UTC)[reply]
      • I wish it could be possible for European GHS to compute labelling from the classification; it would be much easier to add just classes/categories. Maybe it is somehow possible for US GHS (which I think is more similar to original UN GHS, yet I'm not familiar with US law, so that's my guess only), but in EU GHS there is too much odd rules added to GHS (e.g. recently, while I was adding GHS labelling in pl.wiki, I found chem. compound that was formally not dangerous according to GHS criteria, had no GHS classes/categories, and yet it had GHS labelling with EUH-phrases only... that's one of a few odd things that can happen with EU GHS). Wostr (talk) 13:21, 8 February 2018 (UTC)[reply]
@TomT0m: Your proposition is focused on use of instance/subclass instead of properties to describe items but this vision just leads to the creation of dozens statements "instance of". Just take methanol: you can describe it form its structure (for example chemical compound) but also by its effects (flammable compounds, toxic compound,...) or its use (drug, fuel, solvent, disinfectant). But this is not the end when speaking about compounds classification because each system has its own definition and a flammable liquid for GHS can be not flammable for NFPA 704. So in our case you should multiply the number of possible values by the number of classification systems to be sure to represent all cases. So instead of flammable liquid you should add GHS flammable liquid and NFPA 704 flammable liquid. Just do that for classification systems like GHS (fro EU, US and other countries), NFPA 704, Hazchem, HMIS, for road transportation (ADR), for rail transportation (RID),... and I think you will understand why use of instance/subclass is just a nightmare.
That's why the use of instance/subclass classification system should be limited from my point of view especially when you are working with a general ontology and not with a specialized one. So do we agree that specific properties are more valuable than instance/subclass classification ? Snipre (talk) 14:48, 13 February 2018 (UTC)[reply]
@Snipre: « So do we agree that specific properties are more valuable than instance/subclass classification ? » this white/black opposition does not make any sense to me, the whole point is to use both the best way possible. Especially because risk classification can be performed using « subclass of » and that will help define precisely what the risk is (for example, the risk of explosion in the different national or international scheme may be defined in a different way, it’s still possible to classify then as subclass of a generic « risk of explosion ». That said, I understand your point, and in general ontologies there is properties for potentialities of objects (for OBO http://ontology.buffalo.edu/smith/articles/realizables.pdf ) and has properties such as « role » : https://www.ebi.ac.uk/ols/ontologies/ro/terms?iri=http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FBFO_0000023 and variants : https://www.ebi.ac.uk/ols/search?q=role&groupField=iri&start=0&ontology=ro .
My proposition was to use the class to infer the pictograms, as to each class maps a set of pictograms, and to use the classes as a shortcut to represent a set of pictogram and warning messages. This would not be such a nightmare in the sense that if that worked, that could spare a lot of explicit statements while retaining the possibility of putting all the information in, say, an infobox. A feature that is possible with good classes, chosen such as they allow to compress a lot of information in one statement (imagine the class of substances that are considered explosive on any considered definition). author  TomT0m / talk page 17:09, 13 February 2018 (UTC)[reply]
I experimented on that idea on Template:Implied instances that currently generates a query to find instances of a class even if the instance of (P31) statement is not put, according to statements on the class item on or its parent classes, and plan to do stuffs the other way around (if an item is an instance of a class that defines statements for its instances, consider that this item has suche a statement). author  TomT0m / talk page 17:31, 13 February 2018 (UTC)[reply]
  • I'm cautiously marking this as 'ready', as there is no votes against and the discussion whether we should add GHS classification by this property or use subclass of (P279) for this is quite beyond the scope of this discussion (in fact, this is a more general discussion whether we should use general properties like P31/P279 if it's possible or create and use many separate properties in each field) — in other words, NFPA 704, GHS labelling etc. can be added using this property (of course after some changes in existing properties and after creating some additional properties and items – which I want to do after creating proposed property), but addition of GHS classification requires further discussion in the WikiProject). Wostr (talk) 01:11, 13 March 2018 (UTC)[reply]
  • So I propose to add a constraint on the values of this new property as following:
Safety system Country Value Versions
Globally Harmonized System of Classification and Labelling of Chemicals (Q899146) EU Regulation (EC) No. 1272/2008 (Q2005334)
US Example
CN Example
UNO Example GHS 1st edition, GHS Rev.1, GHS Rev.2, GHS Rev.3, GHS Rev.4, GHS Rev.5, GHS Rev.6, GHS Rev.7,
NFPA 704 (Q208273) US 1996 version, 2007 version, 2012 version, 2017 version
UN Recommendations on the Transport of Dangerous Goods (Q7865437) UNO 1996 version, 2007 version, 2012 version, 2017 version

@ديفيد عادل وهبة خليل 2, ChristianKl, TomT0m, Wostr, Snipre:   Done: safety classification and labelling (P4952). − Pintoch (talk) 11:53, 14 March 2018 (UTC)[reply]