NCEAS / arctic-data-center

Arctic Data Center documents and issues
Apache License 2.0
0 stars 0 forks source link

Add schema.org for arcticdata.io #12

Open mbjones opened 4 years ago

mbjones commented 4 years ago

We now have schema.org for our dataset landing pages, but we don't have it for our overall catalog site. We should develop a JSON-LD description of the Arctic Data Center and add it to the head of the wordpress site at https://arcticdata.io. The properties should follow the guidelines at Science on Schema.org. Here's a starting point for the JSON-LD, which we should review wrt the guidelines and possibly add more properties.

<script type="application/ld+json" id="jsonld">
{
    "@context": {
        "@vocab": "http://schema.org/",
        "datacite": "http://purl.org/spar/datacite/"
    },
    "@type": ["Service", "ResearchProject"],
    "@id": "https://arcticdata.io",
    "identifier": {
        "@type": ["PropertyValue", "datacite:OrganizationIdentifier"],
        "propertyID": "DOI",
        "value": "10.17616/R37P98",
        "url": "https://doi.org/10.17616/R37P98"
    },
    "name": "Arctic Data Center",
    "legalName": "Arctic Data Center",
    "sameAs": [
        "https://www.re3data.org/repository/r3d100011973",
        "http://doi.org/10.17616/R37P98",
        "urn:node:ARCTIC"
    ],
    "url": "https://arcticdata.io",
    "description": "The Arctic Data Center is the primary data and software repository for the Arctic section of NSF Polar Programs.",
    "category": [
        "Arctic Research"
    ],
    "provider": {
        "@id": "https://arcticdata.io"
    },
    "funder": {
        "@type": "Organization",
        "@id": "https://doi.org/10.13039/100000087",
        "legalName": "Office of Polar Programs",
        "alternateName": "OPP",
        "url": "https://www.nsf.gov/div/index.jsp?div=OPP",
        "identifier": {
            "@type": ["PropertyValue", "datacite:ResourceIdentifier"],
            "propertyID": "DOI",
            "value": "10.13039/100000087",
            "url": "https://doi.org/10.13039/100000087"
        },
        "parentOrganization": {
            "@type": "Organization",
            "@id": "http://doi.org/10.13039/100000085",
            "legalName": "Directorate for Geosciences",
            "alternateName": "NSF-GEO",
            "url": "http://www.nsf.gov",
            "identifier": {
                "@type": ["PropertyValue", "datacite:ResourceIdentifier"],
                "propertyID": "DOI",
                "value": "10.13039/100000085",
                "url": "https://doi.org/10.13039/100000085"
            },
            "parentOrganization": {
                "@type": "Organization",
                "@id": "http://dx.doi.org/10.13039/100000001",
                "legalName": "National Science Foundation",
                "alternateName": "NSF",
                "url": "http://www.nsf.gov",
                "identifier": {
                    "@type": ["PropertyValue", "datacite:ResourceIdentifier"],
                    "propertyID": "DOI",
                    "value": "10.13039/100000001",
                    "url": "https://doi.org/10.13039/100000001"
                }
            }
        }
    }
}
</script>
laurenwalker commented 4 years ago

I added the JSON-LD as-is to the head. I can update it if we decide to make any changes.

mbjones commented 4 years ago

Thanks @laurenwalker -- I just realized another property we should add:

"logo": "https://arcticdata.io/wp-content/themes/aurora/library/images/logo_.png"

Or maybe a better location for the logo if one exists.

amoeba commented 4 years ago

👍

I remember thinking a good while ago that BCO-DMO had done a nice job with theirs and found some properties I think we could add in there. Here's what they have:

