Format Logic

Format Logic

This document describes the logic that Pika uses to determine various formats for display.


Table of Contents

Basic Information and Process

When building format facet logic, Pika references a combination of information from the MARC record. We reference location codes, i-types, and material types. Formats can be determined by material type, location type, collection code, i-Types, etc. At Marmot we cannot use these alone, because they are either not discreet enough, or they conflict. 

The process for format determination always starts by examining the MARC Leader to determine whether or not the leader position 6 is J for an initial determination of MusicRecording. After this determination, Pika will reference mapping based on other fields in the MARC, as described below. Typically, information in the leader field is used for format determination as a last option. When using the MARC leader, characters are counted using MARC record position counting that is similar to program position counting. Similarly, the 007 is the second to last option for format determination and is only applied if format determination cannot be referenced from any other MARC fields.

Top of page

All relevant formats based on MARC data

4K Ultra Blu-Ray

  • MARC 250 Edition Statement, subfield a

  • MARC 300 Physical Description, any subfield except e

  • MARC 347 Digital File Characteristics, subfield b

  • MARC 538 Note Field, subfield a

MARC 250 Edition Statement

Pika references the 250 Edition Statement. Pika references the subfield a. If the subfield a has the following phrase :

  • 4k ultra hd blu-ray

  • 4k ultra hd bluray

  • 4k ultrahd blu-ray

  • 4k ultrahd bluray

  • 4k uh blu-ray

  • 4 k uh bluray

  • 4k ultra high-definition blu-ray

  • 4k ultra high-definition bluray

  • 4k ultra high definition blu-ray

  • 4k ultra high definition bluray

  • 4k ultra hd

it will be determined as 4K Ultra Blu-Ray.

MARC 300 Physical Description Field

Pika references the 300 Physical Description field.  Pika references any subfield aside from subfield e.  If a subfield exists (except for e) and has the following phrase :

  • 4k ultra hd blu-ray

  • 4k ultra hd bluray

  • 4k ultrahd blu-ray

  • 4k ultrahd bluray

  • 4k uh blu-ray

  • 4 k uh bluray

  • 4k ultra high-definition blu-ray

  • 4k ultra high-definition bluray

  • 4k ultra high definition blu-ray

  • 4k ultra high definition bluray

  • 4k ultra hd

it will be determined as 4K Ultra Blu-Ray.

MARC 347 Digital File Characteristics

Pika references the 347 Digital File Characteristics.  Pika references the subfield b.  If the subfield b has the following phrase :

  • 4k ultra hd blu-ray

  • 4k ultra hd bluray

  • 4k ultrahd blu-ray

  • 4k ultrahd bluray

  • 4k uh blu-ray

  • 4 k uh bluray

  • 4k ultra high-definition blu-ray

  • 4k ultra high-definition bluray

  • 4k ultra high definition blu-ray

  • 4k ultra high definition bluray

  • 4k ultra hd

it will be determined as 4K Ultra Blu-Ray.

MARC 538 Note Field

Pika references the 538 Notes field. Pika references the subfield a.  If the subfield a has the following phrase :

  • 4k ultra hd blu-ray

  • 4k ultra hd bluray

  • 4k ultrahd blu-ray

  • 4k ultrahd bluray

  • 4k uh blu-ray

  • 4 k uh bluray

  • 4k ultra high-definition blu-ray

  • 4k ultra high-definition bluray

  • 4k ultra high definition blu-ray

  • 4k ultra high definition bluray

  • 4k ultra hd

it will be determined as 4K Ultra Blu-Ray.

Top of list

Adult Literacy Book

  • MARC 650, any subfield.

  • MARC 655, any subfield.

MARC 650 Topical Subject Term

Pika references the 650 Topical Subject term. Pika references any subfield. If any subfield has the phrase “Readers for new literates” it will be determined as Adult Literacy Book.

MARC 655 Genre/Form Term

Pika references the 655 Genre/Form term. Pika references any subfield. If any subfield has the phrase “Readers for new literates” it will be determined as Adult Literacy Book.

Archival Materials

  • MARC 590 Local Note, subfield a

MARC 590 Local Note

Pika references the 590 Local Note.  Pika references the subfield a.  If the subfield a has the phrase “archival materials” it will be determined as Archival Materials.

Top of list

Audio, Audio Cassette, Audio CD (all the formats with these labels)

Audio CD

  • MARC 007

    • Position 0 - letter s (sound recording)

    • Position 1 - letter d (sound disc)

    • Position 3 - letter z (other)

  • MARC 300 Physical Description, any subfield except e

MARC 007- Physical Description Fixed Field-General Information

Pika references the 007 s (sound recording) and 007 d (sound disc).  If the 007-character position 0 (Mat Catg) has the letter s (sound recording), the 007-character position 1 (Spec Mat) has the letter d (sound disc), and 007-character position 3 (speed) has the letter z (other), it will be determined as an Audio CD.

MARC 300 Physical Description Field

Pika references the 300 Physical Description field. Pika references the any subfield expect subfield e - Accompanying material.  If a subfield exists (except for e) and it has the following phrase:

  • audio disc

  • sound disc

