addLink
resourceType
match
0
when
i2=1
resourceType
1
when
i2=2
resourceType
2
when
i2=3
resourceType
3
when
i2=4
4
when
i2=5
resourceType
5
when
i2=6
resourceType
$a
property
$6
property
Exempel: -
MARC
{
  "653": {
    "ind1": " ",
    "ind2": "4",
    "subfields": [
      {
        "a": "Directors"
      }
    ]
  }
}
JSON-LD
{
  "mainEntity": {
    "instanceOf": {
      "@type": "Text",
      "subject": [
        {
          "@type": "Temporal",
          "label": "Directors"
        }
      ]
    }
  }
}
Exempel: With blank indicator 2
MARC
{
  "653": {
    "ind1": " ",
    "ind2": " ",
    "subfields": [
      {
        "a": "Name of Topic"
      }
    ]
  }
}
JSON-LD
{
  "mainEntity": {
    "instanceOf": {
      "@type": "Text",
      "subject": [
        {
          "@type": "Topic",
          "label": "Name of Topic"
        }
      ]
    }
  }
}
Exempel: Place as subject
MARC
{
  "653": {
    "ind1": " ",
    "ind2": "5",
    "subfields": [
      {
        "a": "Stockholm"
      }
    ]
  }
}
JSON-LD
{
  "mainEntity": {
    "instanceOf": {
      "@type": "Text",
      "subject": [
        {
          "@type": "Place",
          "label": "Stockholm"
        }
      ]
    }
  }
}
Exempel: Geographic subject should revert to place
Normalized MARC:
{
  "653": {
    "ind1": " ",
    "ind2": "5",
    "subfields": [
      {
        "a": "Stockholm"
      }
    ]
  }
}
JSON-LD
{
  "mainEntity": {
    "instanceOf": {
      "@type": "Text",
      "subject": [
        {
          "@type": "Geographic",
          "label": "Stockholm"
        }
      ]
    }
  }
}
Exempel: Change i2=0 to blank (none of our 653s belongs to lcsh)
MARC
{
  "653": {
    "ind1": " ",
    "ind2": "0",
    "subfields": [
      {
        "a": "Name of Topic"
      }
    ]
  }
}
Normalized MARC:
{
  "653": {
    "ind1": " ",
    "ind2": " ",
    "subfields": [
      {
        "a": "Name of Topic"
      }
    ]
  }
}
JSON-LD
{
  "mainEntity": {
    "instanceOf": {
      "@type": "Text",
      "subject": [
        {
          "@type": "Topic",
          "label": "Name of Topic"
        }
      ]
    }
  }
}