digirati-co-uk / pmc-lux

Transforming data from PMC catalogues for import to LUX
MIT License
1 stars 0 forks source link

Library - relabel 'Class' as 'Call Numbers' #5

Closed brutaldigital closed 3 weeks ago

brutaldigital commented 1 month ago

Please reclassify the field as 'Call Number'

e.g. Record ID B19436 currently has "Additional Identifiers: 7 STIR(J).C" but we'd prefer "Class: 7 STIR(J).C":

e.g. https://linked-art.library.yale.edu/node/378d0828-6b60-497b-8c02-97ddace47f9d

"identified_by": [
{
"type": "Identifier",
"content": "NJ18.St51 J33 2010",
"classified_as": [
{
"id": "http://vocab.getty.edu/aat/300311706",
"type": "Type",
"_label": "Call Number"
}
]
},
tomcrane commented 1 month ago

I found "7 STIR(J).C" on /library/work/0300177283, it comes from <class>7 STIR(J).C</class>

The default for that is not processed by any special rules is for it to become an identifier, but there's nothing to inform what a classified_as on that identifier would be, so it ends up just like:

    {
      "type": "Identifier",
      "content": "7 STIR(J).C"
    }

(see this alongside other IDs below)

What information can I use from the record to know to classify this as Call Number?

{
  "@context": "https://linked.art/ns/v1/linked-art.json",
  "id": "https://data.paul-mellon-centre.ac.uk/library/work/0300177283",
  "type": "LinguisticObject",
  "_label": "Stirling and Gowan : architecture from austerity to affluence",
  "language": [
    {
      "id": "http://vocab.getty.edu/aat/300388277",
      "type": "Language",
      "_label": "en"
    }
  ],
  "classified_as": [
    {
      "id": "http://vocab.getty.edu/aat/300263751",
      "type": "Type",
      "_label": "Text"
    }
  ],
  "identified_by": [
    {
      "type": "Identifier",
      "content": "0300177283",
      "classified_as": [
        {
          "id": "http://vocab.getty.edu/aat/300435704",
          "type": "Type",
          "_label": "System-Assigned Number"
        }
      ]
    },
    {
      "type": "Name",
      "content": "Stirling and Gowan : architecture from austerity to affluence",
      "classified_as": [
        {
          "id": "http://vocab.getty.edu/aat/300404670",
          "type": "Type",
          "_label": "Primary Name"
        }
      ]
    },
    {
      "type": "Identifier",
      "content": "7 STIR(J).C"
    }
  ],

...
tomcrane commented 1 month ago

(maybe related to #3) Are all <class> that aren't handled specifically to be classified as call number?

azaroth42 commented 3 weeks ago

Noted that these are not item specific, so aren't really call numbers -- there can be multiple accession numbers with a single class. Adding "Class" from aat