it will be determined as a Audio CD.

Top of list

Audio CD with Blu-Ray

  • MARC 007

    • position 0 - letter s (sound recording)

    • position 1 - letter d (sound disc)

    • position 3 - letter z (other)

  • MARC 300 Physical Description, any subfield except e

  • MARC 347 Digital File Characteristics, subfield a

  • MARC 538, subfield a

MARC 007- Physical Description Fixed Field-General Information

Pika references the 007 s (sound recording) and 007 d (sound disc).  If the 007-character position 0 (Mat Catg) has the letter s (sound recording), the 007-character position 1 (Spec Mat) has the letter d (sound disc), and 007-character position 3 (speed) has the letter z (other), it will be determined as a Sound Disc.

MARC 300 Physical Description Field

Pika references the 300 Physical Description field.  Looking at all the different subfields.  Pika references the anything, but subfield e - Accompanying material.  If a subfield exists (except for e) and If it is ‘Bluray’ or ‘Blu-ray’, it will be determined as an Audio CD with Blu-Ray.

MARC 347 Digital File Characteristics

Pika references 347 Digital File Characteristics.  Pika references the subfield a.  If subfield a has the phrase bluray or blu-ray, it will be determined as a Blu-ray.

MARC 538 Note Field

Pika references the 538 Notes field. We are going to look at subfield a.  If subfield a has the phrase Blu-ray or Bluray, it will be determined as an Audio CD with Blu-Ray.

Top of list

Audio CD with CDROM

  • MARC 007

    • position 0 - letter s (sound recording)

    • position 1 - letter d (sound disc)

    • position 3 - letter z (other)

  • MARC 300 Physical Description, any subfield except e

  • MARC 538, subfield a

MARC 007- Physical Description Fixed Field-General Information

Pika references the 007 s (sound recording) and 007 d (sound disc).  If the 007-character position 0 (Mat Catg) has the letter s (sound recording), the 007-character position 1 (Spec Mat) has the letter d (sound disc), and 007-character position 3 (speed) has the letter z (other), it will be determined as a Sound Disc.

MARC 300 Physical Description Field

Pika references the 300 Physical Description field.  Looking at all the different subfields.  Pika references the anything, but subfield e - Accompanying material.  If a subfield exists (except for e) and If it is ‘CDROM’ or ‘DVDROM’, it will be determined as an Audio CD with CDROM.

MARC 538 Note Field

Pika references the 538 Notes field. We are going to look at subfield a.  If subfield a has CDROM or DVDROM, it will be determined as an Audio CD with CDROM.

Top of list

Audio CD with DVD

  • MARC 007

    • position 0 - letter s (sound recording)

    • position 1 - letter d (sound disc)

    • position 3 - letter z (other)

  • MARC 300 Physical Description, any subfield except e

  • MARC 347 Digital File Characteristics, subfield b

  • MARC 538, subfield a

MARC 007- Physical Description Fixed Field-General Information

Pika references the 007 s (sound recording) and 007 d (sound disc).  If the 007-character position 0 (Mat Catg) has the letter s (sound recording), the 007-character position 1 (Spec Mat) has the letter d (sound disc), and 007-character position 3 (speed) has the letter z (other), it will be determined as a Sound Disc.

MARC 300 Physical Description Field

Pika references the 300 Physical Description field.  Looking at all the different subfields.  Pika references the anything but subfield e - Accompanying material.  If a subfield exists (except for e) and if it is ‘DVD’, it will be determined as an Audio CD with DVD.

MARC 347 Digital File Characteristics

Pika references 347 Digital File Characteristics.  Pika references the subfield b.  If subfield b is a DVD, it will be determined as an Audio CD with DVD.

MARC 538 Note Field

Pika references the 538 Notes field. We are going to look at subfield a.  If subfield a has DVD, it will be determined as an Audio CD with DVD.

Top of list

Audio Cassette

  • MARC 007

    • Position 0 - letter s (sound recording)

    • Position 1 - letter s (Sound cassette)

  • MARC 300 Physical Description, any subfield except e

 

 MARC 007- Physical Description Fixed Field-General Information

Pika references the 007 s (sound recording) and 007 s (sound cassette).  If the 007-character position 0 (Mat Catg) has the letter s (sound recording), and the 007-character position 1 (Spec Mat) has the letter s (sound cassette), it will be determined as a Audio Cassette.

MARC 300 Physical Description Field

Pika references the 300 Physical Description field.  Looking at all the different subfields.  Pika references every subfield except subfield e.  If a subfield exists (except for e) and is has the phrase “sound cassette” it will be determined as a Audio Cassette.

Top of list

Audio

  • MARC leader

    • Position 6 - letter i (nonmusical sound recording)

  • MARC 007

    • Position 0 - letter s (sound recording)

    • Position 1 - letter z (other)

  • MARC 245 (title statement)

    • subfield k

    • subfield p

MARC Leader – Position 6 (Type of Record)

Pika references the MARC Leader Position 6 (REC TYPE).  If there is the letter i (nonmusical sound recording), it will be determined as Audio.

MARC 245 Title Statement

