Skip to content

Instantly share code, notes, and snippets.

@rdmpage
Last active March 11, 2021 13:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rdmpage/ea25baf487a17af4a2184f0ca5bef98b to your computer and use it in GitHub Desktop.
Save rdmpage/ea25baf487a17af4a2184f0ca5bef98b to your computer and use it in GitHub Desktop.
ZooBank LSID XML for a taxon name
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:tto="http://rs.tdwg.org/ontology/voc/Specimen#"
xmlns:tc="http://rs.tdwg.org/ontology/voc/TaxonConcept#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:tn="http://rs.tdwg.org/ontology/voc/TaxonName#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:tpub="http://rs.tdwg.org/ontology/voc/PublicationCitation#"
xmlns:trank="http://rs.tdwg.org/ontology/voc/TaxonRank#"
xmlns:tcom="http://rs.tdwg.org/ontology/voc/Common#">
<tn:TaxonName rdf:about="urn:lsid:zoobank.org:act:A1AE7A00-32C6-4510-A1D6-6DDDA9129D8B">
<dc:title>Ectenopsis mackerrasi Burger, 1996</dc:title>
<dc:identifier>urn:lsid:zoobank.org:act:A1AE7A00-32C6-4510-A1D6-6DDDA9129D8B</dc:identifier>
<owl:versionInfo>1.1.2.1</owl:versionInfo>
<tn:nameComplete>Ectenopsis mackerrasi</tn:nameComplete>
<tn:genusPart>Ectenopsis</tn:genusPart>
<tn:specificEpithet>mackerrasi</tn:specificEpithet>
<tn:year>1996</tn:year>
<!-- there isn't any such term as tn:publication, even though Index Fungorum uses it, it should be tcom:publishedInCitation -->
<!-- <tn:publication> -->
<tcom:publishedInCitation>
<rdf:Description rdf:about="urn:lsid:zoobank.org:pub:1A71CBE3-0D39-471A-8F05-A5D87573591D">
<rdf:type rdf:resource="http://rs.tdwg.org/ontology/voc/PublicationCitation#PublicationCitation"/>
<dc:identifier>urn:lsid:zoobank.org:pub:1A71CBE3-0D39-471A-8F05-A5D87573591D</dc:identifier>
<tpub:title>A new species of Ectenopsis (Paranopsis) (Diptera: Tabanidae) from New Zealand and a key to species of the subgenus Paranopsis</tpub:title>
<!-- the rdf:Description tag encloses everything about the publication, and already says it is of type tpub:PublicationCitation -->
<!-- </rdf:Description>
<tpub:PublicationCitation> -->
<!-- need to add namespace for publication type -->
<tpub:publicationType rdf:resource="http://rs.tdwg.org/ontology/voc/PublicationCitation#Journal Article" />
<tpub:parentPublication rdf:resource="urn:lsid:zoobank.org:pub:2B273330-A0BE-4BA7-8D41-5F49A5099DFC" />
<tpub:authorship>Burger, John F.</tpub:authorship>
<tpub:year>1996</tpub:year>
<tpub:title>A new species of Ectenopsis (Paranopsis) (Diptera: Tabanidae) from New Zealand and a key to species of the subgenus Paranopsis</tpub:title>
<tpub:parentPublicationString>Proceedings of the Entomological Society of Washington, (Proc. Ent. Soc. Wash.)</tpub:parentPublicationString>
<tpub:volume>98</tpub:volume>
<tpub:number>2</tpub:number>
<tpub:pages>264-266</tpub:pages>
<!-- </tpub:PublicationCitation> -->
</rdf:Description>
<!-- </tn:publication> -->
</tcom:publishedInCitation>
<tn:rank rdf:resource="http://rs.tdwg.org/ontology/voc/TaxonRank#Species" />
<tn:rankString>Species</tn:rankString>
<tn:nomenclaturalCode rdf:resource="http://rs.tdwg.org/ontology/voc/TaxonName#ICZN" />
</tn:TaxonName>
<!-- These are all superflous and are outside the scope of the document (i.e., they don't refer to the tn:TaxonName -->
<!--
<tpub:PublicationTypeTerm rdf:about="Journal Article" />
<tpub:PublicationCitation rdf:about="urn:lsid:zoobank.org:pub:2B273330-A0BE-4BA7-8D41-5F49A5099DFC" />
<trank:TaxonRankTerm rdf:about="http://rs.tdwg.org/ontology/voc/TaxonRank#Species" />
<tn:NomenclaturalCodeTerm rdf:about="http://rs.tdwg.org/ontology/voc/TaxonName#ICZN" />
-->
</rdf:RDF>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment