TODO:fallbackEntity
?thing
match
0
when
i2=4 & $q
$q
requires-i2
4
link
resourceType
property
1
i2
link
resourceType
marcDefault
4
property
tokenMap
0
dlc
$b
ignored
true
Exempel: -
MARC
{
  "082": {
    "ind1": "0",
    "ind2": "0",
    "subfields": [
      {
        "a": "158.1"
      },
      {
        "2": "23"
      }
    ]
  }
}
JSON-LD
{
  "mainEntity": {
    "instanceOf": {
      "@type": "Text",
      "classification": [
        {
          "@type": "ClassificationDdc",
          "code": "158.1",
          "editionEnumeration": "23",
          "edition": "full",
          "source": {
            "@type": "Source",
            "@id": "http://id.loc.gov/vocabulary/organizations/dlc",
            "code": "dlc"
          }
        }
      ]
    }
  }
}
Exempel: -
MARC
{
  "082": {
    "ind1": "0",
    "ind2": " ",
    "subfields": [
      {
        "a": "158.1"
      },
      {
        "2": "23"
      }
    ]
  }
}
Normalized MARC:
{
  "082": {
    "ind1": "0",
    "ind2": "4",
    "subfields": [
      {
        "a": "158.1"
      },
      {
        "2": "23"
      }
    ]
  }
}
JSON-LD
{
  "mainEntity": {
    "instanceOf": {
      "@type": "Text",
      "classification": [
        {
          "@type": "ClassificationDdc",
          "code": "158.1",
          "editionEnumeration": "23",
          "edition": "full"
        }
      ]
    }
  }
}
Exempel: -
MARC
{
  "082": {
    "ind1": " ",
    "ind2": "4",
    "subfields": [
      {
        "a": "158.1"
      },
      {
        "2": "23/swe"
      },
      {
        "q": "L"
      }
    ]
  }
}
JSON-LD
{
  "mainEntity": {
    "instanceOf": {
      "@type": "Text",
      "classification": [
        {
          "@type": "ClassificationDdc",
          "code": "158.1",
          "edition": "other",
          "editionEnumeration": "23/swe",
          "source": {
            "@type": "Source",
            "label": "L"
          }
        }
      ]
    }
  }
}
Exempel: -
MARC
{
  "082": {
    "ind1": " ",
    "ind2": " ",
    "subfields": [
      {
        "a": "808"
      },
      {
        "b": ".066"
      },
      {
        "2": "21"
      }
    ]
  }
}
Normalized MARC:
{
  "082": {
    "ind1": " ",
    "ind2": "4",
    "subfields": [
      {
        "a": "808"
      },
      {
        "2": "21"
      }
    ]
  }
}
JSON-LD
{
  "mainEntity": {
    "instanceOf": {
      "@type": "Text",
      "classification": [
        {
          "@type": "ClassificationDdc",
          "code": "808",
          "edition": "other",
          "editionEnumeration": "21"
        }
      ]
    }
  }
}
Exempel: -
MARC
{
  "082": {
    "ind1": "7",
    "ind2": "4",
    "subfields": [
      {
        "a": "158.1"
      },
      {
        "2": "23"
      },
      {
        "q": "L"
      }
    ]
  }
}
Normalized MARC:
{
  "082": {
    "ind1": " ",
    "ind2": "4",
    "subfields": [
      {
        "a": "158.1"
      },
      {
        "2": "23"
      },
      {
        "q": "L"
      }
    ]
  }
}
JSON-LD
{
  "mainEntity": {
    "instanceOf": {
      "@type": "Text",
      "classification": [
        {
          "@type": "ClassificationDdc",
          "editionEnumeration": "23",
          "edition": "other",
          "code": "158.1",
          "source": {
            "@type": "Source",
            "label": "L"
          }
        }
      ]
    }
  }
}
Exempel: -
MARC
{
  "082": {
    "ind1": "1",
    "ind2": " ",
    "subfields": [
      {
        "a": "344.485"
      },
      {
        "2": "15"
      }
    ]
  }
}
Normalized MARC:
{
  "082": {
    "ind1": "1",
    "ind2": "4",
    "subfields": [
      {
        "a": "344.485"
      },
      {
        "2": "15"
      }
    ]
  }
}
JSON-LD
{
  "mainEntity": {
    "instanceOf": {
      "@type": "Text",
      "classification": [
        {
          "@type": "ClassificationDdc",
          "edition": "abridged",
          "editionEnumeration": "15",
          "code": "344.485"
        }
      ]
    }
  }
}
Exempel: By using fallbackEntity, entities on both work and thing will be reverted
Normalized MARC:
[
  {
    "082": {
      "ind1": "0",
      "ind2": "0",
      "subfields": [
        {
          "a": "158.1"
        },
        {
          "2": "23"
        }
      ]
    }
  },
  {
    "082": {
      "ind1": " ",
      "ind2": "4",
      "subfields": [
        {
          "a": "E184.S23"
        }
      ]
    }
  }
]