Skip to content

Commit fcd3a14

Browse files
authored
Merge pull request #36 from lcnetdev/v2.9-dev
V2.9 dev
2 parents 12f0703 + 70addc4 commit fcd3a14

129 files changed

Lines changed: 7099 additions & 1518 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

NEWS

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
--- 2.9 2025/03/07
2+
3+
Changes for updated v2.9.0 specifications:
4+
5+
Instance-bf2marc
6+
Updated creation of MARC 246 and 247 fields based on vartitletype URIs
7+
Updated creation of MARC 506 and 540 fields
8+
Added creation of 5XX fields with new notetypes
9+
Work-bf2marc
10+
Added creation of MARC 041 $a when multiple language resources exist
11+
Changed creation of MARC 041 Ind1
12+
Updated creation of MARC 246 and 247 fields based on vartitletype URIs
13+
Added creation of MARC X10 fields when the agent is a bf:Jurisdiction or bf:Place
14+
Added creation of MARC 505 Ind1
15+
Added creation of MARC 5XX fields with new notetypes
16+
Added creation of MARC 647 fields
17+
Updated creation of MARC 510 fields to follow indirect relationship model
18+
119
--- 2.8.1 2024/12/02
220

321
Patch release.
@@ -17,7 +35,7 @@ Instance-bf2marc
1735
Changed generation of indicators in MARC 246 field
1836
Updated creation of MARC 504 field to use bf:note instead of bf:supplementaryContent
1937
Work-bf2marc
20-
Added creation of paired MARC 880 fields for agents and added titles
38+
Added creation of paired MARC 880 fields for agents and added titles
2139
Added $u to MARC 510 field
2240
Added creation of MARC 080 field
2341
Changed generation of indicators in MARC 246 field

release-notes.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# bibframe2marc release notes
22