Pika references the 245 Title Statement. Pika references the subfield k.  If the subfield k is a sound recording, it will be determined as Audio.

MARC 245 Title Statement

Pika references the 245 Title Statement. Pika references the subfield p.  If the subfield p is a sound recording, it will be determined as Audio.   

MARC 007- Physical Description Fixed Field-General Information

Pika references the 007 s (sound recording) and 007 z (other).  If the 007-character position 0 (Mat Catg) has the letter s (sound recording), and the 007-character position 1 (Spec Mat) has the letter z (other), it will be determined as Audio.

Top of list

Blu-ray

  • MARC 300 Physical Description, any subfield except e

  • MARC 347 Digital File Characteristics, subfield b

  • MARC 538, subfield a

MARC 300 Physical Description Field

Pika references the 300 Physical Description field.  Pika references all subfields except for subfield e. If a subfield exists (except for e) and has the phrase bluray or blu-ray, it will be determined as a Blu-ray.

MARC 347 Digital File Characteristics

Pika references 347 Digital File Characteristics.  Pika references the subfield b.  If subfield b has the phrase bluray or blu-ray, it will be determined as a Blu-ray.

MARC 538 Notes Field

Pika references the 538 Notes field. Pika references the the subfield a.  If subfield a has the phrase bluray or blu-ray, it will be determined as a Blu-ray

Top of list

Blu-Ray/4K Ultra HD Blu-Ray Combo Pack

  • MARC 250 Edition Statement, subfield a

  • MARC 300 Physical Description, subfield a

MARC 250 Edition Statement

Pika references the 250 Edition Statement. Pika references the subfield a. If the subfield a has the following phrase :

  • 4k ultra hd + blu-ray

  • 4k ultra hd blu-ray + blu-ray

  • blu-ray + 4k ultra hd

  • 4k ultra hd/blu-ray combo

it will be determined as a Blu-Ray/4K Ultra HD Blu-Ray Combo Pack.

MARC 300 Physical Description

Pika references the 300 Physical Description. Pika refernces the subfield a. If the subfield a has the phrase “1 blu-ray disc + 1 4K Ultra HD” it will be determined as a Blu-Ray/4K Ultra HD Blu-Ray Combo Pack.

Top of page

Board Book

  • MARC 250 Edition Statement, subfield a

  • MARC 500 General Note, subfield a

  • MARC 650 Subject, subfield a

  • MARC 655 Index term Genre/Form, subfield a

MARC 250 Edition Field

Pika references the  250 Edition Statement.  Pika references the subfield a.  Pika references subfield a. If the subfield a has the phrase “board book” it will be determined as a Board Book.

MARC 500 General Note

Pika references the 500 General Note field. Pika references subfield a. If the subfield a has the phrase “board book” it will be determined as a Board Book.

MARC 650 Subject Field

Pika references the subject information from the MARC 650 field.  Pika references the the subfield a.  If the subfield a has the phrase “board books” it will be determined as a Board Book.

MARC 655 Index Term-Genre/Form

Pika references the 655 Index Term-Genre/Form.  Pika references the the subfield a.  If the subfield a has the phrase “board books” it will be determined as a Board Book.  

Top of list

Book

  • MARC Leader position 7 (bibliographic level) - letter m

  • MARC 007

    • Position 0 - letter t (text)

    • Position 1 - letter a (regular print)

  • MARC 300 Physical Description, any subfield except e

MARC Leader – Position 7 (Bibliographic Level)

Pika references the MARC Leader Position 7.  If there is the letter M – Monograph/Item, and we have not found a format yet, the format is Book.

MARC 007- Physical Description Fixed Field-General Information

Pika references the 007 t (text) and 007 a (regular print).  If the 007-character position 0 (Mat Catg) has the letter t (text), and the 007-character position 1 (Spec Mat) has the letter a (regular print), it will be determined as a Book.

MARC 300 Physical Description

Pika references the 300 Physical Description field.  Looking at all the different subfields.  Pika references anything, but subfield e - Accompanying material. Pika references a page count.  If there is a page count, we will assume that it is some type of book.

Top of list

Books with Accompanying Materials

  • MARC 300 Physical Description, any subfield except e

  • MARC 300 Physical Description, subfield e

For all books with accompanying materials, the first check will be to determine if the primary material is a book. After the first check, Pika will use other MARC data to determine the format of the accompanying material.

Some books with accompanying materials use existing logic to determine the accompanying materials format, with an additional fall backs, as noted below.

Book with Audio CD

  • Reference format determination for Book

    • MARC 300 Physical description, subfield e

  • Reference format determination for Sound Disc (Audio CD)

    • MARC 300 Physical description, subfield e

Process

If the record is determined as a Book, we will reference the MARC 300 Physical description subfield e. If the phrase Audio Disc is found, it will be determined as a Book with Audio CD.

If the record is determined as a Sound Disc (Audio CD), we will reference MARC 300 Physical description subfield e. If the phrase Book is found, it will be determined as a Book with Audio CD.

Book with CD-ROM

  • Reference format determination for CD ROM

  • MARC Leader position 6 (type of record) - letter a (language material)

Process