Skip to:
Update Marc2BF conversion Java library to process record 776
New resources to be created
Resource #1
Create an outgoing edge http://bibfra.me/vocab/relation/otherVersion from the Work resource with the following properties
Type: Type: http://bibfra.me/vocab/lite/Work
http://bibfra.me/vocab/marc/mainHeading
$a
http://bibfra.me/vocab/marc/edition
$b
http://bibfra.me/vocab/marc/qualifyingInformation
$c
http://bibfra.me/vocab/marc/publicationInformation
$d
http://bibfra.me/vocab/marc/relatedParts
$g
http://bibfra.me/vocab/marc/physicalDescription
$h
http://bibfra.me/vocab/lite/relationshipInformation
$i
http://bibfra.me/vocab/lite/seriesData
$k
http://bibfra.me/vocab/marc/materials
$m
http://bibfra.me/vocab/lite/note
$n
http://bibfra.me/vocab/marc/uniformTitle
$s
http://bibfra.me/vocab/lite/name
$t
http://bibfra.me/vocab/marc/oclcNumber
$w Only if $w follows the following regex pattern (OCoLC)\s*(?<id>\d+) Extract the "id" from the regex and store it in "oclcNumber" property.
http://bibfra.me/vocab/marc/relator_code
$4
http://bibfra.me/vocab/marc/linkage
$6
http://bibfra.me/vocab/marc/controlField
$7
http://bibfra.me/vocab/marc/fieldLink
$8
label
$a, $t, $s, $b (concatenate $a, $t, $s, $b using ", ")
Resource #2
Create an incoming edge http://bibfra.me/vocab/lite/instantiates to resource#1 with the following properties
Types:http://bibfra.me/vocab/lite/InstanceAll properties of resource #1 plus the following 2 properties
Property
value
http://bibfra.me/vocab/marc/isbn
$z
http://bibfra.me/vocab/marc/issn
$x
Resource #3
Create this resource only if $w follows the following regex pattern (OCoLC)\s(?<id>\d+)*
Create an outgoing edge http://library.link/vocab/map from Resource#1 with the following properties
Types:http://bibfra.me/vocab/lite/Identifierhttp://library.link/identifier/OCLCNUM
http://bibfra.me/vocab/lite/link
http://www.worldcat.org/oclc/ + $w (extract id as per the logic mentioned above)
Resource #4
Create an outgoing edge http://library.link/vocab/map from Resource#2 with the following properties
Types:http://bibfra.me/vocab/lite/Identifierhttp://library.link/identifier/ISBN
Resource #5
Types:http://bibfra.me/vocab/lite/Identifierhttp://library.link/identifier/ISSN
Resource #6
Create this edge only if value of $w follows the regex pattern (DLC)\s(?<id>[a-zA-Z0-9-_ ]+)*
LCCN = Extract the "id" from the regex
Types:http://bibfra.me/vocab/lite/Identifierhttp://library.link/identifier/LCCN
extracted "id" from $w
https://lccn.loc.gov/ + the LCCN value
Duplicate of https://folio-org.atlassian.net/browse/MODLD-387
Update Marc2BF conversion Java library to process record 776
New resources to be created
Resource #1
Create an outgoing edge http://bibfra.me/vocab/relation/otherVersion from the Work resource with the following properties
Type: Type: http://bibfra.me/vocab/lite/Work
http://bibfra.me/vocab/marc/mainHeading
$a
http://bibfra.me/vocab/marc/edition
$b
http://bibfra.me/vocab/marc/qualifyingInformation
$c
http://bibfra.me/vocab/marc/publicationInformation
$d
http://bibfra.me/vocab/marc/relatedParts
$g
http://bibfra.me/vocab/marc/physicalDescription
$h
http://bibfra.me/vocab/lite/relationshipInformation
$i
http://bibfra.me/vocab/lite/seriesData
$k
http://bibfra.me/vocab/marc/materials
$m
http://bibfra.me/vocab/lite/note
$n
http://bibfra.me/vocab/marc/uniformTitle
$s
http://bibfra.me/vocab/lite/name
$t
http://bibfra.me/vocab/marc/oclcNumber
$w
Only if $w follows the following regex pattern
(OCoLC)\s*(?<id>\d+)
Extract the "id" from the regex and store it in "oclcNumber" property.
http://bibfra.me/vocab/marc/relator_code
$4
http://bibfra.me/vocab/marc/linkage
$6
http://bibfra.me/vocab/marc/controlField
$7
http://bibfra.me/vocab/marc/fieldLink
$8
label
$a, $t, $s, $b
(concatenate $a, $t, $s, $b using ", ")
Resource #2
Create an incoming edge http://bibfra.me/vocab/lite/instantiates to resource#1 with the following properties
Types:
http://bibfra.me/vocab/lite/Instance
All properties of resource #1 plus the following 2 properties
Property
value
http://bibfra.me/vocab/marc/isbn
$z
http://bibfra.me/vocab/marc/issn
$x
Resource #3
Create this resource only if $w follows the following regex pattern (OCoLC)\s(?<id>\d+)*
Create an outgoing edge http://library.link/vocab/map from Resource#1 with the following properties
Types:
http://bibfra.me/vocab/lite/Identifier
http://library.link/identifier/OCLCNUM
Property
value
http://bibfra.me/vocab/lite/name
$w
Only if $w follows the following regex pattern
(OCoLC)\s*(?<id>\d+)
Extract the "id" from the regex and store it in "oclcNumber" property.
http://bibfra.me/vocab/lite/link
http://www.worldcat.org/oclc/ + $w (extract id as per the logic mentioned above)
Resource #4
Create an outgoing edge http://library.link/vocab/map from Resource#2 with the following properties
Types:
http://bibfra.me/vocab/lite/Identifier
http://library.link/identifier/ISBN
Property
value
http://bibfra.me/vocab/lite/name
$z
Resource #5
Create an outgoing edge http://library.link/vocab/map from Resource#2 with the following properties
Types:
http://bibfra.me/vocab/lite/Identifier
http://library.link/identifier/ISSN
Property
value
http://bibfra.me/vocab/lite/name
$x
Resource #6
Create this edge only if value of $w follows the regex pattern (DLC)\s(?<id>[a-zA-Z0-9-_ ]+)*
LCCN = Extract the "id" from the regex
Create an outgoing edge http://library.link/vocab/map from Resource#2 with the following properties
Types:
http://bibfra.me/vocab/lite/Identifier
http://library.link/identifier/LCCN
Property
value
http://bibfra.me/vocab/lite/name
extracted "id" from $w
http://bibfra.me/vocab/lite/link
https://lccn.loc.gov/ + the LCCN value