3+
## v2.9.0
4+
5+
Conversion updates based on specifications v2.9. See the Library of Congress’s [BIBFRAME site](https://www.loc.gov/bibframe/) for more details. Specifications are included in the distribution in the [spec](spec/) directory. Changes of note:
6+
7+
* Improved creation of indicator values for MARC 246 and 247 fields based on new vartitletype URIs
8+
* Changed creation of MARC 041 Ind1 byte
9+
* Added creation of MARC 505 Ind1 byte
10+
* Added creation of MARC 5XX fields based on new notetype URIs
11+
* Updated creation of MARC X10 fields to include bf:Jurisdiction and bf:Place data
12+
13+
See the [NEWS](NEWS) file for full details of changes.
14+
315
## v2.8.1
416

517
Patch release. This still conforms with 2.8.0 specs, which can be found in the [spec](spec/) directory. Changes of note:

rules/01-001-008.xml

Lines changed: 40 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1273,8 +1273,35 @@
12731273
*/@rdf:about='http://id.loc.gov/authorities/genreForms/gf2011026707'">z</xsl:when>
12741274
<xsl:when test="@rdf:resource='http://id.loc.gov/authorities/genreForms/gf2014026055' or
12751275
*/@rdf:about='http://id.loc.gov/authorities/genreForms/gf2014026055'">5</xsl:when>
1276+
1277+
1278+
<!-- Comics (graphic novels) -->
12761279
<xsl:when test="@rdf:resource='http://id.loc.gov/authorities/genreForms/gf2014026266' or
12771280
*/@rdf:about='http://id.loc.gov/authorities/genreForms/gf2014026266'">6</xsl:when>
1281+
<xsl:when test="*/madsrdf:authoritativeLabel[contains(., 'comics')] or
1282+
*/rdfs:label[contains(., 'comics')]">6</xsl:when>
1283+
<xsl:when test="*/madsrdf:authoritativeLabel[contains(., '(Comics)')] or
1284+
*/rdfs:label[contains(., '(Comics)')]">6</xsl:when>
1285+
<xsl:when test="@rdf:resource='http://id.loc.gov/authorities/genreForms/gf2014026572' or
1286+
*/@rdf:about='http://id.loc.gov/authorities/genreForms/gf2014026572'">6</xsl:when>
1287+
1288+
<!-- Manga -->
1289+
<xsl:when test="@rdf:resource='http://id.loc.gov/authorities/genreForms/gf2022026036' or
1290+
*/@rdf:about='http://id.loc.gov/authorities/genreForms/gf2022026036'">6</xsl:when>
1291+
<xsl:when test="*/madsrdf:authoritativeLabel[contains(., ' manga')] or
1292+
*/rdfs:label[contains(., ' manga')]">6</xsl:when>
1293+
<xsl:when test="@rdf:resource='http://id.loc.gov/authorities/genreForms/gf2023026096' or
1294+
*/@rdf:about='http://id.loc.gov/authorities/genreForms/gf2023026096'">6</xsl:when>
1295+
1296+
<!-- Graphic Novels -->
1297+
<xsl:when test="@rdf:resource='http://id.loc.gov/authorities/genreForms/gf2014026362' or
1298+
*/@rdf:about='http://id.loc.gov/authorities/genreForms/gf2014026362'">6</xsl:when>
1299+
<xsl:when test="@rdf:resource='http://id.loc.gov/authorities/genreForms/gf2016026005' or
1300+
*/@rdf:about='http://id.loc.gov/authorities/genreForms/gf2016026005'">6</xsl:when>
1301+
<xsl:when test="@rdf:resource='http://id.loc.gov/authorities/genreForms/gf2017026130' or
1302+
*/@rdf:about='http://id.loc.gov/authorities/genreForms/gf2017026130'">6</xsl:when>
1303+
1304+
12781305
</xsl:choose>
12791306
</xsl:for-each>
12801307
</xsl:variable>
@@ -1505,25 +1532,25 @@
15051532
<xsl:when test="$v008Format='BK'">
15061533
<xsl:choose>
15071534
<xsl:when test="bf:Work/bf:genreForm[@rdf:resource='http://id.loc.gov/authorities/genreForms/gf2014026339' or */@rdf:about='http://id.loc.gov/authorities/genreForms/gf2014026339']">1</xsl:when>
1508-
<xsl:when test="bf:Work/bf:genreForm/madsrdf:authoritativeLabel[contains(., 'fiction')]">1</xsl:when>
1509-
<xsl:when test="bf:Work/bf:genreForm/rdfs:label[contains(., 'fiction')]">1</xsl:when>
1535+
<xsl:when test="bf:Work/bf:genreForm/*/madsrdf:authoritativeLabel[contains(., 'fiction')]">1</xsl:when>
1536+
<xsl:when test="bf:Work/bf:genreForm/*/rdfs:label[contains(., 'fiction')]">1</xsl:when>
15101537
<xsl:when test="bf:Work/bf:genreForm[@rdf:resource='http://id.loc.gov/authorities/genreForms/gf2014026297' or */@rdf:about='http://id.loc.gov/authorities/genreForms/gf2014026297']">d</xsl:when>
15111538
<xsl:when test="bf:Work/bf:genreForm[@rdf:resource='http://id.loc.gov/authorities/genreForms/gf2014026094' or */@rdf:about='http://id.loc.gov/authorities/genreForms/gf2014026094']">e</xsl:when>
15121539
<xsl:when test="bf:Work/bf:genreForm[@rdf:resource='http://id.loc.gov/authorities/genreForms/gf2015026020' or */@rdf:about='http://id.loc.gov/authorities/genreForms/gf2015026020']">f</xsl:when>
15131540
<xsl:when test="bf:Work/bf:genreForm[@rdf:resource='http://id.loc.gov/authorities/genreForms/gf2014026110' or */@rdf:about='http://id.loc.gov/authorities/genreForms/gf2014026110']">h</xsl:when>
1514-
<xsl:when test="bf:Work/bf:genreForm/madsrdf:authoritativeLabel[contains(., 'Humor')]">h</xsl:when>
1515-
<xsl:when test="bf:Work/bf:genreForm/rdfs:label[contains(., 'Humor')]">h</xsl:when>
1541+
<xsl:when test="bf:Work/bf:genreForm/*/madsrdf:authoritativeLabel[contains(., 'Humor')]">h</xsl:when>
1542+
<xsl:when test="bf:Work/bf:genreForm/*/rdfs:label[contains(., 'Humor')]">h</xsl:when>
15161543
<xsl:when test="bf:Work/bf:genreForm[@rdf:resource='http://id.loc.gov/authorities/genreForms/gf2014026141' or */@rdf:about='http://id.loc.gov/authorities/genreForms/gf2014026141']">i</xsl:when>
15171544
<xsl:when test="bf:Work/bf:genreForm[@rdf:resource='http://id.loc.gov/authorities/genreForms/gf2014026054' or */@rdf:about='http://id.loc.gov/authorities/genreForms/gf2014026054']">i</xsl:when>
15181545
<xsl:when test="bf:Work/bf:genreForm[@rdf:resource='http://id.loc.gov/authorities/genreForms/gf2014026542' or */@rdf:about='http://id.loc.gov/authorities/genreForms/gf2014026542']">j</xsl:when>
15191546
<!-- <xsl:when test="bf:Work/bf:genreForm[@rdf:resource='http://id.loc.gov/authorities/genreForms/gf2014026339' or */@rdf:about='http://id.loc.gov/authorities/genreForms/gf2014026339']">m</xsl:when> -->
15201547
<xsl:when test="bf:Work/bf:genreForm[@rdf:resource='http://id.loc.gov/authorities/genreForms/gf2014026488' or */@rdf:about='http://id.loc.gov/authorities/genreForms/gf2014026488']">p</xsl:when> <!-- Prose peoms. -->
15211548
<xsl:when test="bf:Work/bf:genreForm[@rdf:resource='http://id.loc.gov/authorities/genreForms/gf2014026481' or */@rdf:about='http://id.loc.gov/authorities/genreForms/gf2014026481']">p</xsl:when>
1522-
<xsl:when test="bf:Work/bf:genreForm/madsrdf:authoritativeLabel[contains(., 'poetry')]">p</xsl:when>
1523-
<xsl:when test="bf:Work/bf:genreForm/rdfs:label[contains(., 'poetry')]">p</xsl:when>
1549+
<xsl:when test="bf:Work/bf:genreForm/*/madsrdf:authoritativeLabel[contains(., 'poetry')]">p</xsl:when>
1550+
<xsl:when test="bf:Work/bf:genreForm/*/rdfs:label[contains(., 'poetry')]">p</xsl:when>
15241551
<xsl:when test="bf:Work/bf:genreForm[@rdf:resource='http://id.loc.gov/authorities/genreForms/gf2011026363' or */@rdf:about='http://id.loc.gov/authorities/genreForms/gf2011026363']">s</xsl:when>
1525-
<xsl:when test="bf:Work/bf:genreForm/madsrdf:authoritativeLabel[contains(., 'speeches')]">s</xsl:when>
1526-
<xsl:when test="bf:Work/bf:genreForm/rdfs:label[contains(., 'speeches')]">s</xsl:when>
1552+
<xsl:when test="bf:Work/bf:genreForm/*/madsrdf:authoritativeLabel[contains(., 'speeches')]">s</xsl:when>
1553+
<xsl:when test="bf:Work/bf:genreForm/*/rdfs:label[contains(., 'speeches')]">s</xsl:when>
15271554
<xsl:otherwise>0</xsl:otherwise>
15281555
</xsl:choose>
15291556
</xsl:when>
@@ -1579,6 +1606,11 @@
15791606
<xsl:when test="bf:Work/bf:genreForm[@rdf:resource='http://id.loc.gov/authorities/genreForms/gf2014026085' or */@rdf:about='http://id.loc.gov/authorities/genreForms/gf2014026085']">a</xsl:when>
15801607
<xsl:when test="bf:Work/bf:note/bf:Note/rdfs:label[contains(., 'Contains biographical information')]">d</xsl:when>
15811608
<xsl:when test="bf:Work/bf:genreForm[@rdf:resource='http://id.loc.gov/authorities/genreForms/gf2014026049' or */@rdf:about='http://id.loc.gov/authorities/genreForms/gf2014026049']">b</xsl:when>
1609+
1610+
<!-- Autobiographical comics -->
1611+
<xsl:when test="bf:Work/bf:genreForm[@rdf:resource='http://id.loc.gov/authorities/genreForms/gf2014026229' or */@rdf:about='http://id.loc.gov/authorities/genreForms/gf2014026229']">a</xsl:when>
1612+
<!-- Biographical comics -->
1613+
<xsl:when test="bf:Work/bf:genreForm[@rdf:resource='http://id.loc.gov/authorities/genreForms/gf2014026244' or */@rdf:about='http://id.loc.gov/authorities/genreForms/gf2014026244']">b</xsl:when>
15821614
<xsl:otherwise><xsl:value-of select="' '"/></xsl:otherwise>
15831615
</xsl:choose>
15841616
</xsl:when>

0 commit comments

Comments
 (0)