-
Notifications
You must be signed in to change notification settings - Fork 9
More precise KBV Item/Holding model #483
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
Open
niklasl
wants to merge
5
commits into
develop
Choose a base branch
from
feature/holdings-redux
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
e3b2775
Add new precise holding subclasses and properties
niklasl 58f20ad
Revise detailed holding/item model
niklasl 8a5f844
Change from SomeItems to HeldComponent
niklasl b867ec1
Remove MultipleItems from suggestion
niklasl 7287d09
Suggest that Item may be abstract (but not HeldComponent)
niklasl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,6 +1,7 @@ | ||||||
| @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||||||
| @prefix owl: <http://www.w3.org/2002/07/owl#> . | ||||||
| @prefix skos: <http://www.w3.org/2004/02/skos/core#> . | ||||||
| @prefix ptg: <http://protege.stanford.edu/plugins/owl/protege#> . | ||||||
| @prefix sdo: <http://schema.org/> . | ||||||
| @prefix bf2: <http://id.loc.gov/ontologies/bibframe/> . | ||||||
| @prefix rdaent: <http://rdvocab.info/uri/schema/FRBRentitiesRDA/> . | ||||||
|
|
@@ -20,24 +21,31 @@ | |||||
| # OTHER ITEM PROPERTIES AND CLASSES | ||||||
| # RETAINED SCHEMA/BF1 MAPPINGS | ||||||
| # EARLY LOCAL LIBRIS HOLDING TERMS | ||||||
| # MODEL SUGGESTIONS | ||||||
|
|
||||||
| ## | ||||||
| # BF2 ITEM/HOLDING LOCATION | ||||||
|
|
||||||
| :Item a owl:Class ; | ||||||
| #ptg:abstract true ; | ||||||
| rdfs:label "Item"@en, "Bestånd"@sv ; | ||||||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| :category marc:hold; | ||||||
| rdfs:subClassOf :Embodiment; | ||||||
| rdfs:subClassOf :Embodiment, sdo:Product; | ||||||
| skos:closeMatch rdaent:Item; | ||||||
| owl:equivalentClass bf2:Item, sdo:Product, holding:Item . | ||||||
| #TODO?: owl:equivalentClass [ owl:unionOf (sdo:Product sdo:Offer) ] ; | ||||||
| owl:equivalentClass bf2:Item, holding:Item . | ||||||
|
|
||||||
| :ItemHolding a owl:Class ; | ||||||
| rdfs:label "Item holding"@en, "Beståndsinnehav"@sv ; | ||||||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| rdfs:subClassOf :Item , sdo:Offer . | ||||||
|
|
||||||
| :HeldComponent a owl:Class ; | ||||||
| :category marc:none ; | ||||||
| rdfs:label "Held component"@en, "Beståndskomponent"@sv ; | ||||||
| rdfs:subClassOf :Item . | ||||||
|
|
||||||
| :SingleItem a owl:Class ; | ||||||
| rdfs:subClassOf :Item ; | ||||||
| rdfs:subClassOf :HeldComponent , sdo:IndividualProduct ; | ||||||
| :category marc:none ; | ||||||
| owl:equivalentClass sdo:IndividualProduct ; | ||||||
| rdfs:label "Single item"@en, "Exemplar"@sv . | ||||||
| rdfs:label "Single item"@en, "Enskilt exemplar"@sv . | ||||||
|
|
||||||
| :itemOf a owl:ObjectProperty ; | ||||||
| rdfs:label "Holding for"@en, "bestånd på"@sv ; | ||||||
|
|
@@ -255,11 +263,10 @@ | |||||
| :hasComponent a owl:ObjectProperty ; | ||||||
| rdfs:label "has component"@en, "har komponent"@sv ; | ||||||
| :category :compositional, :integral; | ||||||
| rdfs:subPropertyOf bf2:hasPart ; | ||||||
| rdfs:domain :Item ; | ||||||
| rdfs:subPropertyOf bf2:hasPart, sdo:itemOffered ; | ||||||
| rdfs:domain :ItemHolding ; | ||||||
| owl:inverseOf :componentOf ; | ||||||
| # TODO: rdfs:domain :SomeItems ; | ||||||
| rdfs:range :Item ; | ||||||
| rdfs:range :HeldComponent ; | ||||||
| skos:note "Retained from BF1 to enable an Item entity to describe several Items within the same holding. (Historically due to local variations in Libris MARC21-spec.)"@en . | ||||||
|
|
||||||
| :componentOf a owl:ObjectProperty ; | ||||||
|
|
@@ -312,16 +319,3 @@ | |||||
| rdfs:range rdfs:Literal ; | ||||||
| rdfs:comment "Om materialet ställs upp efter titel, författare, ämne eller annat beskrivande uppställningsord. Kan kombineras med kompletterande placeringsuppgifter, t.ex. klassifikation eller uppställningsord."@sv; | ||||||
| skos:example "Deckare", "Lagerlöf" . | ||||||
|
|
||||||
|
|
||||||
| # MODEL SUGGESTIONS | ||||||
| # | ||||||
| # :MultipleItems a owl:Class ; | ||||||
| # rdfs:subClassOf :Item ; | ||||||
| # owl:equivalentClass sdo:SomeProducts ; | ||||||
| # rdfs:label "Multiple items"@en, "Flera exemplar"@sv . | ||||||
|
|
||||||
| # :IndividualItem a owl:Class ; | ||||||
| # rdfs:subClassOf :Item ; | ||||||
| # owl:equivalentClass sdo:IndividualProduct ; | ||||||
| # rdfs:label "Individual item"@en, "Enskilt exemplar"@sv . | ||||||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.