resourceType
{ "@id": "https://id.kb.se/vocab/Nothing" }
TODO
Nothing should not appear in any results
match
0
when
NOTE
This prevents any identifiedBy + ISBN to map back to $z, only letting just indirectlyIdentifiedBy through.
onRevert
@type
ISBN
resourceType
1
when
NOTE
And this reverts indirectlyIdentifiedBy in favour of convert rule before
onRevert
@type
ISBN
resourceType
$a
$q
$z
property
splitValuePattern
^(.+?)(?:\s+\((.+)\))?$
splitValueProperties
0
value
1
qualifier
rejoin
(
joinEnd
)
punctuationChars
,:;
2
when
$a & $z
resourceType
$z
resourceType
property
splitValuePattern
^(.+?)(?:\s+\((.+)\))?$
splitValueProperties
0
value
1
qualifier
rejoin
(
joinEnd
)
punctuationChars
,:;
3
when
$z
inherit-match
$a & $z
4
resourceType
$c
Exempel: -
MARC
{
  "020": {
    "ind1": " ",
    "ind2": " ",
    "subfields": [
      {
        "a": "91-0-056322-6 (inb.)"
      },
      {
        "c": "310:00"
      }
    ]
  }
}
Normalized MARC:
{
  "020": {
    "ind1": " ",
    "ind2": " ",
    "subfields": [
      {
        "a": "91-0-056322-6"
      },
      {
        "q": "inb."
      },
      {
        "c": "310:00"
      }
    ]
  }
}
JSON-LD
{
  "mainEntity": {
    "identifiedBy": [
      {
        "@type": "ISBN",
        "value": "91-0-056322-6",
        "qualifier": "inb.",
        "acquisitionTerms": "310:00"
      }
    ]
  }
}
Exempel: -
MARC
{
  "020": {
    "ind1": " ",
    "ind2": " ",
    "subfields": [
      {
        "a": "91-0-056322-6 (inb.) :"
      },
      {
        "c": "310:00"
      }
    ]
  }
}
Normalized MARC:
{
  "020": {
    "ind1": " ",
    "ind2": " ",
    "subfields": [
      {
        "a": "91-0-056322-6"
      },
      {
        "q": "inb."
      },
      {
        "c": "310:00"
      }
    ]
  }
}
JSON-LD
{
  "mainEntity": {
    "identifiedBy": [
      {
        "@type": "ISBN",
        "value": "91-0-056322-6",
        "qualifier": "inb.",
        "acquisitionTerms": "310:00"
      }
    ]
  }
}
Exempel: -
MARC
{
  "020": {
    "ind1": " ",
    "ind2": " ",
    "subfields": [
      {
        "a": "91-47-07941-X (texth.) (i ringpärm)"
      }
    ]
  }
}
Normalized MARC:
{
  "020": {
    "ind1": " ",
    "ind2": " ",
    "subfields": [
      {
        "a": "91-47-07941-X"
      },
      {
        "q": "texth.) (i ringpärm"
      }
    ]
  }
}
JSON-LD
{
  "mainEntity": {
    "identifiedBy": [
      {
        "@type": "ISBN",
        "value": "91-47-07941-X",
        "qualifier": "texth.) (i ringpärm"
      }
    ]
  }
}
Exempel: -
MARC
{
  "020": {
    "ind1": " ",
    "ind2": " ",
    "subfields": [
      {
        "a": "9781137368331 (e-book)"
      },
      {
        "z": "9780230274396 (print)"
      }
    ]
  }
}
Normalized MARC:
[
  {
    "020": {
      "ind1": " ",
      "ind2": " ",
      "subfields": [
        {
          "a": "9781137368331"
        },
        {
          "q": "e-book"
        }
      ]
    }
  },
  {
    "020": {
      "ind1": " ",
      "ind2": " ",
      "subfields": [
        {
          "z": "9780230274396 (print)"
        }
      ]
    }
  }
]
JSON-LD
{
  "mainEntity": {
    "identifiedBy": [
      {
        "@type": "ISBN",
        "value": "9781137368331",
        "qualifier": "e-book"
      }
    ],
    "indirectlyIdentifiedBy": [
      {
        "@type": "ISBN",
        "value": "9780230274396",
        "qualifier": "print"
      }
    ]
  }
}
Exempel: -
MARC
{
  "020": {
    "ind1": " ",
    "ind2": " ",
    "subfields": [
      {
        "z": "9780240811444 (pbk. : alk. paper)"
      }
    ]
  }
}
JSON-LD
{
  "mainEntity": {
    "indirectlyIdentifiedBy": [
      {
        "@type": "ISBN",
        "value": "9780240811444",
        "qualifier": "pbk. : alk. paper"
      }
    ]
  }
}
Exempel: -
MARC
{
  "020": {
    "ind1": " ",
    "ind2": " ",
    "subfields": [
      {
        "a": "(US)"
      }
    ]
  }
}
JSON-LD
{
  "mainEntity": {
    "identifiedBy": [
      {
        "@type": "ISBN",
        "value": "(US)"
      }
    ]
  }
}
Exempel: indirectlyIdentifiedBy edge case
MARC
[
  {
    "020": {
      "ind1": " ",
      "ind2": " ",
      "subfields": [
        {
          "a": "8888888888888 (epub)"
        }
      ]
    }
  },
  {
    "020": {
      "ind1": " ",
      "ind2": " ",
      "subfields": [
        {
          "a": "aaaaaaaaaaaaa"
        }
      ]
    }
  },
  {
    "020": {
      "ind1": " ",
      "ind2": " ",
      "subfields": [
        {
          "a": "0000000000000 (epub)"
        },
        {
          "z": "1111111111111 (pbk. : alk. paper)"
        }
      ]
    }
  },
  {
    "020": {
      "ind1": " ",
      "ind2": " ",
      "subfields": [
        {
          "z": "2222222222222 (pbk. : alk. paper)"
        }
      ]
    }
  },
  {
    "020": {
      "ind1": " ",
      "ind2": " ",
      "subfields": [
        {
          "z": "zzzzzzzzzzzzz"
        }
      ]
    }
  },
  {
    "020": {
      "ind1": " ",
      "ind2": " ",
      "subfields": [
        {
          "z": "3333333333333 (pbk. : alk. paper)"
        },
        {
          "z": "4444444444444 (pbk. : alk. paper)"
        }
      ]
    }
  },
  {
    "020": {
      "ind1": " ",
      "ind2": " ",
      "subfields": [
        {
          "a": "9999999999999 (epub)"
        },
        {
          "z": "5555555555555 (pbk. : alk. paper)"
        },
        {
          "z": "6666666666666 (pbk. : alk. paper)"
        }
      ]
    }
  }
]
Normalized MARC:
[
  {
    "020": {
      "ind1": " ",
      "ind2": " ",
      "subfields": [
        {
          "a": "8888888888888"
        },
        {
          "q": "epub"
        }
      ]
    }
  },
  {
    "020": {
      "ind1": " ",
      "ind2": " ",
      "subfields": [
        {
          "a": "aaaaaaaaaaaaa"
        }
      ]
    }
  },
  {
    "020": {
      "ind1": " ",
      "ind2": " ",
      "subfields": [
        {
          "a": "0000000000000"
        },
        {
          "q": "epub"
        }
      ]
    }
  },
  {
    "020": {
      "ind1": " ",
      "ind2": " ",
      "subfields": [
        {
          "a": "9999999999999"
        },
        {
          "q": "epub"
        }
      ]
    }
  },
  {
    "020": {
      "ind1": " ",
      "ind2": " ",
      "subfields": [
        {
          "z": "1111111111111 (pbk. : alk. paper)"
        }
      ]
    }
  },
  {
    "020": {
      "ind1": " ",
      "ind2": " ",
      "subfields": [
        {
          "z": "2222222222222 (pbk. : alk. paper)"
        }
      ]
    }
  },
  {
    "020": {
      "ind1": " ",
      "ind2": " ",
      "subfields": [
        {
          "z": "zzzzzzzzzzzzz"
        }
      ]
    }
  },
  {
    "020": {
      "ind1": " ",
      "ind2": " ",
      "subfields": [
        {
          "z": "3333333333333 (pbk. : alk. paper)"
        }
      ]
    }
  },
  {
    "020": {
      "ind1": " ",
      "ind2": " ",
      "subfields": [
        {
          "z": "4444444444444 (pbk. : alk. paper)"
        }
      ]
    }
  },
  {
    "020": {
      "ind1": " ",
      "ind2": " ",
      "subfields": [
        {
          "z": "5555555555555 (pbk. : alk. paper)"
        }
      ]
    }
  },
  {
    "020": {
      "ind1": " ",
      "ind2": " ",
      "subfields": [
        {
          "z": "6666666666666 (pbk. : alk. paper)"
        }
      ]
    }
  }
]
JSON-LD
{
  "mainEntity": {
    "identifiedBy": [
      {
        "@type": "ISBN",
        "value": "8888888888888",
        "qualifier": "epub"
      },
      {
        "@type": "ISBN",
        "value": "aaaaaaaaaaaaa"
      },
      {
        "@type": "ISBN",
        "value": "0000000000000",
        "qualifier": "epub"
      },
      {
        "@type": "ISBN",
        "value": "9999999999999",
        "qualifier": "epub"
      }
    ],
    "indirectlyIdentifiedBy": [
      {
        "@type": "ISBN",
        "value": "1111111111111",
        "qualifier": "pbk. : alk. paper"
      },
      {
        "@type": "ISBN",
        "value": "2222222222222",
        "qualifier": "pbk. : alk. paper"
      },
      {
        "@type": "ISBN",
        "value": "zzzzzzzzzzzzz"
      },
      {
        "@type": "ISBN",
        "value": "3333333333333",
        "qualifier": "pbk. : alk. paper"
      },
      {
        "@type": "ISBN",
        "value": "4444444444444",
        "qualifier": "pbk. : alk. paper"
      },
      {
        "@type": "ISBN",
        "value": "5555555555555",
        "qualifier": "pbk. : alk. paper"
      },
      {
        "@type": "ISBN",
        "value": "6666666666666",
        "qualifier": "pbk. : alk. paper"
      }
    ]
  }
}