Skip to content

Instantly share code, notes, and snippets.

@hubgit
Last active May 2, 2022 08:57
Show Gist options
  • Save hubgit/5755878 to your computer and use it in GitHub Desktop.
Save hubgit/5755878 to your computer and use it in GitHub Desktop.
Mapping of Highwire/Google Scholar citation_* meta fields to schema.org properties, as a JSON-LD context document. Definitions starting with "#" are invalid.
{
"@context": {
"_links": "http://stateless.co/hal_specification.html#links",
"title": "http://schema.org/name",
"description": "http://schema.org/description",
"publisher": "#http://schema.org/publisher > http://schema.org/Organization > http://schema.org/name",
"firstpage": "http://schema.org/pageStart",
"doi": "#http://schema.org/sameAs (URL)",
"volume": "#http://schema.org/isPartOf > http://schema.org/PublicationVolume > http://schema.org/volumeNumber",
"volume": "#http://schema.org/isPartOf > http://schema.org/PublicationIssue > http://schema.org/issueNumber",
"author_email": "#http://schema.org/author > http://schema.org/Person > http://schema.org/email",
"issn": "#http://schema.org/isPartOf > http://schema.org/Periodical > http://schema.org/issn",
"journal_title": "#http://schema.org/isPartOf > http://schema.org/Periodical > http://schema.org/name",
"journal_abbrev": "#http://schema.org/isPartOf > http://schema.org/Periodical > http://schema.org/name",
"date": {
"@id": "http://schema.org/datePublished",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"language": {
"@id": "http://schema.org/inLanguage",
"@type": "http://www.w3.org/2001/XMLSchema#language"
},
"author": {
"@container": "@list",
"@id": "http://schema.org/author",
"@type": "http://schema.org/Person"
},
"author_institution": {
"@container": "@list",
"@id": "http://schema.org/address"
},
"keywords": {
"@container": "@set",
"@id": "http://schema.org/keywords"
},
"subjects": {
"@container": "@set",
"@id": "http://schema.org/about"
},
"pdf_url": {
"@type": "@id",
"@id": "#see link[rel=alternate][type=application/pdf]"
},
"fulltext_html_url": {
"@type": "@id",
"@id": "#see link[rel=alternate][type=text/html]"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment