Skip to content

Commit c9a656d

Browse files
authored
Merge pull request #112 from lcnetdev/v1.4.0
v1.4.0 merge
2 parents 7f4d46e + eb5d2af commit c9a656d

64 files changed

Lines changed: 2493 additions & 1428 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: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
--- 1.4.0-SNAPSHOT
22

3+
Update conversion based on updated specifications:
4+
ConvSpec-LDR-R1
5+
ConvSpec-841-887-R3
6+
ConvSpec-5XX-R2
7+
ConvSpec-490,510,530-535-Links-R2
8+
ConvSpec-200-247-Titles-R2
9+
ConvSpec-010-048-R3
10+
ConvSpec-3XX-R2
11+
ConvSpec-050-088-R1
12+
ConvSpec-006-008-R1
13+
ConvSpec-001-007-R2
14+
ConvSpec-250-270-v1.4
15+
Generate property bf:instrumentalType instead of bf:instrumentType (https://github.com/lcnetdev/marc2bibframe2/issues/99)
16+
Correct isMemberOfMADSScheme typo (https://github.com/lcnetdev/marc2bibframe2/issues/100)
17+
Add "localfields" parameter (https://github.com/lcnetdev/marc2bibframe2/issues/98)
18+
Fix typo in MARC 034 conversion (https://github.com/lcnetdev/marc2bibframe2/issues/106)
19+
Update conversion for MARC 255 (https://github.com/lcnetdev/marc2bibframe2/issues/83)
20+
Refine conversion for MARC 362 (https://github.com/lcnetdev/marc2bibframe2/issues/74)
21+
Standardize URI generation in 6XX fields (https://github.com/lcnetdev/marc2bibframe2/issues/61)
22+
Add conversion specifications to repository (https://github.com/lcnetdev/marc2bibframe2/issues/57)
23+
Correct generation of rdfs:label properties from MARC 245 (https://github.com/lcnetdev/marc2bibframe2/issues/95)
24+
Add missing "pUriStem" parameter to 880/33X conversion (https://github.com/lcnetdev/marc2bibframe2/issues/93)
25+
License update
26+
327
--- 1.3.2 2018/06/15
428

529
URL-encode codes from MARC before appending to URI stems (fixes lcnetdev/marc2bibframe2#77)

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ The converter supports four optional parameters:
6363
`http://id.loc.gov/vocabulary/organizations/dlc`. This will be empty
6464
by default, resulting in no source property being defined.
6565

66+
- `localfield` - if true, process fields that are local to the Library
67+
of Congress records. Right now, the only field affected is the 859.
68+
6669
- `pGenerationDatestamp` - a value to be used as the datestamp for the
6770
bf:generationProcess property for the Work AdminMetadata. Defaults
6871
to the current date/time if the EXSLT `date:date-time()` function is
@@ -251,6 +254,10 @@ the [deploy](deploy) directory.
251254
* dataset - sample records for exercising conversion
252255
* metaproxy - sample [Metaproxy](http://www.indexdata.com/metaproxy/)
253256
configuration for static and active conversion
257+
* spec - the current specifications of the conversion. These are
258+
mostly published on the
259+
[BIBFRAME website|http://www.loc.gov/bibframe/mtbf/], but the
260+
versions in the conversion may be ahead of the published versions.
254261
* test - Unit tests for the [XSpec](https://github.com/xspec/xspec)
255262
testing framework, and test data
256263
* xsl - XSLT 1.0 stylesheets for transformation, configuration in xsl/conf

metaproxy/filters-available/marc2bibframe2.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<namespace prefix="rdf" href="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
3232
<namespace prefix="rdfs" href="http://www.w3.org/2000/01/rdf-schema#"/>
3333
<lookup xpath="//bf:Work/bf:subject/bf:Temporal[contains(@rdf:about,'example.org')] |
34-
//bf:Work/bf:subject/bf:Topic[contains(@rdf:about,'example.org')] |
34+
//bf:Work/bf:subject/bf:Topic[contains(@rdf:about,'example.org') and bf:source/bf:Source/bf:code='lcsh'] |
3535
//bf:Work/bf:subject/bf:Place[contains(@rdf:about,'example.org')] |
3636
//bf:Work/bf:genreForm/bf:GenreForm[contains(@rdf:about,'example.org')]">
3737
<key field="rdfs:label"/>

record-conv.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<namespace prefix="rdf" href="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
2020
<namespace prefix="rdfs" href="http://www.w3.org/2000/01/rdf-schema#"/>
2121
<lookup xpath="//bf:Work/bf:subject/bf:Temporal[contains(@rdf:about,'example.org')] |
22-
//bf:Work/bf:subject/bf:Topic[contains(@rdf:about,'example.org')] |
22+
//bf:Work/bf:subject/bf:Topic[contains(@rdf:about,'example.org') and bf:source/bf:Source/bf:code='lcsh'] |
2323
//bf:Work/bf:subject/bf:Place[contains(@rdf:about,'example.org')] |
2424
//bf:Work/bf:genreForm/bf:GenreForm[contains(@rdf:about,'example.org')]">
2525
<key field="rdfs:label"/>

spec/ConvSpec-001-007-R2.xlsx

37.1 KB
Binary file not shown.

spec/ConvSpec-006-008-R1.xlsx

31.1 KB
Binary file not shown.

spec/ConvSpec-010-048-R3.xlsx

22.6 KB
Binary file not shown.

spec/ConvSpec-048-Codes-R1.xlsx

13.6 KB
Binary file not shown.

spec/ConvSpec-050-088-R1.xlsx

14.9 KB
Binary file not shown.
11.8 KB
Binary file not shown.

0 commit comments

Comments
 (0)