plazi / arcadia-project

2 stars 1 forks source link

use of schema.org in Zenodo as cutom metadaa #248

Open myrmoteras opened 7 months ago

myrmoteras commented 7 months ago

Here at the BIKCL meeting there is discussion about building open systems,. We already use community standards. Would it be interesting to add schema.org to assure we are partner of the big world?

@slint @lnielsen

slint commented 7 months ago

We do expose JSON-LD based on schema.org (initially done to allow Google to index Zenodo pages in a reliable manner). Here's an example JSON-LD export from https://zenodo.org/records/10653526:

{
  "@context": "http://schema.org",
  "@id": "https://doi.org/10.5281/zenodo.10653526",
  "@type": "https://schema.org/ScholarlyArticle",
  "identifier": "https://doi.org/10.5281/zenodo.10653526",
  "name": "Shortia karumban Ranjith 2024, sp. nov.",
  "creator": [
    {
      "name": "Ranjith, A. P.",
      "givenName": "A. P.",
      "familyName": "Ranjith",
      "affiliation": [
        {
          "@type": "Organization",
          "name": "Ashoka Trust for Research in Ecology and the Environment (ATREE), Royal Enclave, Srirampura, Jakkur Post, Bangalore 560064, India."
        }
      ],
      "@type": "Person"
    },
    {
      "name": "Priyadarsanan, Dharma Rajan",
      "givenName": "Dharma Rajan",
      "familyName": "Priyadarsanan",
      "affiliation": [
        {
          "@type": "Organization",
          "name": "Ashoka Trust for Research in Ecology and the Environment (ATREE), Royal Enclave, Srirampura, Jakkur Post, Bangalore 560064, India."
        }
      ],
      "@type": "Person"
    }
  ],
  "author": [
    {
      "name": "Ranjith, A. P.",
      "givenName": "A. P.",
      "familyName": "Ranjith",
      "affiliation": [
        {
          "@type": "Organization",
          "name": "Ashoka Trust for Research in Ecology and the Environment (ATREE), Royal Enclave, Srirampura, Jakkur Post, Bangalore 560064, India."
        }
      ],
      "@type": "Person"
    },
    {
      "name": "Priyadarsanan, Dharma Rajan",
      "givenName": "Dharma Rajan",
      "familyName": "Priyadarsanan",
      "affiliation": [
        {
          "@type": "Organization",
          "name": "Ashoka Trust for Research in Ecology and the Environment (ATREE), Royal Enclave, Srirampura, Jakkur Post, Bangalore 560064, India."
        }
      ],
      "@type": "Person"
    }
  ],
  "publisher": {
    "@type": "Organization",
    "name": "Zenodo"
  },
  "keywords": "Biodiversity, Taxonomy, Animalia, Arthropoda, Insecta, Hymenoptera, Ichneumonidae, Shortia, Shortia karumban",
  "datePublished": "2024-02-08",
  "dateModified": "2024-02-13T11:36:28.060618+00:00",
  "contentSize": "5.54 KB",
  "size": "5.54 KB",
  "license": "https://creativecommons.org/publicdomain/zero/1.0/legalcode",
  "description": "<i>Shortia karumban</i> Ranjith sp. nov. ...",
  "isPartOf": [
    {
      "@type": "ScholarlyArticle",
      "@id": "https://doi.org/10.5852/ejt.2024.921.2425"
    },
    {
      "@type": "ScholarlyArticle",
      "@id": "http://zenodo.org/record/10639944"
    },
    {
      "@type": "ScholarlyArticle",
      "@id": "http://publication.plazi.org/id/FF8CF752FF9AFFB7CE04FFCA4117E83C"
    },
    {
      "@type": "ScholarlyArticle",
      "@id": "http://zoobank.org/6CEAAA2A-6FA1-492E-8A38-F04A05F061D1"
    }
  ],
  "citation": [
    {
      "@type": "ImageObject",
      "@id": "https://doi.org/10.5281/zenodo.10639946"
    },
    {
      "@type": "ImageObject",
      "@id": "https://doi.org/10.5281/zenodo.10639950"
    }
  ],
  "url": "https://zenodo.org/records/10653526",
  "container_title": "A remarkable rediscovery and range extension from Australia to South India with the description of two new species of the genus Shortia Gauld, 1984 (Hymenoptera: Ichneumonidae), pp. 158-172 in European Journal of Taxonomy",
  "page": "161-164",
  "volume": "921"
}
slint commented 7 months ago

To add a bit more, if there was a standard and extensible way to expose the custom metadata we store (DarwinCode, etc.), it could be via JSON-LD, though we have to look at how the wider community does so. From a quick search I found: