Skip to content

More precise KBV Item/Holding model#483

Draft
niklasl wants to merge 5 commits into
developfrom
feature/holdings-redux
Draft

More precise KBV Item/Holding model#483
niklasl wants to merge 5 commits into
developfrom
feature/holdings-redux

Conversation

@niklasl
Copy link
Copy Markdown
Member

@niklasl niklasl commented Apr 29, 2024

Justera beståndsmodellen för att skilja mellan innehav och dess komponenter. Beståndskomponenter kan vara logiska innehav (hylla, status, etc.), eller faktiska enskilda exemplar.

  • kbv:ItemHolding blir en normaliserad nod (som principiellt "reifierar" kbv:heldBy).
  • kbv:hasComponent får domän kbv:ItemHolding och range kbv:HeldComponent. Den kan då inte i sig vara ett bestånd (så vi tar bort den nuvarande (förvirrande men—som tur är—oanvända) möjligheten att ange rekursiva bestånd).
  • kbv:HeldComponent är en konkret typ för komponenter av innehavet. Sådana kan, men måste inte, preciseras som faktiska exemplar (detta blir basklassen för kbv:SingleItem).

Några frågor:

  • Vill vi att kbv:heldBy ska ha domain kbv:ItemHolding? (Möjligen inte, om vi vill härleda den från kedjan (kbv:heldBy kbv:hasComponent); för att ha en kompatibel, flexibel form i relation till BF & RDA. Men vi kan också göra en sådan härledning enbart för bf:heldBy, för att tydligt specialisera vår relation.)
  • kbv:Item kan göras ptg:abstract; den är basklass för bestånd respektive exemplar. Men om vi vill göra en mjukare övergång kan vi avvakta med det (den är därför f.n. utkommenterad).

@niklasl niklasl changed the title Add new precise holding subclasses and properties More precise KBV Item/Holding model Apr 29, 2024
Comment thread source/vocab/items.ttl Outdated
Comment thread source/vocab/items.ttl Outdated
Comment thread source/vocab/items.ttl Outdated
@niklasl niklasl force-pushed the feature/holdings-redux branch from 27c0949 to 7f98b9e Compare June 3, 2024 16:55
olovy added a commit to libris/librisxl that referenced this pull request Aug 20, 2024
…e-item

Make it possible to have linked SingleItem (sv: "Exemplar") inside Item hasComponent.

    SingleItem is in collection none instead of hold so that we don't get any of the special handling for holdings
        => it is possible to have multiple SingleItem records per library
        => it is not involved in MARC export except as an embellished hasComponent of a regular holding record
    Access control for holdings is extend to all subclasses of Item instead of just collection hold
        i.e. only owning library + global registrant can write SingleItem

See also
libris/definitions#494

Later on Item might be replaced by ItemHolding for the holding, with SingleItem and SomeItem for 1 vs many items.
See libris/definitions#483
@niklasl niklasl force-pushed the feature/holdings-redux branch from 7f98b9e to 58f20ad Compare March 13, 2026 14:30
Copy link
Copy Markdown
Member Author

@niklasl niklasl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adjusting item model after recent discussion. The class HeldComponent represents a more abstract base for SingleItem, capturing inventory details (location, status, notes) for when the individual held item doesn't matter.

Comment thread source/vocab/items.ttl Outdated
Comment thread source/vocab/items.ttl Outdated
Comment thread source/vocab/items.ttl Outdated
Comment thread source/vocab/items.ttl Outdated
Comment thread source/vocab/items.ttl Outdated
Comment thread source/vocab/items.ttl Outdated
niklasl and others added 2 commits May 22, 2026 17:53
Co-authored-by: Niklas Lindström <lindstream@gmail.com>
@niklasl niklasl requested a review from branchedelac May 22, 2026 15:54
Copy link
Copy Markdown
Member Author

@niklasl niklasl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest that Item may be abstract (but not HeldComponent)

Comment thread source/vocab/items.ttl Outdated
Comment thread source/vocab/items.ttl
Co-authored-by: Niklas Lindström <lindstream@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant