Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More precise KBV Item/Holding model #483

Draft
wants to merge 2 commits into
base: develop
Choose a base branch
from
Draft

Conversation

niklasl
Copy link
Member

@niklasl niklasl commented Apr 29, 2024

[WIP]

  • kbv:ItemHolding blir en normaliserad nod som "reifierar" kbv:heldBy
    • Och kbv:heldBy ska ha domain kbv:ItemHolding.
  • kbv:Item blir ptg:abstract och bas för bestånd respektive exemplar. kbv:hasComponent kan inte i sig vara ett bestånd (inget "bestånd hela vägen ner"); därför inför vi kbv:SomeItem som är ett eller flera faktiska exemplar.
    • kbv:SomeItem behöver vara "tydligt otydlig" och inte ptg:abstract. (Om vi inte lyckas precisera att alla kbv:hasComponent i bestånd är enskilda exemplar. Men det är både osannolikt och troligen inte önskvärt - det finns nog många "har två av denna på hylla X och resten i låda Y i källaren").

@niklasl niklasl changed the title Add new precise holding subclasses and properties More precise KBV Item/Holding model Apr 29, 2024
:itemUsed a owl:ObjectProperty ;
rdfs:label "Item used"@en, "Exemplaret som använts"@sv ;
rdfs:domain :ProvisionActivity ;
rdfs:range :SingleItem .
Copy link
Member Author

Choose a reason for hiding this comment

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

Suggested change
rdfs:range :SingleItem .
rdfs:range :Item .

Allow used items to refer to a single item, some items or an entire holding thereof.


:SingleItem a owl:Class ;
rdfs:label "Single item"@en, "Enskilt exemplar"@sv ;
rdfs:subClassOf :SomeItem .
Copy link
Member Author

Choose a reason for hiding this comment

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

Suggested change
rdfs:subClassOf :SomeItem .
rdfs:subClassOf :SomeItem, sdo:IndividualProduct .

owl:equivalentClass sdo:SomeProducts ;
rdfs:subClassOf :Item .
Copy link
Member Author

Choose a reason for hiding this comment

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

Suggested change
owl:equivalentClass sdo:SomeProducts ;
rdfs:subClassOf :Item .
rdfs:subClassOf :Item, sdo:SomeProducts .

Soften the equivalence.

@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
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