Skip to content

Instantly share code, notes, and snippets.

@omian
Created June 6, 2011 10:00
Show Gist options
  • Save omian/1010024 to your computer and use it in GitHub Desktop.
Save omian/1010024 to your computer and use it in GitHub Desktop.
Zotero RDF to test author name bibliography sorting
<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/">
<bib:Article rdf:about="#item_355">
<z:itemType>journalArticle</z:itemType>
<dcterms:isPartOf>
<bib:Journal>
<dc:title>Test</dc:title><prism:volume>1</prism:volume>
</bib:Journal>
</dcterms:isPartOf>
<bib:authors>
<rdf:Seq>
<rdf:li>
<foaf:Person>
<foaf:surname>Doe</foaf:surname>
<foaf:givenname>Jane B.</foaf:givenname>
</foaf:Person>
</rdf:li>
<rdf:li>
<foaf:Person>
<foaf:surname>Doe</foaf:surname>
<foaf:givenname>John A.</foaf:givenname>
</foaf:Person>
</rdf:li>
</rdf:Seq>
</bib:authors>
<dc:title>Title 1</dc:title>
<bib:pages>1-2</bib:pages>
<dc:date>2009</dc:date>
</bib:Article>
<bib:Article rdf:about="#item_366">
<z:itemType>journalArticle</z:itemType>
<dcterms:isPartOf>
<bib:Journal>
<dc:title>Test</dc:title><prism:volume>2</prism:volume>
</bib:Journal>
</dcterms:isPartOf>
<bib:authors>
<rdf:Seq>
<rdf:li>
<foaf:Person>
<foaf:surname>Doe</foaf:surname>
<foaf:givenname>John A.</foaf:givenname>
</foaf:Person>
</rdf:li>
<rdf:li>
<foaf:Person>
<foaf:surname>Smith</foaf:surname>
<foaf:givenname>John A.</foaf:givenname>
</foaf:Person>
</rdf:li>
</rdf:Seq>
</bib:authors>
<dc:title>Title 2</dc:title>
<bib:pages>1-2</bib:pages>
<dc:date>2010</dc:date>
</bib:Article>
<bib:Article rdf:about="#item_368">
<z:itemType>journalArticle</z:itemType>
<dcterms:isPartOf>
<bib:Journal>
<dc:title>Test</dc:title><prism:volume>3</prism:volume>
</bib:Journal>
</dcterms:isPartOf>
<bib:authors>
<rdf:Seq>
<rdf:li>
<foaf:Person>
<foaf:surname>Doe</foaf:surname>
<foaf:givenname>John A.</foaf:givenname>
</foaf:Person>
</rdf:li>
<rdf:li>
<foaf:Person>
<foaf:surname>Bloggs</foaf:surname>
<foaf:givenname>Joe A.</foaf:givenname>
</foaf:Person>
</rdf:li>
</rdf:Seq>
</bib:authors>
<dc:title>Title 3</dc:title>
<bib:pages>3-4</bib:pages>
<dc:date>2011</dc:date>
</bib:Article>
</rdf:RDF>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment