{
  "version": "https://jsonfeed.org/version/1.1",
  "title": "chem-bla-ics",
  "description": "Chemblaics (pronounced chem-bla-ics) is the science that uses open science and computers to solve problems in chemistry, biochemistry and related fields.",
  "home_page_url": "https://chem-bla-ics.linkedchemistry.info/",
  "feed_url": "https://chem-bla-ics.linkedchemistry.info/2018/08/18/compound-class-identifiers-in-wikidata.json",
  "icon": "https://chem-bla-ics.linkedchemistry.info/assets/images/chem-bla-ics_logo.png",
  "language": "en",
  "authors": [
    {
      "name": "Egon Willighagen",
      "url": "https://orcid.org/0000-0001-7542-0286",
      "_orcid": "0000-0001-7542-0286"
    }
  ],
  "items": [

    {
      "id": "https://doi.org/10.59350/7ej1y-tp828",
      "url": "https://chem-bla-ics.linkedchemistry.info/2018/08/18/compound-class-identifiers-in-wikidata.html",
      "title": "Compound (class) identifiers in Wikidata",
      "content_html": "<p><span style=\"width: 40%; display: block; margin-left: auto; margin-right: auto; float: right\">\n<img src=\"/assets/images/extid-wikidata-histogram.png\" /> <br />\n<a href=\"https://edu.nl/h6kg3\">Bar chart</a> showing the number of compounds with a particular chemical identifier.\n</span>\nI think <a href=\"http://wikidata.org/\">Wikidata</a> is a groundbreaking project, which will have a major impact on science. One of the\nreasons is the open license (CCZero), the very basic approach (<a href=\"http://wikiba.se/\">Wikibase</a>), and the superb community around\nit. For example, setting up your own Wikibase including a cool SPARQL endpoint, is\n<a href=\"https://github.com/wmde/wikibase-docker\">easily done with Docker</a>.</p>\n\n<p>Wikidata has many sub projects, such as <a href=\"http://wikicite.org/\">WikiCite</a>, which captures the collective of primary literature.\nAnother one is the <a href=\"https://www.wikidata.org/wiki/Wikidata:WikiProject_Chemistry\">WikiProject Chemistry</a>. The two nicely match\nup, I think, making a public database linking chemicals to literature (tho, very much needs to be done here), see my recent\nICCS 2018 poster (doi:<a href=\"https://doi.org/10.6084/m9.figshare.6356027.v1\">10.6084/m9.figshare.6356027.v1</a>, paper pending).</p>\n\n<p>But Wikidata is also a great resource for identifier mappings between chemical databases, something we need for\n<a href=\"https://chem-bla-ics.blogspot.com/2017/11/new-paper-wikipathways-multifaceted.html\">our metabolism pathway research</a>.\nThe mapping, as you may know, are <a href=\"https://chem-bla-ics.blogspot.com/2016/09/metabolite-identifier-mapping-databases.html\">used in the latter</a>\nvia <a href=\"https://www.bridgedb.org/\">BridgeDb</a> and we have been using Wikidata as one of three sources for some time now (the others being\n<a href=\"http://www.hmdb.ca/\">HMDB</a> and <a href=\"https://www.ebi.ac.uk/chebi/\">ChEBI</a>). WikiProject Chemistry has a related\n<a href=\"https://www.wikidata.org/wiki/Wikidata:WikiProject_Chemistry/ChemID\">ChemID</a> effort, and while the wiki page does not show\nmuch recent activity, there is actually a lot of ongoing effort (see <a href=\"https://edu.nl/h6kg3\">plot</a>).\nAnd I’ve been <a href=\"https://chem-bla-ics.blogspot.com/2018/07/lipid-map-identifiers-and.html\">adding my bits</a>.</p>\n\n<h2 id=\"limitations-of-the-links\">Limitations of the links</h2>\n<p>But not each identifier in Wikidata has the same meaning. While they are all classified as ‘external-id’, the actual link may\nhave different meaning. This, of course, is the essence of scientific lenses, see <a href=\"https://chem-bla-ics.blogspot.com/2013/05/linking-wikipathways-to-binding.html\">this post</a>\nand the papers cited therein. One reason here is the difference in what entries in the various databases mean.</p>\n\n<p>Wikidata has an extensive model, defined by the aforementioned WikiProject Chemistry. For example, it has different concepts\nfor chemical compounds (in fact, the hierarchy is pretty rich) and compound classes. And these are differently modeled. Furthermore,\nit has a model that formalizes that things with a different InChI are different, but even allows things with the same InChI to be\ndifferent, if need arises. It tries to accurately and precisely capture the certainty and uncertainty of the chemistry. As such,\nit is a powerful system to handle identifier mappings, because databases are not clear, and chemistry and biological in data is\neven less: we measure experimentally a characterization of chemicals, but what we put in databases and give names, are specific\nmodels (often chemical graphs).</p>\n\n<p>That model differs from what other (chemical) databases use, or seem to use, because not always do databases indicate what they\nactually have in a record. But I think this is a fair guess.</p>\n\n<h2 id=\"chebi\">ChEBI</h2>\n<p>ChEBI (and the matching <a href=\"https://www.wikidata.org/wiki/Property:P683\">ChEBI ID</a>) has entries for chemical classes (e.g.\n<a href=\"https://www.ebi.ac.uk/chebi/searchId.do?chebiId=CHEBI:35366\">fatty acid</a>) and specific compounds (e.g.\n<a href=\"https://www.ebi.ac.uk/chebi/searchId.do?chebiId=30089\">acetate</a>).</p>\n\n<h2 id=\"pubchem-chemspider-unichem\">PubChem, ChemSpider, UniChem</h2>\n<p>These three resources use the InChI as central asset. While they do not really have the concept of compound classes so much\n(though increasingly they have classifications), they do have entries where stereochemistry is undefined or unknown. Each\none has their own way to link to other databases themselves, which normally includes tons of structure normalization (see\ne.g. doi:<a href=\"https://doi.org/10.1186/s13321-018-0293-8\">10.1186/s13321-018-0293-8</a> and\ndoi:<a href=\"https://doi.org/10.1186/s13321-015-0072-8\">10.1186/s13321-015-0072-8</a>).</p>\n\n<h2 id=\"hmdb\">HMDB</h2>\n<p>HMDB (and the matching <a href=\"https://www.wikidata.org/wiki/Property:P2057\">P2057</a>) has a biological perspective; the entries\nreflect the biology of a chemical. Therefore, for most compounds, they focus on the neutral forms of compounds. This makes\nlinking to/from other databases where the compound is not neutral chemically less precise.</p>\n\n<h2 id=\"cas-registry-numbers\">CAS registry numbers</h2>\n<p>CAS (and the matching <a href=\"https://www.wikidata.org/wiki/Property:P231\">P231</a>) is pretty unique itself, and has identifiers\nfor substances (see <a href=\"https://www.wikidata.org/wiki/Q79529\">Q79529</a>), much more than chemical compounds, and comes with a\nown set of unique features. For example, solutions of some compound, by design, have the same identifier. Previously,\nformaldehyde and formalin had different Wikipedia/Wikidata pages, both with the same CAS registry number.</p>\n\n<h2 id=\"limitations-of-the-links-2\">Limitations of the links #2</h2>\n<p>Now, returning to our starting point: limitations in linking databases. If we want FAIR mappings, we need to be as precise\nas possible. Of course, that may mean we need more steps, but we can always simplify at will, but we never can have a\ncomputer make the links more complex (well, not without making assumptions, etc).</p>\n\n<p>And that is why Wikidata is so suitable to link all these chemical databases: it can distinguish differences when needed,\nand make that explicit. It make mappings between the databases more <a href=\"https://www.nature.com/articles/sdata201618\">FAIR</a>.</p>\n\n<h4>References</h4>\n<div class=\"csl-bib-body\">\n    <div class=\"csl-entry\">Hähnke, V. D., Kim, S., &#38; Bolton, E. E. (2018). PubChem chemical structure standardization. <i>Journal of Cheminformatics</i>, <i>10</i>(1). https://doi.org/10.1186/s13321-018-0293-8 <a href=\"https://doi.org/10.1186/s13321-018-0293-8\">CrossRef</a> <a href=\"https://qlever.scholia.wiki/doi/10.1186/s13321-018-0293-8\">Scholia</a></div>\n    <div class=\"csl-entry\">Karapetyan, K., Batchelor, C., Sharpe, D., Tkachenko, V., &#38; Williams, A. J. (2015). The Chemical Validation and Standardization Platform (CVSP): large-scale automated validation of chemical structure datasets. <i>Journal of Cheminformatics</i>, <i>7</i>(1). https://doi.org/10.1186/s13321-015-0072-8 <a href=\"https://doi.org/10.1186/s13321-015-0072-8\">CrossRef</a> <a href=\"https://qlever.scholia.wiki/doi/10.1186/s13321-015-0072-8\">Scholia</a></div>\n    <div class=\"csl-entry\">Wilkinson, M. D., Dumontier, M., Aalbersberg, Ij. J., Appleton, G., Axton, M., Baak, A., Blomberg, N., Boiten, J.-W., da Silva Santos, L. B., Bourne, P. E., Bouwman, J., Brookes, A. J., Clark, T., Crosas, M., Dillo, I., Dumon, O., Edmunds, S., Evelo, C. T., Finkers, R., … Mons, B. (2016). The FAIR Guiding Principles for scientific data management and stewardship. <i>Scientific Data</i>, <i>3</i>(1). https://doi.org/10.1038/sdata.2016.18 <a href=\"https://doi.org/10.1038/sdata.2016.18\">CrossRef</a> <a href=\"https://qlever.scholia.wiki/doi/10.1038/sdata.2016.18\">Scholia</a></div>\n    <div class=\"csl-entry\">Willighagen, E., Slenter, D., Mietchen, D., Evelo, C., &#38; Nielsen, F. (2018). Wikidata and Scholia as a hub linking chemical knowledge. <i>Figshare</i>. https://doi.org/10.6084/M9.FIGSHARE.6356027.V1 <a href=\"https://doi.org/10.6084/m9.figshare.6356027.v1\">CrossRef</a> <a href=\"https://qlever.scholia.wiki/doi/10.6084/m9.figshare.6356027.v1\">Scholia</a></div>\n  </div>",
      "summary": "Bar chart showing the number of compounds with a particular chemical identifier. I think Wikidata is a groundbreaking project, which will have a major impact on science. One of the reasons is the open license (CCZero), the very basic approach (Wikibase), and the superb community around it. For example, setting up your own Wikibase including a cool SPARQL endpoint, is easily done with Docker.",
      "image": "https://chem-bla-ics.linkedchemistry.info/assets/images/extid-wikidata-histogram.png",
      "date_published": "2018-08-18T00:00:00+00:00",
      "date_modified": "2025-05-25T00:00:00+00:00",
      "tags": ["wikidata","scholia","chemistry","bridgedb","cas","chebi","chemspider","fair","hmdb","pubchem","rdf","wikicite"],
      "_references": [
        
          
          
            { "url": "https://doi.org/10.6084/m9.figshare.6356027.v1", "doi": "10.6084/m9.figshare.6356027.v1"
             }
            ,
          
        
          
          
            { "url": "https://doi.org/10.1186/s13321-018-0293-8", "doi": "10.1186/s13321-018-0293-8"
             }
            ,
          
        
          
          
            { "url": "https://doi.org/10.1186/s13321-015-0072-8", "doi": "10.1186/s13321-015-0072-8"
             }
            ,
          
        
          
          
            { "url": "https://doi.org/10.1038/sdata.2016.18", "doi": "10.1038/sdata.2016.18"
             }
            
          
        ],
      
      
      
      
      
      
        "authors": [ { "name": "Egon Willighagen", "url": "https://orcid.org/0000-0001-7542-0286" } ]
      
    }

  ]
}