BCO-DMO's landing page JSON-LD ```json { "@context": "http://schema.org/", "@type": ["ResearchProject", "DataCatalog"], "@id": "https://www.bco-dmo.org", "name": "Biological and Chemical Data Management Office", "alternateName": "BCO-DMO", "url": "https://www.bco-dmo.org", "knowsAbout": [ { "@type": "DefinedTerm", "@id": "http://www.wikidata.org/entity/Q18378619", "name": "Biological Oceanography" }, { "@type": "DefinedTerm", "@id": "http://www.wikidata.org/entity/Q528130", "name": "Chemical Oceanography" } ], "description": "The BCO-DMO resource catalog offers free and open access to publicly funded research products whose field of study are biological and chemical oceanography.", "sameAs": [ "http://www.re3data.org/repository/r3d100000012", "https://twitter.com/BCODMO", "https://www.linkedin.com/company/6378439/" ], "identifier": { "@type": "PropertyValue", "additionalType": "http://www.wikidata.org/entity/Q25670", "propertyID": "DOI", "value": "10.17616/R37P4C", "url": "https://doi.org/10.17616/R37P4C" }, "logo": { "@type": "ImageObject", "url": "https://www.bco-dmo.org/files/bcodmo/images/bco-dmo-words-BLUE.jpg" }, "foundingDate": "2006-09-01", "address": { "@type": "PostalAddress", "streetAddress": "WHOI, MS#36, Shiverick House 11 School St.", "addressLocality": "Woods Hole", "addressRegion": "MA", "postalCode": "02543", "addressCountry": "USA" }, "contactPoint": { "@id": "https://www.bco-dmo.org/about-us", "@type": "ContactPoint", "name": "Support", "email": "info@bco-dmo.org", "url": "https:/www.bco-dmo.org/about-us", "contactType": "customer support" }, "funder": { "@type": "Organization", "@id": "https://dx.doi.org/10.13039/100000141", "legalName": "Division of Ocean Sciences", "alternateName": "OCE", "url": "https://www.nsf.gov/div/index.jsp?div=OCE", "identifier": { "@type": "PropertyValue", "additionalType": "http://www.wikidata.org/entity/Q25670", "propertyID": "DOI", "value": "10.13039/100000141", "url": "https://doi.org/10.13039/100000141" }, "parentOrganization": { "@type": "Organization", "@id": "http://dx.doi.org/10.13039/100000085", "legalName": "Directorate for Geosciences", "alternateName": "NSF-GEO", "url": "http://www.nsf.gov", "identifier": { "@type": "PropertyValue", "additionalType": "http://www.wikidata.org/entity/Q25670", "propertyID": "DOI", "value": "10.13039/100000085", "url": "https://doi.org/10.13039/100000085" }, "parentOrganization": { "@type": "Organization", "@id": "http://dx.doi.org/10.13039/100000001", "legalName": "National Science Foundation", "alternateName": "NSF", "url": "http://www.nsf.gov", "identifier": { "@type": "PropertyValue", "additionalType": "http://www.wikidata.org/entity/Q25670", "propertyID": "DOI", "value": "10.13039/100000001", "url": "https://doi.org/10.13039/100000001" } } } }, "parentOrganization": { "@type": "Organization", "@id": "http://www.whoi.edu", "name": "Woods Hole Oceanographic Institution", "url": "http://www.whoi.edu", "address": { "@type": "PostalAddress", "streetAddress": "266 Woods Hole Road", "addressLocality": "Woods Hole", "addressRegion": "MA", "postalCode": "02543", "addressCountry": "USA" } }, "publishingPrinciples": [ { "@type": "DigitalDocument", "name": "Terms of Use", "url": "https://www.bco-dmo.org/terms-use" } ], "hasOfferCatalog": [ { "@type": "OfferCatalog", "name": "BCO-DMO Resource Catalog", "itemListElement": [ { "@id": "https://www.bco-dmo.org/search/dataset", "@type": ["DataCatalog", "Service"], "url": "https://www.bco-dmo.org/search/dataset", "name": "BCO-DMO Dataset Search", "audience": { "@type": "Audience", "audienceType": "public", "name": "General Public" }, "potentialAction": { "@type": "SearchAction", "target": "https://www.bco-dmo.org/search/dataset/{query}", "query": "required" } }, { "@id": "https://www.bco-dmo.org/search", "@type": "Service", "url": "https://www.bco-dmo.org/search", "name": "BCO-DMO Website Search", "potentialAction": { "@type": "SearchAction", "target": "https://www.bco-dmo.org/search?&keywords={query}", "query": "required" } } ] } ] } ```

Properties that pop out are:

mbjones commented 4 years ago

Sounds good to me!