Skip to content

Re-map bf:language as a blank node and repeatable #316

@NancyL

Description

@NancyL

Type of change
This is a change to the existing mapping. bf:language currently goes directly to a lookup. Because we need to be able to qualify what aspect of the resource language applies to, we need to change it to a blank node. In addition, since the field should now be repeatable, we have to specify which language given should populate the 008 language code in MARC on conversion.

Example RDF records
[Please provide URIs or RDF of the bf:Instance. If providing RDF, Turtle is preferred.]
https://api.development.sinopia.io/resource/28368480-fbf6-4895-ba78-6095c8c600cb

Resource template
stanford:test:monograph:work (used for testing)
pcc:bf2:monograph:work
pcc:bf2:AdminMetadata

Expected MARC
What MARC did you expect to receive?

008/35-37 ukr

Actual MARC
What MARC did you actually receive (if mapped incorrectly)?
none. Work does not convert with blank node language

Expected mapping logic
Please describe the logic of the mapping.

bf:language [a bf:Language ;
rdfs:label "Ukrainian" ;
bf:part "Text" ] .
bf:language [a bf:Language ;
rdfs:label "English"
bf:part "Original" ] .

converts to 008 35/37 ukr
Logic: When there is more than one language given, read bf:part. If bf:part says "Text" or "Sung or Spoken Text" use to populate the 008 35/37 (Language) with the MARC language code

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions