Skip to content

Instantly share code, notes, and snippets.

<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:z="http://www.zotero.org/namespaces/export#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:bib="http://purl.org/net/biblio#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<bib:Article rdf:about="#item_90">
<z:itemType>journalArticle</z:itemType>
<dcterms:isPartOf>
@aurimasv
aurimasv / uct-data.rdf
Created June 18, 2014 02:53
Sample data for University of Cape Town Harvard citation style. From http://www.lib.uct.ac.za/wp-content/uploads/2014/02/harvard-uct-2014.pdf
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:z="http://www.zotero.org/namespaces/export#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:bib="http://purl.org/net/biblio#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:vcard="http://nwalsh.com/rdf/vCard#"
xmlns:prism="http://prismstandard.org/namespaces/1.2/basic/">
<bib:Document rdf:about="http://www.africa-union.org/root/au/recs/sadc.htm">
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:z="http://www.zotero.org/namespaces/export#"
xmlns:bib="http://purl.org/net/biblio#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:vcard="http://nwalsh.com/rdf/vCard#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:prism="http://prismstandard.org/namespaces/1.2/basic/"
xmlns:link="http://purl.org/rss/1.0/modules/link/">

Background

Abbreviations (mostly for journal titles, but other fields need to be considered as well) are required by a number of citation styles and the rules or vocabularies for these abbreviations can vary from style to style. Thus, in order to provide correct citations, citation style language should include a way to indicate which abbreviation format should be used per style.

Styles requiring abbreviations

@aurimasv
aurimasv / hyphenateISBN.js
Last active January 2, 2023 01:49
Hyphenates ISBN numbers using tables generated by https://gist.github.com/aurimasv/6693503
/*
ISBN hyphenation using tables generated by https://gist.github.com/aurimasv/6693503
Includes tables generated on 2013-09-24
***** BEGIN LICENSE BLOCK *****
Copyright © 2013 Aurimas Vinckevicius (aurimas.dev~at~gmail.com)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
@aurimasv
aurimasv / ISBNTableGenerator.js
Last active December 23, 2015 20:59
Generates ISBN registrant tables given XML Range Message (from http://www.isbn-international.org/page/ranges) loaded in the browser
/*
***** BEGIN LICENSE BLOCK *****
Generates ISBN registrant tables given XML Range Message
(from http://www.isbn-international.org/page/ranges) loaded in the browser
Copyright © 2013 Aurimas Vinckevicius (aurimas.dev~at~gmail.com)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
@aurimasv
aurimasv / Cortex.rdf
Created May 5, 2013 07:06
Test data set for the Cortex citation style. Corresponds to examples given at http://www.elsevier.com/journals/cortex/0010-9452/guide-for-authors
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:z="http://www.zotero.org/namespaces/export#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:prism="http://prismstandard.org/namespaces/1.2/basic/"
xmlns:bib="http://purl.org/net/biblio#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:vcard="http://nwalsh.com/rdf/vCard#">
<bib:Article rdf:about="#item_5">
@aurimasv
aurimasv / annu-rev-sample-refs.rdf
Last active December 13, 2015 22:29
sample references used in author instructions for Annual Reviews
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:z="http://www.zotero.org/namespaces/export#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:vcard="http://nwalsh.com/rdf/vCard#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:bib="http://purl.org/net/biblio#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:prism="http://prismstandard.org/namespaces/1.2/basic/">
<bib:Manuscript rdf:about="#item_26">
@aurimasv
aurimasv / cell-bib-sort.rdf
Created January 26, 2013 05:05
Publications for testing bibliography sorting in Cell
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:z="http://www.zotero.org/namespaces/export#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:bib="http://purl.org/net/biblio#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:link="http://purl.org/rss/1.0/modules/link/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:prism="http://prismstandard.org/namespaces/1.2/basic/">
<bib:Article rdf:about="http://onlinelibrary.wiley.com/doi/10.1111/j.1462-2920.2007.01321.x/abstract">
@aurimasv
aurimasv / refs.rdf
Created January 22, 2013 11:31
References for Zotero testing
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:z="http://www.zotero.org/namespaces/export#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:prism="http://prismstandard.org/namespaces/1.2/basic/"
xmlns:bib="http://purl.org/net/biblio#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:link="http://purl.org/rss/1.0/modules/link/">
<bib:Article rdf:about="http://www.landesbioscience.com/journals/cc/article/17093/">