STORY: Remove trailing punctuation from 260, 262, 264, and 300 tags

Description

Description

The purpose of this card is to modify transformation rules when punctuation is present in the 260, 262, 264, and 300 tags. The scope of this card includes

  • trailing punctuation

The card is not exhaustive for all punctuation rules across all MARC tags

Remove trailing punctuation

Example - MARC tag mapped to multiple linked data properties / classes → remove trailing punctuation present in original subfields (e.g. colon (:), comma (,), period (.), semicolon (;)

  264  1 $a New York : $b HarperCollins,  $c 2020.

    → bf:provisionActivity [ a bf:Publication ;

            bf:place [ a bf:Place ; rdfs:label "New York" ] ;

            bf:agent [ a bf:Agent ; rdfs:label "HarperCollins" ] ;

            bf:date "2020" ];

~~

300  $a 50 pages ; $c 24 cm.

→ bf:extent [ a bf:Extent ; rdfs:label "50 pages" ] ;

            bf:dimensions "24 cm" ];

NOTE: also remove any intervening spaces between the value and the punctuation in the original MARC tag

Exception - square brackets

Retain square brackets if present in the 260, 262, 264, or 300 tags

Example - square brackets retained; trailing punctuation removed

260   $a [Explicit edition].

→ bf:editionStatement “[Explicit edition]” ;

~~

Environment

None

Potential Workaround

None

Attachments

3
  • 12 Aug 2024, 02:07 PM
  • 12 Aug 2024, 02:07 PM
  • 12 Aug 2024, 02:07 PM

Checklist

hide

Activity

Show:

Tetiana Kovalchuk August 12, 2024 at 2:43 PM

Tested on qld env

Build version: #548

Test cases and evidences attached.

Askhat Abishev August 9, 2024 at 9:45 AM

  1. Marc to bib. UI, /resource/{{resource-id}}, /graph/resource/{{resource-id}}, /resource/{{resource-id}}/marc, database (any of these options can be used)

  2. Currently back-end doesn’t make any distinction among subfields

  3. Currently back-end removes only those punctuation marks that are mentioned in this ticket ( )

Tetiana Kovalchuk August 9, 2024 at 8:30 AM

The testing scope is not clear:

  1. During which process the punctuation should be removed? When deriving marc to bib? What endpoint can be used to check transformed value after removal?

  2. Are all sub-fields for mentioned fields in the scope?

  3. What punctuation is in the scope of removal except for colon (:), comma (,), period (.), semicolon (;)

,

Doug Loynes August 1, 2024 at 12:31 PM

At Aug 1 Refinement, Askhat asked for a list of punctuation fields to inform the card and call out explicitly

Done

Details

Assignee

Reporter

Labels

Priority

Story Points

Sprint

Development Team

Citation

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created August 1, 2024 at 11:21 AM
Updated March 4, 2025 at 7:23 PM
Resolved August 13, 2024 at 12:24 PM
TestRail: Cases
TestRail: Runs

Flag notifications