NOTE:repeats
008
addLink
TODO?:addLink
marc:additionalWork
TODO?:pendingResources
[0]
tokenMap
a
Text
t
ManuscriptText
c
NotatedMusic
d
ManuscriptNotatedMusic
i
Audio
j
Music
e
Cartography
f
ManuscriptCartography
g
MovingImage
k
StillImage
o
Kit
r
Object
m
Multimedia
p
MixedMaterial
s
marc:SerialWork
property
tokenTypeMap
[0]
baseTypeMap
ManuscriptText
Text
NotatedMusic
Audio
ManuscriptNotatedMusic
Audio
Music
Audio
ManuscriptCartography
Cartography
MovingImage
Visual
StillImage
Visual
Kit
Visual
Object
Visual
MixedMaterial
Mixed
marc:SerialWork
Serial
Text
[1] [2] [3] [4]
TODO
Clean up these and deprecate? Text/hasPart/illustrativeContent seems *mostly* identical to 008 illustrativeContent
matchUriToken
^[abcdefghijklmop]$
[5]
TODO:about
_:aspectWork
addLink
NOTE:marc-repeatable
false
matchUriToken
^[abcdefgj]$
[6]
TODO:about
_:otherInstance
link
matchUriToken
^[abcdfoqrs]$
[7] [8] [9] [10]
addLink
matchUriToken
^[256abcdefgijklmnopqrstuvwyz]$
[11]
addLink
matchUriToken
^[acfilmos]$
[12]
addLink
matchUriToken
^[01]$
fixedDefault
0
[13]
addLink
matchUriToken
^[01]$
fixedDefault
0
[14]
matchUriToken
^[01]$
fixedDefault
0
[16]
addLink
matchUriToken
^[01cdefhijmps]$
[17]
addLink
matchUriToken
^[abcd]$
Audio
[1:3]
addLink
matchUriToken
^[abcdfghijlmnopqrstuvwyz]$
[3]
matchUriToken
^[abcdeghijklmp]$
[4]
link
matchUriToken
^[def]$
[5]
addLink
NOTE:marc-repeatable
false
matchUriToken
^[abcdefgj]$
[6]
TODO:about
_:otherInstance
link
matchUriToken
^[abcdfoqrs]$
[7] [8] [9] [10] [11] [12]
TODO
Decide if this should be Work or Instance
matchUriToken
^[abcdefghikrs]$
[13] [14]
addLink
matchUriToken
^[abcdefghijklmoprst]$
[16]
NOTE:LC
Transposition and arrangement - # - nac
ignore
true
fixedDefault
|
Cartography
[1] [2] [3] [4]
TODO:about
_:cartographic
link
matchUriToken
^[abcdefgijkmz]$
[5:7]
TODO:about
_:cartographic
matchUriToken
^[abcdefghijklmnoprsuz]$
[8]
addLink
matchUriToken
^[abcdefg]$
[11]
addLink
matchUriToken
^[acfilmos]$
[12]
TODO:about
_:otherInstance
link
[14]
matchUriToken
^[01]$
fixedDefault
0
[16] [17]
TODO:ignore pos 17
Not used in 008
addLink
matchUriToken
^[ejklnopr]$
Visual
[1:4]
property
TODO:patternMap
VisualRunningTimeType
[5]
addLink
NOTE:marc-repeatable
false
matchUriToken
^[abcdefgj]$
[11]
addLink
matchUriToken
^[acfilmos]$
[12]
TODO:about
_:otherInstance
link
[16]
addLink
matchUriToken
^[abcdfgiklmnopqrstvw]$
[17]
TODO:about
_:otherInstance
link
matchUriToken
^[aclz]$
Multimedia
[5]
addLink
matchUriToken
^[abcdefgj]$
fixedDefault
[6]
TODO:about
_:otherInstance
addLink
matchUriToken
^[oq]$
fixedDefault
silentRevert
false
[9]
addLink
matchUriToken
^[abcdefghijm]$
silentRevert
false
[11]
addLink
matchUriToken
^[acfilmos]$
silentRevert
false
Mixed
[6]
TODO:about
_:otherInstance
link
matchUriToken
^[abcdfoqrs]$
Serial
[1]
TODO
Ensure that the reconverting can separate 006, 008, 310 and 321 from each other
TODO:about
_:otherInstance
addLink
matchUriToken
^[abcdefghijkmqstwz]$
fixedDefault
u
[2]
TODO
Ensure that the reconverting can separate 006, 008, 310 and 321 from each other
TODO:about
_:otherInstance
addLink
matchUriToken
^[nrx]$
fixedDefault
|
[4]
addLink
matchUriToken
^[dlmnpw]$
fixedDefault
[5]
TODO:about
_:otherInstance
matchUriToken
^[abcdefoqs]$
[6]
TODO:about
_:otherInstance
link
matchUriToken
^[abcdfoqrs]$
[7]
addLink
matchUriToken
^[6abcdefghiklmnopqrstuvwyz]$
[8] [9] [10]
addLink
matchUriToken
^[56abcdefghiklmnopqrstuvwyz]$
[11]
addLink
matchUriToken
^[acfilmos]$
[12]
addLink
matchUriToken
^[01]$
fixedDefault
0
[16]
matchUriToken
^[abcdefghijkl]$
[17]
matchUriToken
^[012]$
repeatable
true
Exempel: -
MARC
[
  {
    "006": "a|||||||||||000 0|"
  }
]
JSON-LD
{
  "mainEntity": {
    "instanceOf": {
      "@type": "Text",
      "hasPart": [
        {
          "@type": "Text",
          "genreForm": [
            {
              "@id": "https://id.kb.se/marc/BooksLiteraryFormType-0"
            }
          ]
        }
      ]
    }
  }
}
Exempel: -
MARC
[
  {
    "006": "t|||||||||||000 0|"
  }
]
JSON-LD
{
  "mainEntity": {
    "instanceOf": {
      "@type": "Text",
      "hasPart": [
        {
          "@type": "ManuscriptText",
          "genreForm": [
            {
              "@id": "https://id.kb.se/marc/BooksLiteraryFormType-0"
            }
          ]
        }
      ]
    }
  }
}
Exempel: -
MARC
[
  {
    "006": "c| |||||||||||| | "
  }
]
JSON-LD
{
  "mainEntity": {
    "instanceOf": {
      "@type": "Text",
      "hasPart": [
        {
          "@type": "NotatedMusic"
        }
      ]
    }
  }
}
Exempel: -
MARC
[
  {
    "006": "d| |||||||||||| | "
  }
]
JSON-LD
{
  "mainEntity": {
    "instanceOf": {
      "@type": "Text",
      "hasPart": [
        {
          "@type": "ManuscriptNotatedMusic"
        }
      ]
    }
  }
}
Exempel: -
MARC
[
  {
    "006": "i| |||||||||||| | "
  }
]
JSON-LD
{
  "mainEntity": {
    "instanceOf": {
      "@type": "Text",
      "hasPart": [
        {
          "@type": "Audio"
        }
      ]
    }
  }
}
Exempel: -
MARC
[
  {
    "006": "g|   |     ||   ||"
  }
]
JSON-LD
{
  "mainEntity": {
    "instanceOf": {
      "@type": "Text",
      "hasPart": [
        {
          "@type": "MovingImage"
        }
      ]
    }
  }
}
Exempel: -
MARC
[
  {
    "006": "e|||||  |  || 0 ||"
  }
]
JSON-LD
{
  "mainEntity": {
    "instanceOf": {
      "@type": "Text",
      "hasPart": [
        {
          "@type": "Cartography"
        }
      ]
    }
  }
}
Exempel: -
MARC
[
  {
    "006": "f|||||  |  || 0 ||"
  }
]
JSON-LD
{
  "mainEntity": {
    "instanceOf": {
      "@type": "Text",
      "hasPart": [
        {
          "@type": "ManuscriptCartography"
        }
      ]
    }
  }
}
Exempel: -
MARC
[
  {
    "006": "p     |           "
  }
]
JSON-LD
{
  "mainEntity": {
    "instanceOf": {
      "@type": "Text",
      "hasPart": [
        {
          "@type": "MixedMaterial"
        }
      ]
    }
  }
}
Exempel: -
MARC
[
  {
    "006": "o|   |     ||   ||"
  }
]
JSON-LD
{
  "mainEntity": {
    "instanceOf": {
      "@type": "Text",
      "hasPart": [
        {
          "@type": "Kit"
        }
      ]
    }
  }
}
Exempel: -
MARC
[
  {
    "006": "k|   |     ||   ||"
  }
]
JSON-LD
{
  "mainEntity": {
    "instanceOf": {
      "@type": "Text",
      "hasPart": [
        {
          "@type": "StillImage"
        }
      ]
    }
  }
}
Exempel: -
MARC
[
  {
    "006": "r|   |     ||   ||"
  }
]
JSON-LD
{
  "mainEntity": {
    "instanceOf": {
      "@type": "Text",
      "hasPart": [
        {
          "@type": "Object"
        }
      ]
    }
  }
}
Exempel: Text/Monograph in (in 000,008) + Text (006)
MARC
{
  "leader": "     cam a        i 4500",
  "fields": [
    {
      "001": "0000000"
    },
    {
      "006": "a|||||||||||000 ||"
    },
    {
      "008": "171123s1898    sw      re    000 ||   | "
    }
  ]
}
Normalized MARC:
{
  "leader": "     cam a        i 4500",
  "fields": [
    {
      "001": "0000000"
    },
    {
      "006": "a|||||||||||000 ||"
    },
    {
      "008": "171123s1898    sw |||||re||||000 ||   | "
    }
  ]
}
JSON-LD
{
  "created": "2017-11-23T00:00:00.0+01:00",
  "descriptionConventions": [
    {
      "@id": "https://id.kb.se/marc/CatFormType-i"
    }
  ],
  "encodingLevel": "marc:FullLevel",
  "mainEntity": {
    "issuanceType": "Monograph",
    "carrierType": [
      {
        "@id": "https://id.kb.se/marc/BooksItemType-r"
      }
    ],
    "marc:primaryProvisionActivity": {
      "@type": "PrimaryProvisionActivity",
      "country": [
        {
          "@id": "https://id.kb.se/country/sw"
        }
      ],
      "marc:publicationStatus": "marc:SingleKnownDateProbableDate",
      "year": "1898"
    },
    "instanceOf": {
      "@type": "Text",
      "genreForm": [
        {
          "@id": "https://id.kb.se/marc/BooksContentsType-e"
        }
      ],
      "hasPart": [
        {
          "@type": "Text"
        }
      ]
    }
  }
}
Exempel: Text/Monograph in (in 000,008) + Multimedia (006), wiping erroneous XY
MARC
{
  "leader": "     cam a        i 4500",
  "fields": [
    {
      "001": "0000000"
    },
    {
      "006": "mXY  ||  j |"
    },
    {
      "008": "171123s1898    sw      re    000 ||   | "
    }
  ]
}
Normalized MARC:
{
  "leader": "     cam a        i 4500",
  "fields": [
    {
      "001": "0000000"
    },
    {
      "006": "m        j |      "
    },
    {
      "008": "171123s1898    sw |||||re||||000 ||   | "
    }
  ]
}
JSON-LD
{
  "created": "2017-11-23T00:00:00.0+01:00",
  "descriptionConventions": [
    {
      "@id": "https://id.kb.se/marc/CatFormType-i"
    }
  ],
  "encodingLevel": "marc:FullLevel",
  "mainEntity": {
    "issuanceType": "Monograph",
    "carrierType": [
      {
        "@id": "https://id.kb.se/marc/BooksItemType-r"
      }
    ],
    "marc:primaryProvisionActivity": {
      "@type": "PrimaryProvisionActivity",
      "country": [
        {
          "@id": "https://id.kb.se/country/sw"
        }
      ],
      "marc:publicationStatus": "marc:SingleKnownDateProbableDate",
      "year": "1898"
    },
    "instanceOf": {
      "@type": "Text",
      "genreForm": [
        {
          "@id": "https://id.kb.se/marc/BooksContentsType-e"
        }
      ],
      "hasPart": [
        {
          "@type": "Multimedia",
          "genreForm": [
            {
              "@id": "https://id.kb.se/marc/ComputerTypeOfFileType-j"
            }
          ]
        }
      ]
    }
  }
}
Exempel: NotatedMusic in (in 000,008) + Music (006)
MARC
{
  "leader": "     ccm a        i 4500",
  "fields": [
    {
      "001": "0000000"
    },
    {
      "006": "j| | ||  | |"
    },
    {
      "008": "171123s1999    sw                     | "
    }
  ]
}
Normalized MARC:
{
  "leader": "     ccm a        i 4500",
  "fields": [
    {
      "001": "0000000"
    },
    {
      "006": "j| |||||||||||| | "
    },
    {
      "008": "171123s1999    sw | ||||||||||   |    | "
    }
  ]
}
JSON-LD
{
  "created": "2017-11-23T00:00:00.0+01:00",
  "descriptionConventions": [
    {
      "@id": "https://id.kb.se/marc/CatFormType-i"
    }
  ],
  "encodingLevel": "marc:FullLevel",
  "mainEntity": {
    "issuanceType": "Monograph",
    "marc:primaryProvisionActivity": {
      "@type": "PrimaryProvisionActivity",
      "country": [
        {
          "@id": "https://id.kb.se/country/sw"
        }
      ],
      "marc:publicationStatus": "marc:SingleKnownDateProbableDate",
      "year": "1999"
    },
    "instanceOf": {
      "@type": "NotatedMusic",
      "hasPart": [
        {
          "@type": "Music"
        }
      ]
    }
  }
}