{
  "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/2024/04/02/open-science-retreat-2.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/p4g67-ajf20",
      "url": "https://chem-bla-ics.linkedchemistry.info/2024/04/02/open-science-retreat-2.html",
      "title": "Open Science Retreat #2: CiTO Nanopublications",
      "content_html": "<p>During the <a href=\"http://chem-bla-ics.linkedchemistry.info/2024/03/31/open-science-retreat-1.html\">Open Science Retreat</a> I organized\na short session where we looking into typing citation intentions using a new nanopublication template. First, let’s describe\nnanopublications (originally used in doi:<a href=\"https://doi.org/10.3233/ISU-2010-0613\">10.3233/ISU-2010-0613</a>) a bit.\nScholia gives <a href=\"https://qlever.scholia.wiki/topic/Q57814310\">a nice overview of (macro?)publications on the topic <i class=\"fa-solid fa-recycle fa-xs\"></i></a>.\nThe <a href=\"https://nanopub.net/\">nanopub.net</a>\nwebsite describes that <em>[a nanopublication is a small knowledge graph snippet with metadata that is treated as an\nindependent (scientific) publication.]</em>. The knowledge graph, it continues, can be anything from an opinion to the link\nbetween a disease and a gene (doi:<a href=\"https://doi.org/10.1109/ESCIENCE.2018.00024\">10.1109/ESCIENCE.2018.00024</a>).</p>\n\n<p>Now, in this post I will document an update of how we can use nanopublications for citation intention annotation, and\ncompare this to existing solutions. I have been collecting and indexing the CiTO intention annotations in Wikidata and\nvisualizing the corpus with Scholia at <a href=\"https://qlever.scholia.wiki/cito/\">qlever.scholia.wiki/cito/ <i class=\"fa-solid fa-recycle fa-xs\"></i></a>. There are\ncurrently 22 journal articles with explicit CiTO annoation, largely thanks to a <a href=\"https://www.biomedcentral.com/collections/cito\">Journal of Cheminformatics pilot</a>\n(e.g. see doi:<a href=\"https://doi.org/10.1186/s13321-023-00683-2\">10.1186/s13321-023-00683-2</a>). Recently,\nthe preprint/report server <a href=\"https://biohackrxiv.org/discover\">BioHackrXiv</a> started\n<a href=\"https://github.com/biohackrxiv/publication-template\">CiTO support</a> too, also visible in the statistics\non Scholia with another 17 papers. A third source is data sets from bibliometric-like studies, as explained\nin <a href=\"https://chem-bla-ics.linkedchemistry.info/2023/04/02/cito-updates-4-annotations-in-datasets.html\">this post <i class=\"fa-solid fa-recycle fa-xs\"></i></a>. Nanopublications\nwould be a fourth solution.</p>\n\n<p>So, why another solutions? Like the datasets, assuming DataCite approaches, have clear provenance, but the overhead\nof and needed time for creating a dataset with citation intent annotations can be limiting. And because nanopublications\ncan be linked to ORCID identifiers, we can even discover which citation intent annotations are created by the original\nauthors of articles. Another advantage is that nanopubs are basically RDF and we can query them easily, allowing\nthe citation intentions to migrate to Wikidata. Scholia already saw an update to recognize nanopublications as\na unique kind reference (see the new Wikidata property <a href=\"https://www.wikidata.org/wiki/Property:P12545\">Nanopublication identifier (P12545)</a>).</p>\n\n<h1 id=\"nanodash-template\">NanoDash template</h1>\n\n<p>So, if we can make it easy for people to define nanopublications with CiTO citation intent annotations, than we can\nstart formalizing intent annotations from a much wider range of use cases. For example, we can annotate historically\nimportant discussions. Anyone can retrospectively annotate all their own articles, making them more FAIR. And if we\nuse DOI links, then it no longer is limited to journal articles, but we can use of for software and data citations too.\nThis is where <a href=\"https://w3id.org/np/RAX_4tWTyjFpO6nz63s14ucuejd64t2mK3IBlkwZ7jjLo\">a recent template</a> comes in created by\n<a href=\"https://orcid.org/0000-0002-1267-0234\">Tobias Kuhn</a>, one of the main nanopub developers:</p>\n\n<p><img src=\"/assets/images/citoPub.png\" alt=\"\" /></p>\n\n<p>This nanopublication template defines the minimal needs of the assumptions, along with useful provenance and nanopub\ninfo. Basically, the assertion defines that one DOI is a ScholarlyWork and using the CiTO, defines that it cites\none or more article works (with DOI). For each citations, one can select any of the known CiTO intent types,\ne.g. ‘extends’ or ‘uses method’ in, as in <a href=\"https://w3id.org/np/RA6Rxk1sSOSWxM7A6gW4SjJZRVt4fbY6nShPTAbQ8kce8\">this nanopublication</a>\ncreated with this template:</p>\n\n<p><img src=\"/assets/images/citoPub2.png\" alt=\"\" /></p>\n\n<h2 id=\"sparql-ing-cito-annotations\">SPARQL-ing CiTO annotations</h2>\n\n<p>Besides the template, Tobias also started a SPARQL query to which I added restrictions that the citing and cited\nresources needs to have a DOI, giving us <a href=\"https://query.knowledgepixels.com/tools/type/2c1cce3f3152738c1009d59251409392aaaa3b0324bcb5fdfb4b7b944b8f0c18/yasgui.html#query=prefix+rdfs%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23%3E%0Aprefix+np%3A+%3Chttp%3A%2F%2Fwww.nanopub.org%2Fnschema%23%3E%0Aprefix+npa%3A+%3Chttp%3A%2F%2Fpurl.org%2Fnanopub%2Fadmin%2F%3E%0Aprefix+npx%3A+%3Chttp%3A%2F%2Fpurl.org%2Fnanopub%2Fx%2F%3E%0Aprefix+xsd%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema%23%3E%0Aprefix+dct%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E%0A%0Aselect+%3Fnp+%3Flabel+%3Fsubj+%3Fcitationrel+%3Fobj+%3Fdate+where+%7B%0A++graph+npa%3Agraph+%7B%0A++++%3Fnp+npa%3AhasValidSignatureForPublicKey+%3Fpubkey+.%0A++++%3Fnp+dct%3Acreated+%3Fdate+.%0A++++%3Fnp+np%3AhasAssertion+%3Fassertion+.%0A++++optional+%7B+%3Fnp+rdfs%3Alabel+%3Flabel+.+%7D%0A++++filter+not+exists+%7B+%3Fnpx+npx%3Ainvalidates+%3Fnp+%3B+npa%3AhasValidSignatureForPublicKey+%3Fpubkey+.+%7D%0A++++filter+not+exists+%7B+%3Fnp+npx%3AhasNanopubType+npx%3AExampleNanopub+.+%7D%0A++%7D%0A++graph+%3Fassertion+%7B%0A++++%3Fsubj+%3Fcitationrel+%3Fobj+.%0A++++filter(regex(str(%3Fcitationrel)%2C+%22%5Ehttp%3A%2F%2Fpurl.org%2Fspar%2Fcito%2F.*%24%22))%0A++++filter(regex(str(%3Fsubj)%2C+%22doi.org%2F10%22))%0A++++filter(regex(str(%3Fobj)%2C+%22doi.org%2F10%22))%0A++%7D%0A%7D%0A++&amp;contentTypeConstruct=text%2Fturtle&amp;contentTypeSelect=application%2Fsparql-results%2Bjson&amp;endpoint=%2Frepo%2Ftype%2F2c1cce3f3152738c1009d59251409392aaaa3b0324bcb5fdfb4b7b944b8f0c18&amp;requestMethod=POST&amp;tabTitle=Query&amp;headers=%7B%7D&amp;outputFormat=table\">this query</a>:</p>\n\n<div class=\"language-sparql highlighter-rouge\"><div class=\"highlight\"><pre class=\"highlight\"><code><span class=\"k\">prefix</span><span class=\"w\"> </span><span class=\"nn\">rdfs</span><span class=\"o\">:</span><span class=\"w\"> </span><span class=\"nn\">&lt;http://www.w3.org/2000/01/rdf-schema#&gt;</span><span class=\"w\">\n</span><span class=\"k\">prefix</span><span class=\"w\"> </span><span class=\"nn\">np</span><span class=\"o\">:</span><span class=\"w\"> </span><span class=\"nn\">&lt;http://www.nanopub.org/nschema#&gt;</span><span class=\"w\">\n</span><span class=\"k\">prefix</span><span class=\"w\"> </span><span class=\"nn\">npa</span><span class=\"o\">:</span><span class=\"w\"> </span><span class=\"nn\">&lt;http://purl.org/nanopub/admin/&gt;</span><span class=\"w\">\n</span><span class=\"k\">prefix</span><span class=\"w\"> </span><span class=\"nn\">npx</span><span class=\"o\">:</span><span class=\"w\"> </span><span class=\"nn\">&lt;http://purl.org/nanopub/x/&gt;</span><span class=\"w\">\n</span><span class=\"k\">prefix</span><span class=\"w\"> </span><span class=\"nn\">xsd</span><span class=\"o\">:</span><span class=\"w\"> </span><span class=\"nn\">&lt;http://www.w3.org/2001/XMLSchema#&gt;</span><span class=\"w\">\n</span><span class=\"k\">prefix</span><span class=\"w\"> </span><span class=\"nn\">dct</span><span class=\"o\">:</span><span class=\"w\"> </span><span class=\"nn\">&lt;http://purl.org/dc/terms/&gt;</span><span class=\"w\">\n\n</span><span class=\"k\">select</span><span class=\"w\"> </span><span class=\"nv\">?np</span><span class=\"w\"> </span><span class=\"nv\">?label</span><span class=\"w\"> </span><span class=\"nv\">?subj</span><span class=\"w\"> </span><span class=\"nv\">?citationrel</span><span class=\"w\"> </span><span class=\"nv\">?obj</span><span class=\"w\"> </span><span class=\"nv\">?date</span><span class=\"w\"> </span><span class=\"k\">where</span><span class=\"w\"> </span><span class=\"p\">{</span><span class=\"w\">\n  </span><span class=\"k\">graph</span><span class=\"w\"> </span><span class=\"nn\">npa</span><span class=\"o\">:</span><span class=\"ss\">graph</span><span class=\"w\"> </span><span class=\"p\">{</span><span class=\"w\">\n    </span><span class=\"nv\">?np</span><span class=\"w\"> </span><span class=\"nn\">npa</span><span class=\"o\">:</span><span class=\"ss\">hasValidSignatureForPublicKey</span><span class=\"w\"> </span><span class=\"nv\">?pubkey</span><span class=\"w\"> </span><span class=\"p\">.</span><span class=\"w\">\n    </span><span class=\"nv\">?np</span><span class=\"w\"> </span><span class=\"nn\">dct</span><span class=\"o\">:</span><span class=\"ss\">created</span><span class=\"w\"> </span><span class=\"nv\">?date</span><span class=\"w\"> </span><span class=\"p\">.</span><span class=\"w\">\n    </span><span class=\"nv\">?np</span><span class=\"w\"> </span><span class=\"nn\">np</span><span class=\"o\">:</span><span class=\"ss\">hasAssertion</span><span class=\"w\"> </span><span class=\"nv\">?assertion</span><span class=\"w\"> </span><span class=\"p\">.</span><span class=\"w\">\n    </span><span class=\"k\">optional</span><span class=\"w\"> </span><span class=\"p\">{</span><span class=\"w\"> </span><span class=\"nv\">?np</span><span class=\"w\"> </span><span class=\"nn\">rdfs</span><span class=\"o\">:</span><span class=\"ss\">label</span><span class=\"w\"> </span><span class=\"nv\">?label</span><span class=\"w\"> </span><span class=\"p\">.</span><span class=\"w\"> </span><span class=\"p\">}</span><span class=\"w\">\n    </span><span class=\"k\">filter</span><span class=\"w\"> </span><span class=\"k\">not</span><span class=\"w\"> </span><span class=\"k\">exists</span><span class=\"w\"> </span><span class=\"p\">{</span><span class=\"w\"> </span><span class=\"nv\">?npx</span><span class=\"w\"> </span><span class=\"nn\">npx</span><span class=\"o\">:</span><span class=\"ss\">invalidates</span><span class=\"w\"> </span><span class=\"nv\">?np</span><span class=\"w\"> </span><span class=\"p\">;</span><span class=\"w\"> </span><span class=\"nn\">npa</span><span class=\"o\">:</span><span class=\"ss\">hasValidSignatureForPublicKey</span><span class=\"w\"> </span><span class=\"nv\">?pubkey</span><span class=\"w\"> </span><span class=\"p\">.</span><span class=\"w\"> </span><span class=\"p\">}</span><span class=\"w\">\n    </span><span class=\"k\">filter</span><span class=\"w\"> </span><span class=\"k\">not</span><span class=\"w\"> </span><span class=\"k\">exists</span><span class=\"w\"> </span><span class=\"p\">{</span><span class=\"w\"> </span><span class=\"nv\">?np</span><span class=\"w\"> </span><span class=\"nn\">npx</span><span class=\"o\">:</span><span class=\"ss\">hasNanopubType</span><span class=\"w\"> </span><span class=\"nn\">npx</span><span class=\"o\">:</span><span class=\"ss\">ExampleNanopub</span><span class=\"w\"> </span><span class=\"p\">.</span><span class=\"w\"> </span><span class=\"p\">}</span><span class=\"w\">\n  </span><span class=\"p\">}</span><span class=\"w\">\n  </span><span class=\"k\">graph</span><span class=\"w\"> </span><span class=\"nv\">?assertion</span><span class=\"w\"> </span><span class=\"p\">{</span><span class=\"w\">\n    </span><span class=\"nv\">?subj</span><span class=\"w\"> </span><span class=\"nv\">?citationrel</span><span class=\"w\"> </span><span class=\"nv\">?obj</span><span class=\"w\"> </span><span class=\"p\">.</span><span class=\"w\">\n    </span><span class=\"k\">filter</span><span class=\"p\">(</span><span class=\"nb\">regex</span><span class=\"p\">(</span><span class=\"nb\">str</span><span class=\"p\">(</span><span class=\"nv\">?citationrel</span><span class=\"p\">),</span><span class=\"w\"> </span><span class=\"s2\">\"^http://purl.org/spar/cito/.*$\"</span><span class=\"p\">))</span><span class=\"w\">\n    </span><span class=\"k\">filter</span><span class=\"p\">(</span><span class=\"nb\">regex</span><span class=\"p\">(</span><span class=\"nb\">str</span><span class=\"p\">(</span><span class=\"nv\">?subj</span><span class=\"p\">),</span><span class=\"w\"> </span><span class=\"s2\">\"doi.org/10\"</span><span class=\"p\">))</span><span class=\"w\">\n    </span><span class=\"k\">filter</span><span class=\"p\">(</span><span class=\"nb\">regex</span><span class=\"p\">(</span><span class=\"nb\">str</span><span class=\"p\">(</span><span class=\"nv\">?obj</span><span class=\"p\">),</span><span class=\"w\"> </span><span class=\"s2\">\"doi.org/10\"</span><span class=\"p\">))</span><span class=\"w\">\n  </span><span class=\"p\">}</span><span class=\"w\">\n</span><span class=\"p\">}</span><span class=\"w\">\n</span></code></pre></div></div>\n\n<p>This includes 6 citation intentions defined by 4 nanopublications added during the Open Science Retreat:</p>\n\n<ul>\n  <li><a href=\"https://w3id.org/np/RAUjZE1JMu1GAvUQ_fZ4yc9-7sOSCT9xbeS0wYznkKtYk\">RAUjZE1JMu</a> by <a href=\"https://nanodash.knowledgepixels.com/explore?id=https%3A%2F%2Forcid.org%2F0000-0002-7192-1486\">me</a> for a paper by Marija Purgar</li>\n  <li><a href=\"https://nanodash.knowledgepixels.com/explore?id=RAXgI--5gcKskgrnOI1XZoA4b3hu9RbNj3bcc2Zxeos7c\">RAXgI–5gc</a> by <a href=\"https://nanodash.knowledgepixels.com/explore?id=https%3A%2F%2Forcid.org%2F0000-0003-2408-7588\">Christian Meesters</a></li>\n  <li><a href=\"https://nanodash.knowledgepixels.com/explore?id=RATZNhd3l_jN0y8GEi8mLIqy-uVV8tiUZIq2RJtkq6G8A\">RATZNhd3l_j</a> by <a href=\"https://nanodash.knowledgepixels.com/explore?id=https%3A%2F%2Forcid.org%2F0000-0003-4285-690X\">Taichi Oichi</a></li>\n  <li><a href=\"https://nanodash.knowledgepixels.com/explore?id=RA6Q6wxSYyWfA3XwpOBqSNFKgQpM7ZgdVBoU2kSD-CFjw\">RA6Q6wxSYy</a> by <a href=\"https://nanodash.knowledgepixels.com/explore?id=https%3A%2F%2Forcid.org%2F0000-0003-1559-1838\">Niklas Hohmann</a></li>\n</ul>\n\n<h1 id=\"from-nanopublications-to-wikidata\">From nanopublications to Wikidata</h1>\n\n<p>Now, this query also provides me with enough information to propagate the citation intent (a fact?) to Wikidata\nand cite the original nanopublication as reference. With a variation of the above SPARQL query, I can get the\nfive most recent new nanopublications, convert them to QuickStatements, and then enjoy them in Wikidata. This\nis written up in <a href=\"https://github.com/egonw/ons-wikidata/blob/main/Nanopubs/createQS.groovy\">this Bacting script</a>.</p>\n\n<p>The script needs to handle some situations. For example, it will not add items for DOIs not already in Wikidata.\nSo, if neither of the two DOIs are known in Wikidata, then nothing gets added. If they both are, then it will\nadd the citation intent. There are alternative solutions, but in practice that doesn’t matter and the QuickStatements\nis in all situations the same, and QuickStatements will only add the new information.</p>\n\n<p>This is what it will <a href=\"https://www.wikidata.org/wiki/Q113312162#P2860\">look like in Wikidata</a>:</p>\n\n<p><img src=\"/assets/images/citoPub3.png\" alt=\"\" /></p>\n\n<p>And this is <a href=\"https://qlever.scholia.wiki/cito/#articles\">what it looks <i class=\"fa-solid fa-recycle fa-xs\"></i></a> (yellow) when we compare the contributions\nfrom nanopublications now with the other sources:</p>\n\n<p><img src=\"/assets/images/citoPubs4.png\" alt=\"\" /></p>\n\n<h4>References</h4>\n<div class=\"csl-bib-body\">\n    <div class=\"csl-entry\">Groth, P., Gibson, A., &#38; Velterop, J. (2010). The anatomy of a nanopublication. <i>Information Services and Use</i>, <i>30</i>(1–2), 51–56. https://doi.org/10.3233/isu-2010-0613 <a href=\"https://doi.org/10.3233/ISU-2010-0613\">CrossRef</a> <a href=\"https://qlever.scholia.wiki/doi/10.3233/ISU-2010-0613\">Scholia</a></div>\n    <div class=\"csl-entry\">Kuhn, T., Banda, J. M., Willighagen, E., Ehrhart, F., Evelo, C., Malas, T. B., Dumontier, M., Merono-Penuela, A., Malic, A., Poelen, J. H., Hurlbert, A. H., Centeno Ortiz, E., Furlong, L. I., Queralt-Rosinach, N., &#38; Chichester, C. (2018). Nanopublications: A Growing Resource of Provenance-Centric Scientific Linked Data. <i>2018 IEEE 14th International Conference on E-Science (e-Science)</i>, 83–92. https://doi.org/10.1109/escience.2018.00024 <a href=\"https://doi.org/10.1109/ESCIENCE.2018.00024\">CrossRef</a> <a href=\"https://qlever.scholia.wiki/doi/10.1109/ESCIENCE.2018.00024\">Scholia</a></div>\n    <div class=\"csl-entry\">Willighagen, E. (2023). Two years of explicit CiTO annotations. <i>Journal of Cheminformatics</i>, <i>15</i>(1). https://doi.org/10.1186/s13321-023-00683-2 <a href=\"https://doi.org/10.1186/S13321-023-00683-2\">CrossRef</a> <a href=\"https://qlever.scholia.wiki/doi/10.1186/S13321-023-00683-2\">Scholia</a></div>\n  </div>",
      "summary": "During the Open Science Retreat I organized a short session where we looking into typing citation intentions using a new nanopublication template. First, let’s describe nanopublications (originally used in doi:10.3233/ISU-2010-0613) a bit. Scholia gives a nice overview of (macro?)publications on the topic . The nanopub.net website describes that [a nanopublication is a small knowledge graph snippet with metadata that is treated as an independent (scientific) publication.]. The knowledge graph, it continues, can be anything from an opinion to the link between a disease and a gene (doi:10.1109/ESCIENCE.2018.00024).",
      "image": "https://chem-bla-ics.linkedchemistry.info/assets/images/citoPub.png",
      "date_published": "2024-04-02T00:00:00+00:00",
      "date_modified": "2026-04-20T00:00:00+00:00",
      "tags": ["osr24nl","openscience","cito","nanopub","wikidata"],
      "_references": [
        
          
          
            { "url": "https://doi.org/10.3233/ISU-2010-0613", "doi": "10.3233/ISU-2010-0613"
             }
            ,
          
        
          
          
            { "url": "https://doi.org/10.1109/ESCIENCE.2018.00024", "doi": "10.1109/ESCIENCE.2018.00024"
             }
            ,
          
        
          
          
            { "url": "https://doi.org/10.1186/S13321-023-00683-2", "doi": "10.1186/S13321-023-00683-2"
             }
            
          
        ],
      
      
      
      
      
      
        "authors": [ { "name": "Egon Willighagen", "url": "https://orcid.org/0000-0001-7542-0286" } ]
      
    }

  ]
}
