{"id":432,"date":"2010-11-09T15:25:24","date_gmt":"2010-11-09T20:25:24","guid":{"rendered":"http:\/\/dilettantes.code4lib.org\/blog\/?p=432"},"modified":"2010-11-09T15:25:24","modified_gmt":"2010-11-09T20:25:24","slug":"linked-marc-codes","status":"publish","type":"post","link":"https:\/\/rossfsinger.me\/blog\/2010\/11\/linked-marc-codes\/","title":{"rendered":"rdf:about=&#8221;Linked MARC Codes&#8221;"},"content":{"rendered":"<p>I have been slowly taking the <a href=\"http:\/\/www.loc.gov\/standards\/valuelist\/\" target=\"_blank\">MARC codes lists<\/a> and modeling them as linked data.  I released a handful of them several months ago (geographic area codes, countries and languages) and have added more as I get inspired or have some free time.  Most recently, I&#8217;ve added the Form of Item, Target Audience and Instruments and Voices terms.<\/p>\n<p>The motivation behind modeling these lists is that they are extremely low-hanging fruit:  they are controlled vocabularies that (usually) appear in the MARC fixed (or, at any rate, controlled) fields.  What this means is that they should be pretty easy to link to from our source data.  The identifiers are based on the actual code values in an effort to not actually have to look anything up when converting MARC into RDF.<\/p>\n<p>I&#8217;ll go over each code list and explain what their function and how to link to them from MARC:<\/p>\n<h3><a href=\"http:\/\/purl.org\/NET\/gacs\/\" target=\"_blank\">Geographic Area Codes<\/a><\/h3>\n<p>The purpose of these is a little vague:\u00c2\u00a0 they&#8217;re hard to classify as to what exactly they are; there are states (<a href=\"http:\/\/purl.org\/NET\/marccodes\/gacs\/n-us-tn#location\" target=\"_blank\">Tennessee<\/a>), countries (<a href=\"http:\/\/purl.org\/NET\/marccodes\/gacs\/a-ii#location\" target=\"_blank\">India<\/a>), continents (<a href=\"http:\/\/purl.org\/NET\/marccodes\/gacs\/e#location\" target=\"_blank\">Europe<\/a>), geographic features (<a href=\"http:\/\/purl.org\/NET\/marccodes\/gacs\/sn#location\" target=\"_blank\">Andes<\/a>, <a href=\"http:\/\/purl.org\/NET\/marccodes\/gacs\/fg#location\" target=\"_blank\">Congo River<\/a>, <a href=\"http:\/\/purl.org\/NET\/marccodes\/gacs\/fr#location\" target=\"_blank\">Great Rift Valley<\/a>), areas or regions (<a href=\"http:\/\/purl.org\/NET\/marccodes\/gacs\/w#location\" target=\"_blank\">Tropics<\/a>, &#8220;<a href=\"http:\/\/purl.org\/NET\/marccodes\/gacs\/n-ust#location\" target=\"_blank\">Southwest, New<\/a>&#8221; &#8211;whatever that means&#8211;, &#8220;<a href=\"http:\/\/purl.org\/NET\/marccodes\/gacs\/fq#location\" target=\"_blank\">Africa, French-speaking Equatorial<\/a>&#8220;), hemispheres (<a href=\"http:\/\/purl.org\/NET\/marccodes\/gacs\/xc#location\" target=\"_blank\">Southern hemisphere<\/a>), planets (<a href=\"http:\/\/purl.org\/NET\/marccodes\/gacs\/zur#location\" target=\"_blank\">Uranus<\/a>) and then there are entries for things like &#8220;<a href=\"http:\/\/purl.org\/NET\/marccodes\/gacs\/zo#location\" target=\"_blank\">Outer Space<\/a>&#8221; and &#8220;<a href=\"http:\/\/purl.org\/NET\/marccodes\/gacs\/h#location\" target=\"_blank\">French Community<\/a>&#8221; (which, as I understand it, is sort of the French analog to the British Commonwealth); in short, they are all over the map (literally).<\/p>\n<p>I have modeled these things as <a href=\"http:\/\/www.w3.org\/2003\/01\/geo\/wgs84_pos#SpatialThing\" target=\"_blank\">wgs84:SpatialThings<\/a>.\u00c2\u00a0 I don&#8217;t know if that is 100% appropriate (e.g. &#8220;French Community&#8221;) and am open to recommendations for other classes.\u00c2\u00a0 Given that they are somewhat hierarchical and are used to define the geographic &#8220;subject&#8221; of a work, it might be more appropriate to model them using SKOS.<\/p>\n<p>The geographic area code is found in the <a href=\"http:\/\/www.loc.gov\/marc\/bibliographic\/bd043.html\" target=\"_blank\">MARC 043$a<\/a> (which is a repeatable subfield in a non-repeatable field) and should be a 7 character string (although this may vary based on local cataloging practices).\u00c2\u00a0 Most codes will be much shorter than this: the specification requires right padding hyphens (&#8220;-&#8220;) to seven characters (&#8220;aa&#8212;&#8211;&#8220;).\u00c2\u00a0 To turn this into a MARC Codes URI, you&#8217;ll drop the trailing hyphens and append &#8220;#location&#8221;:<\/p>\n<p>http:\/\/purl.org\/NET\/marccodes\/gacs\/aa#location<\/p>\n<p>http:\/\/purl.org\/NET\/marccodes\/gacs\/n-us-md#location<\/p>\n<p>I&#8217;m not sure what is actually the &#8220;best&#8221; property to use to link to these resources, but I have been using &lt;<a href=\"http:\/\/purl.org\/dc\/terms\/spatial\">http:\/\/purl.org\/dc\/terms\/spatial<\/a>&gt; (although, admittedly, not consistently).\u00c2\u00a0 This would entail that these resources are also a &lt;<a href=\"http:\/\/purl.org\/dc\/terms\/Location\">http:\/\/purl.org\/dc\/terms\/Location<\/a>&gt; which is something I can live with.<\/p>\n<p>Not all of the geographic area codes are linked to anything, but some are linked to the authorities at http:\/\/id.loc.gov\/authorities\/, dbpedia, geonames, etc.<\/p>\n<h3><a href=\"http:\/\/purl.org\/NET\/countries\/\" target=\"_blank\">Country Codes<\/a><\/h3>\n<p>These are a little more consistent than the geographic area codes, but they are definitely not all &#8220;countries&#8221;.\u00c2\u00a0 With a few exceptions (<a href=\"http:\/\/purl.org\/NET\/marccodes\/countries\/uc#location\" target=\"_blank\">United States Misc. Caribbean Islands<\/a>) they are actual &#8220;political entities&#8221;, with countries (<a href=\"http:\/\/purl.org\/NET\/marccodes\/countries\/gt#location\" target=\"_blank\">Guatemala<\/a>), and states\/provinces\/territories (<a href=\"http:\/\/purl.org\/NET\/marccodes\/countries\/inu#location\" target=\"_blank\">Indiana<\/a>, <a href=\"http:\/\/purl.org\/NET\/marccodes\/countries\/nsc#location\" target=\"_blank\">Nova Scotia<\/a>, <a href=\"http:\/\/purl.org\/NET\/marccodes\/countries\/gi#location\" target=\"_blank\">Gibraltar<\/a>, <a href=\"http:\/\/purl.org\/NET\/marccodes\/countries\/gz#location\" target=\"_blank\">Gaza Strip<\/a>).<\/p>\n<p>Like the geographic area codes, I&#8217;ve modeled these as wgs84:SpatialThings.<\/p>\n<p>They can appear in several places in the MARC record:\u00c2\u00a0 they will almost always appear in the 008 in positions 15-17 as the &#8220;country of publication&#8221;.\u00c2\u00a0 If one code isn&#8217;t enough to convey the full story of the production of a particular resource (!), the code may also appear in the <a href=\"http:\/\/www.loc.gov\/marc\/bibliographic\/bd044.html\" target=\"_blank\">044$a<\/a> (repeatable subfield, non-repeatable field).\u00c2\u00a0 There are a couple of fields that the country codes could appear in:\u00c2\u00a0 the 535$g, 775$f and the 851$g; I have no idea how common it would be to find them there (and they have a different meaning &#8212; the 535\/851 define the location of the item, for example).<\/p>\n<p>To generate the country code URI, take the value from the MARC 008[15-17] or 044$a, strip any leading or trailing spaces and append &#8220;#location&#8221;.\u00c2\u00a0 The URIs look like:<\/p>\n<p>http:\/\/purl.org\/NET\/marccodes\/countries\/aw#location<\/p>\n<p>http:\/\/purl.org\/NET\/marccodes\/countries\/sa#location<\/p>\n<p>To link to these resources, I&#8217;ve been using the <a href=\"http:\/\/rdvocab.info\/Elements\/placeOfPublication\" target=\"_blank\">RDA:placeOfPublication<\/a> property, although I&#8217;m sure there are plenty of others that are appropriate (seems like a logical property for <a href=\"http:\/\/bibliontology.com\/\" target=\"_blank\">BIBO<\/a>, for example).<\/p>\n<p>The original code lists are also <a href=\"http:\/\/www.loc.gov\/marc\/countries\/countries_regional.html\" target=\"_blank\">grouped by region<\/a>, but there are no actual codes for this.\u00c2\u00a0 I created some for the purposes of linked data:<\/p>\n<p>http:\/\/purl.org\/NET\/marccodes\/countries\/regions\/1#location<\/p>\n<p>http:\/\/purl.org\/NET\/marccodes\/countries\/regions\/2#location<\/p>\n<p>etc. (until 12).<\/p>\n<p>Since we only use the country codes in MARC to note the place of publication, these are far less valuable than the geographic area codes (which are much more ambiguous in meaning), since it&#8217;s much more interesting when you can say that all of these things:<\/p>\n<p><a title=\"SPARQL Query for LinkedLCCN\" href=\"http:\/\/api.talis.com\/stores\/rsinger-dev4\/services\/sparql?query=SELECT+%3Fs%0D%0AWHERE+{%0D%0A%3Fs+%3Fp+%3Chttp%3A%2F%2Fpurl.org%2FNET%2Fmarccodes%2Fgacs%2Fe-ie%23location%3E%0D%0A}&amp;output=json\" target=\"_blank\">http:\/\/api.talis.com\/stores\/rsinger-dev4\/services\/sparql?query=SELECT+%3Fs%0D%0AWHERE+{%0D%0A%3Fs+%3Fp+%3Chttp%3A%2F%2Fpurl.org%2FNET%2Fmarccodes%2Fgacs%2Fe-ie%23location%3E%0D%0A}&amp;output=json<\/a><\/p>\n<p>are referring to the same place as all of these things:<\/p>\n<p><a title=\"SPARQL Query in DBpedia\" href=\"http:\/\/dbpedia.org\/sparql?default-graph-uri=http%3A%2F%2Fdbpedia.org&amp;should-sponge=&amp;query=select+distinct+%3Fs+where+%0D%0A{%3Fs+%3Chttp%3A%2F%2Fdbpedia.org%2Fontology%2Fcountry%3E+%3Chttp%3A%2F%2Fdbpedia.org%2Fresource%2FIreland%3E}&amp;debug=on&amp;timeout=&amp;format=text%2Fhtml\" target=\"_blank\">http:\/\/dbpedia.org\/sparql?default-graph-uri=http%3A%2F%2Fdbpedia.org&amp;should-sponge=&amp;query=select+distinct+%3Fs+where+%0D%0A{%3Fs+%3Chttp%3A%2F%2Fdbpedia.org%2Fontology%2Fcountry%3E+%3Chttp%3A%2F%2Fdbpedia.org%2Fresource%2FIreland%3E}&amp;debug=on&amp;timeout=&amp;format=text%2Fhtml<\/a><\/p>\n<p>which, in turn, are referring to the same place as this:<\/p>\n<p><a href=\"http:\/\/www.freebase.com\/view\/en\/ireland\/-\/book\/book_subject\/works\" target=\"_blank\">http:\/\/www.freebase.com\/view\/en\/ireland\/-\/book\/book_subject\/works<\/a><\/p>\n<p>which, in my mind, has <em>tremendous<\/em> potential.<\/p>\n<h3><a href=\"http:\/\/purl.org\/NET\/languages\/\">Language Codes<\/a><\/h3>\n<p>Unbeknownst to me prior to undertaking this project, the Library of Congress is actually the maintenance agency for ISO 639-2 and the ISO codes are actually a derivative of the MARC codes list.\u00c2\u00a0 They aren&#8217;t actually a 1:1 mapping (there are 22 codes that are different in the ISO list), but they&#8217;re extremely close.\u00c2\u00a0 What is particularly nice about this is that most locale\/language libraries are aware of these codes so it&#8217;s fairly easy to map to other locales (notably ISO 639-1, which is used by xml:lang).<\/p>\n<p>The Library of Congress publishes <a href=\"http:\/\/www.loc.gov\/standards\/codelists\/languages.xml\" target=\"_blank\">an XML version of the list<\/a> which is what I used to model it as linked data.\u00c2\u00a0 One of the nice features of this list was that it has attributes on the name that denote whether or not there&#8217;s an authority record for it:<\/p>\n<p style=\"padding-left: 30px;\">&lt;name authorized=&#8221;yes&#8221;&gt;Abkhaz&lt;\/name&gt;<\/p>\n<p>which we can then take, tack the substring &#8221; language&#8221; onto it and look it up in http:\/\/id.loc.gov\/authorities:<\/p>\n<p>http:\/\/id.loc.gov\/authorities\/sh85000169#concept<\/p>\n<p>giving us a link between things created in a particular language and things created <em>about<\/em> that language.<\/p>\n<p>To use the language codes, take the value of positions 35-37 of the 008 or <a href=\"http:\/\/www.loc.gov\/marc\/bibliographic\/bd041.html\" target=\"_blank\">the 041<\/a> (the different subfields all define a different place the text might have a different language, so check the spec on this one).\u00c2\u00a0 I doubt it hardly ever appears in actual data, but <a href=\"http:\/\/www.loc.gov\/marc\/bibliographic\/bd242.html\" target=\"_blank\">the 242$y<\/a> might have the language of the translated title.<\/p>\n<p>Take that value (be sure to strip any trailing\/leading whitespace &#8212; it&#8217;s supposed to be 3 characters: no more, no less) and plug it into the following URI template:<\/p>\n<p>http:\/\/purl.org\/NET\/marccodes\/languages\/{abc}#lang<\/p>\n<p>for example:<\/p>\n<p>http:\/\/purl.org\/NET\/marccodes\/languages\/tur#lang<\/p>\n<p>http:\/\/purl.org\/NET\/marccodes\/languages\/myn#lang<\/p>\n<p>etc.<\/p>\n<p>The language resources link to id.loc.gov (as mentioned above) as well as <a href=\"http:\/\/www.lexvo.org\/\" target=\"_blank\">Lingvoj\/Lexvo<\/a> (they link to both, where appropriate, since there are likely still many data sources out there still using the Lingvoj URIs).\u00c2\u00a0 There are a handful (for example, <a href=\"http:\/\/purl.org\/NET\/marccodes\/languages\/swe#lang\" target=\"_blank\">Swedish<\/a>) that link to dbpedia, but since those links are available in Lexvo, it&#8217;s not essential they appear here.<\/p>\n<h3><a href=\"http:\/\/purl.org\/NET\/muscomp\/\" target=\"_blank\">Musical Composition Codes<\/a><\/h3>\n<p>There are two codes lists that are  directly related to music-based resources (sound recordings, scores and  video): the musical composition codes and the <a href=\"http:\/\/purl.org\/NET\/musperf\/\" target=\"_blank\">Instruments and Voices  codes<\/a>.\u00c2\u00a0 Given that there has been a lot of work put into modeling music  data for the linked data cloud, I thought it would be most useful to  orient both of these lists to be used with the <a href=\"http:\/\/musicontology.com\/\" target=\"_blank\">Music Ontology<\/a>.<\/p>\n<p>The  composition codes basically denote the &#8220;genre&#8221; of the music contained  in the resource.\u00c2\u00a0 It&#8217;s extremely classical-centric and sometimes lumps a  lot of different forms into one genre code (try <a href=\"http:\/\/purl.org\/NET\/marccodes\/muscomp\/dv#genre\" target=\"_blank\">Divertimentos, serenades, cassations, divertissements, and notturni<\/a> on for size), but they are definitely a start for finding like resources.<\/p>\n<p>They are modeled as <a href=\"http:\/\/musicontology.com\/#term_Genre\" target=\"_blank\">mo:Genre<\/a> resources and include links to id.loc.gov, dbpedia and wikipedia.\u00c2\u00a0 To get the code, either use positions 17-19 of the MARC 008 field or the <a href=\"http:\/\/www.loc.gov\/marc\/bibliographic\/bd047.html\" target=\"_blank\">047$a<\/a> (both a repeating field and subfield).\u00c2\u00a0 The normalized code should always be two alpha characters long, and downcased.<\/p>\n<p>They go into a URI template like:<\/p>\n<p>http:\/\/purl.org\/NET\/marccodes\/muscomp\/{ab}#genre<\/p>\n<p>such as:<\/p>\n<p>http:\/\/purl.org\/NET\/marccodes\/muscomp\/sy#genre<\/p>\n<p>or<\/p>\n<p>http:\/\/purl.org\/NET\/marccodes\/muscomp\/mz#genre<\/p>\n<p>It would be really useful to find other datasources that use mo:Genre to link these to.<\/p>\n<h3><a href=\"http:\/\/purl.org\/NET\/forms\/\" target=\"_blank\">Form of Item Codes<\/a><\/h3>\n<p>This is a very small list that broadly describes the format of the resource being described.\u00c2\u00a0 This is probably most useful to use with <a href=\"http:\/\/dublincore.org\/documents\/dcmi-terms\/#terms-format\" target=\"_blank\">dcterms:format<\/a>, so they&#8217;ve all been modeled with the rdf:type <a href=\"http:\/\/dublincore.org\/documents\/dcmi-terms\/#classes-MediaType\" target=\"_blank\">dcterms:MediaType<\/a>.\u00c2\u00a0 A full third of the codes describe microforms (granted, out of 9 total), which should give you some some sense of how relevant these are.<\/p>\n<p>Getting the code from the MARC record is dependent on the kind of record you&#8217;re looking at.\u00c2\u00a0 For books, serials, sound recordings, scores, computer files and mixed materials, take the 23rd position from the 008.\u00c2\u00a0 For visual materials and maps use the 29th position.\u00c2\u00a0 They should be one, lowercase alpha character.<\/p>\n<p>URIs look like:<\/p>\n<p>http:\/\/purl.org\/NET\/forms\/{a}#form<\/p>\n<p>The resources link to http:\/\/id.loc.gov\/authorities (think Genre\/Form terms), http:\/\/id.loc.gov\/vocabulary\/graphicMaterials and (for a couple) dbpedia.<\/p>\n<p>Ideally, these will eventually link to whatever is analogous is RDA (if somebody can point that out to me).<\/p>\n<h3><a href=\"http:\/\/purl.org\/NET\/frequencies\/\">Frequency of Issue Codes<\/a><\/h3>\n<p>Unlike the previous code list, this one seems much more useful.\u00c2\u00a0 It is used to define how often a continuing resource is updated.\u00c2\u00a0 Unfortunately, it is extremely print-centric (the only term more frequent than &#8220;daily&#8221; is &#8220;<a href=\"http:\/\/purl.org\/NET\/marccodes\/frequency\/k#term\" target=\"_blank\">Continuously updated<\/a>&#8221; which is defined as &#8220;Updated more frequent than daily.&#8221;), but some of the terms would seem to hold value even outside of the library context (<a href=\"http:\/\/purl.org\/NET\/marccodes\/frequency\/a#term\" target=\"_blank\">Annual<\/a>, <a href=\"http:\/\/purl.org\/NET\/marccodes\/frequency\/e#term\" target=\"_blank\">Biweekly<\/a>, <a href=\"http:\/\/purl.org\/NET\/marccodes\/frequency\/q#term\" target=\"_blank\">Quarterly<\/a>, etc.).\u00c2\u00a0 It doesn&#8217;t take a tremendous leap of the imagination see how these might be useful for events calendars (<a href=\"http:\/\/purl.org\/NET\/marccodes\/frequency\/m#term\" target=\"_blank\">Monthly<\/a>, etc.) or for <a href=\"http:\/\/purl.org\/goodrelations\/\" target=\"_blank\">GoodRelations<\/a>-type datasets (&#8220;<a href=\"http:\/\/purl.org\/NET\/marccodes\/frequency\/f#term\" target=\"_blank\">Semi-annual<\/a> Blowout Sale!&#8221;).<\/p>\n<p>To get the code from the MARC record, check the 008[18] or the 853-855$w.\u00c2\u00a0 Presumably, this should only appear for continuing resources (SER).\u00c2\u00a0 It&#8217;s a one letter code, lower cased.<\/p>\n<p>The URIs look like:<\/p>\n<p>http:\/\/purl.org\/NET\/marccodes\/frequency\/{x}#term<\/p>\n<p>They are modeled as dcterms:Frequency resources and link to dbpedia where available.<\/p>\n<h3><a href=\"http:\/\/purl.org\/NET\/targets\/\" target=\"_blank\">Target Audience Codes<\/a><\/h3>\n<p>This is another fairly short, extremely generalized list.\u00c2\u00a0 It is primarily useful to determining the age-level of children&#8217;s resources, most likely (5 of the 8 terms are for juvenile age groups).\u00c2\u00a0 They are of rdf:type <a href=\"http:\/\/dublincore.org\/documents\/dcmi-terms\/#classes-AgentClass\" target=\"_blank\">dcterms:AgentClass<\/a>.\u00c2\u00a0 Resources are linked (where appropriate &#8212; and maybe even a few that aren&#8217;t) to dbpedia and http:\/\/id.loc.gov\/authorities\/.<\/p>\n<p>For books, music (scores, sound recordings), computer files and visual materials, get the code from the 008[22].\u00c2\u00a0 It is one letter, lower cased.\u00c2\u00a0 URIs follow the fairly consistent form we&#8217;ve seen thus far:<\/p>\n<p>http:\/\/purl.org\/NET\/marccodes\/target\/{x}#term<\/p>\n<p>http:\/\/purl.org\/NET\/marccodes\/target\/c#term<\/p>\n<p>http:\/\/purl.org\/NET\/marccodes\/target\/f#term<\/p>\n<h3><a href=\"http:\/\/purl.org\/NET\/musperf\/\" target=\"_blank\">Instruments and Voices Codes<\/a><\/h3>\n<p>The terms describe the instruments or vocal groups that either appear (for sound recordings, for example) or are intended (scores) for a particular resource.\u00c2\u00a0 Like many of the other codes lists, these are quite general and maddeningly biased towards classical music (<a href=\"http:\/\/purl.org\/NET\/marccodes\/musperf\/ke#term\" target=\"_blank\">Continuo<\/a>, <a href=\"http:\/\/purl.org\/NET\/marccodes\/musperf\/kf#term\" target=\"_blank\">Celeste<\/a>, <a href=\"http:\/\/purl.org\/NET\/marccodes\/musperf\/sf#term\" target=\"_blank\">Viola d&#8217;amore<\/a>, but no banjo or sitar, for instance).\u00c2\u00a0 Like the form of musical composition terms, I modeled these to use with the Music Ontology, namely as the object of <a href=\"http:\/\/musicontology.com\/#term_instrument\" target=\"_blank\">mo:instrument<\/a>.\u00c2\u00a0 <a href=\"http:\/\/musicontology.com\/#term_Instrument\" target=\"_blank\">mo:Instrument<\/a> has this note:<\/p>\n<blockquote><p>Any taxonomy can be used to subsume this concept. The default one is one extracted by Ivan Herman<br \/>\nfrom the Musicbrainz instrument taxonomy, conforming to SKOS. This concept holds a seeAlso link<br \/>\ntowards this taxonomy.<\/p><\/blockquote>\n<p>so these terms have been modeled as skos:Concepts.\u00c2\u00a0 There are skos:exactMatch relationships to the Musicbrainz taxonomy where appropriate (as well as links to id.loc.gov\/authorities and dbpedia).\u00c2\u00a0 The original code lists had an implication of hierarchy (&#8220;Larger ensemble &#8211; Dance orchestra&#8221; should be thought of as &#8220;Dance orchestra&#8221; with broader term &#8220;Larger ensemble&#8221;), but that&#8217;s not actually used in MARC.\u00c2\u00a0 I broke these broader terms out on their own for this vocabulary, since it seemed useful in a linked data context and wouldn&#8217;t actually hurt anything (the codes are two letters, so the &#8220;broader terms&#8221; are just using the first letter).<\/p>\n<p>To get the code, use the <a href=\"http:\/\/www.loc.gov\/marc\/bibliographic\/bd048.html\" target=\"_blank\">MARC 048 subfield a or b<\/a> (for ensemble or solo parts, respectively) and take the first two characters (which must be letters).\u00c2\u00a0 This code <em>may<\/em> be followed by two digit number (left padded with zeroes) signifying how many parts.\u00c2\u00a0 Drop this number, if present.<\/p>\n<p>URI template:<\/p>\n<p>http:\/\/purl.org\/NET\/marccodes\/musperf\/{xx}#term<\/p>\n<p>http:\/\/purl.org\/NET\/marccodes\/musperf\/cd#term<\/p>\n<p>http:\/\/purl.org\/NET\/marccodes\/musperf\/ed#term<\/p>\n<h3>Other Codes<\/h3>\n<p>I am not sure when or if I will model any more codes lists.\u00c2\u00a0 Ideally, the Library of Congress should be doing these (they&#8217;ve done the <a href=\"http:\/\/id.loc.gov\/vocabulary\/relators.html\" target=\"_blank\">relator codes<\/a>, and <a href=\"http:\/\/id.loc.gov\/vocabulary\/cryptographicHashFunctions.html\" target=\"_blank\">preservation events<\/a> lists).\u00c2\u00a0 The only other lists I can see much value in are the <a href=\"http:\/\/www.loc.gov\/standards\/valuelist\/marcsmd.html\" target=\"_blank\">Specific Material Form Terms<\/a> (the MARC 007) and the <a href=\"http:\/\/www.loc.gov\/marc\/organizations\/\" target=\"_blank\">MARC Organization codes<\/a>.<\/p>\n<p>I have done a bit of work on the specific material forms list, but it&#8217;s fairly complicated.\u00c2\u00a0 My current approach is a hybrid of controlled vocabularies and RDF schema (after all, it makes sense for a globe to be rdf:type &lt;http:\/\/purl.org\/NET\/marccodes\/smd\/terms\/Globe&gt; rather than that be some property set on an untyped resource).\u00c2\u00a0 For an RDF schema, though, I would prefer a &#8220;better&#8221; namespace than purl.org\/NET\/, although perhaps it doesn&#8217;t really matter much.<\/p>\n<p>No matter what, it would certainly push the limits of my freebie Heroku account that this is currently running on.<\/p>\n<p>I am definitely open to any ideas or recommendations people might have for these (and requests for other lists to be converted).\u00c2\u00a0 I&#8217;d also be interested to see if are able to use them with your data.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have been slowly taking the MARC codes lists and modeling them as linked data. I released a handful of them several months ago (geographic area codes, countries and languages) and have added more as I get inspired or have some free time. Most recently, I&#8217;ve added the Form of Item, Target Audience and Instruments [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,65,71],"tags":[],"class_list":["post-432","post","type-post","status-publish","format-standard","hentry","category-libraries","category-linked-data","category-marc"],"_links":{"self":[{"href":"https:\/\/rossfsinger.me\/blog\/wp-json\/wp\/v2\/posts\/432","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rossfsinger.me\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rossfsinger.me\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rossfsinger.me\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rossfsinger.me\/blog\/wp-json\/wp\/v2\/comments?post=432"}],"version-history":[{"count":7,"href":"https:\/\/rossfsinger.me\/blog\/wp-json\/wp\/v2\/posts\/432\/revisions"}],"predecessor-version":[{"id":439,"href":"https:\/\/rossfsinger.me\/blog\/wp-json\/wp\/v2\/posts\/432\/revisions\/439"}],"wp:attachment":[{"href":"https:\/\/rossfsinger.me\/blog\/wp-json\/wp\/v2\/media?parent=432"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rossfsinger.me\/blog\/wp-json\/wp\/v2\/categories?post=432"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rossfsinger.me\/blog\/wp-json\/wp\/v2\/tags?post=432"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}