silentRevert
true
linkSubsequentRepeated
addLink
resourceType
match
0
when
onRevert
translationOf
then
ind1
1
match
0
when
onRevert
translationOf
then
ind1
1
NOTE
To avoid repeated revert of bib 041.
silentRevert
false
i1
ignored
true
marcDefault
i2
property
marcDefault
tokenMap
7
marc:SourceSpecifiedInSubfield2
TODO:pending
Merge entities from pending in similar fields (like bib 520)?
TODO
add subfields $m, $n, $p, $q, $r
$a
TODO:unifyWith
0
008:language
1
240.a?
2
546
TODO
not repeated if equal with existing
addLink
matchUriToken
^\w{2,3}$
property
$k
NOTE:record-count
295
about
_:intermediate
addLink
matchUriToken
^\w{2,3}$
property
$h
about
_:translationSource
addLink
matchUriToken
^\w{2,3}$
property
Exempel: -
MARC
[
  {
    "008": "|     |        |  |||||||||||000 ||swe| "
  },
  {
    "041": {
      "ind1": " ",
      "ind2": " ",
      "subfields": [
        {
          "a": "swe"
        }
      ]
    }
  }
]
JSON-LD
{
  "mainEntity": {
    "instanceOf": {
      "@type": "Text",
      "language": [
        {
          "@id": "https://id.kb.se/language/swe",
          "code": "swe"
        }
      ]
    }
  }
}
Exempel: Intermediate language with correct subfieldorder. Example from wd6wf9j75fhfw1c
MARC
[
  {
    "008": "|     |        |  |||||||||||000 ||swe| "
  },
  {
    "041": {
      "ind1": "1",
      "ind2": " ",
      "subfields": [
        {
          "a": "swe"
        },
        {
          "h": "rus"
        },
        {
          "k": "ger"
        }
      ]
    }
  }
]
Normalized MARC:
[
  {
    "008": "|     |        |  |||||||||||000 ||swe| "
  },
  {
    "041": {
      "ind1": "1",
      "ind2": " ",
      "subfields": [
        {
          "a": "swe"
        },
        {
          "k": "ger"
        },
        {
          "h": "rus"
        }
      ]
    }
  }
]
JSON-LD
{
  "mainEntity": {
    "instanceOf": {
      "@type": "Text",
      "language": [
        {
          "@id": "https://id.kb.se/language/swe",
          "code": "swe"
        }
      ],
      "translationOf": [
        {
          "@type": "Work",
          "language": [
            {
              "@id": "https://id.kb.se/language/rus",
              "code": "rus"
            }
          ]
        }
      ],
      "marc:intermediateLanguage": [
        {
          "@type": "Work",
          "language": [
            {
              "@id": "https://id.kb.se/language/ger",
              "code": "ger"
            }
          ]
        }
      ]
    }
  }
}
Exempel: More than one translationOf
MARC
[
  {
    "008": "|     |        |  |||||||||||000 ||swe| "
  },
  {
    "041": {
      "ind1": "1",
      "ind2": " ",
      "subfields": [
        {
          "a": "swe"
        },
        {
          "h": "rus"
        },
        {
          "h": "fin"
        }
      ]
    }
  }
]
JSON-LD
{
  "mainEntity": {
    "instanceOf": {
      "@type": "Text",
      "language": [
        {
          "@id": "https://id.kb.se/language/swe",
          "code": "swe"
        }
      ],
      "translationOf": [
        {
          "@type": "Work",
          "language": [
            {
              "@id": "https://id.kb.se/language/rus",
              "code": "rus"
            },
            {
              "@id": "https://id.kb.se/language/fin",
              "code": "fin"
            }
          ]
        }
      ]
    }
  }
}
Exempel: Repeated 041
MARC
[
  {
    "008": "|     |        |  |||||||||||000 ||swe| "
  },
  {
    "041": {
      "ind1": "1",
      "ind2": " ",
      "subfields": [
        {
          "a": "swe"
        },
        {
          "h": "rus"
        }
      ]
    }
  },
  {
    "041": {
      "ind1": "1",
      "ind2": " ",
      "subfields": [
        {
          "h": "fin"
        }
      ]
    }
  }
]
JSON-LD
{
  "mainEntity": {
    "instanceOf": {
      "@type": "Text",
      "language": [
        {
          "@id": "https://id.kb.se/language/swe",
          "code": "swe"
        }
      ],
      "translationOf": [
        {
          "@type": "Work",
          "language": [
            {
              "@id": "https://id.kb.se/language/rus",
              "code": "rus"
            }
          ]
        }
      ],
      "hasPart": [
        {
          "@type": "Work",
          "translationOf": [
            {
              "@type": "Work",
              "language": [
                {
                  "@id": "https://id.kb.se/language/fin",
                  "code": "fin"
                }
              ]
            }
          ]
        }
      ]
    }
  }
}
Exempel: Produce multiple 041 as well as 730 on revert
Normalized MARC:
[
  {
    "008": "|     |        |  |||||||||||000 ||swe| "
  },
  {
    "041": {
      "ind1": " ",
      "ind2": " ",
      "subfields": [
        {
          "a": "swe"
        }
      ]
    }
  },
  {
    "041": {
      "ind1": " ",
      "ind2": " ",
      "subfields": [
        {
          "a": "eng"
        }
      ]
    }
  },
  {
    "730": {
      "ind1": "0",
      "ind2": "2",
      "subfields": [
        {
          "a": "A Part"
        },
        {
          "l": "English"
        }
      ]
    }
  }
]
JSON-LD
{
  "mainEntity": {
    "instanceOf": {
      "@type": "Text",
      "language": [
        {
          "@id": "https://id.kb.se/language/swe",
          "@type": "Language",
          "code": "swe",
          "prefLabelByLang": {
            "sv": "Svenska"
          }
        }
      ],
      "hasPart": [
        {
          "@type": "Work",
          "hasTitle": [
            {
              "@type": "Title",
              "mainTitle": "A Part"
            }
          ],
          "language": [
            {
              "@id": "https://id.kb.se/language/eng",
              "@type": "Language",
              "code": "eng",
              "prefLabelByLang": {
                "sv": "English"
              }
            }
          ]
        }
      ]
    }
  }
}