From 77eb18c1a386be4743f6f7326b4cc12ce96ceeb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olov=20Ylinenp=C3=A4=C3=A4?= Date: Mon, 19 Aug 2024 17:29:40 +0200 Subject: [PATCH 1/2] Add :SingleItem --- source/vocab/display.jsonld | 4 +++- source/vocab/items.ttl | 11 +++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/source/vocab/display.jsonld b/source/vocab/display.jsonld index 7073821e..e102e6de 100644 --- a/source/vocab/display.jsonld +++ b/source/vocab/display.jsonld @@ -767,7 +767,9 @@ "subject", "summary", "immediateAcquisition", - "availability" + "availability", + { "inverseOf": "itemUsed" }, + { "inverseOf": "hasComponent" } ] }, "StructuredValue": { diff --git a/source/vocab/items.ttl b/source/vocab/items.ttl index 2c22680f..3c663a07 100644 --- a/source/vocab/items.ttl +++ b/source/vocab/items.ttl @@ -33,6 +33,12 @@ owl:equivalentClass bf2:Item, sdo:Product, holding:Item . #TODO?: owl:equivalentClass [ owl:unionOf (sdo:Product sdo:Offer) ] ; +:SingleItem a owl:Class ; + rdfs:subClassOf :Item ; + :category marc:none ; + owl:equivalentClass sdo:IndividualProduct ; + rdfs:label "Single item"@en, "Exemplar"@sv . + :itemOf a owl:ObjectProperty ; rdfs:label "Holding for"@en, "bestånd på"@sv ; owl:inverseOf :hasItem; @@ -210,7 +216,7 @@ :itemUsed a owl:ObjectProperty ; rdfs:label "Item used"@en, "Exemplaret som använts"@sv ; rdfs:domain :ProvisionActivity ; - rdfs:range :Item . + rdfs:range :SingleItem . :nonCodedLocationQualifier a owl:DatatypeProperty; rdfs:label "location qualifier"@en, "precisering av hyllplacering"@sv; @@ -248,9 +254,10 @@ :hasComponent a owl:ObjectProperty ; rdfs:label "has component"@en, "har komponent"@sv ; - :category :compositional ; + :category :compositional, :integral; rdfs:subPropertyOf bf2:hasPart ; rdfs:domain :Item ; + owl:inverseOf :componentOf ; # TODO: rdfs:domain :SomeItems ; rdfs:range :Item ; 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 . From 767457418af7322e59ff5d99b4d1510279f027ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olov=20Ylinenp=C3=A4=C3=A4?= <51744858+olovy@users.noreply.github.com> Date: Tue, 20 Aug 2024 14:30:16 +0200 Subject: [PATCH 2/2] Update source/vocab/items.ttl --- source/vocab/items.ttl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/vocab/items.ttl b/source/vocab/items.ttl index 3c663a07..70a1220b 100644 --- a/source/vocab/items.ttl +++ b/source/vocab/items.ttl @@ -216,7 +216,7 @@ :itemUsed a owl:ObjectProperty ; rdfs:label "Item used"@en, "Exemplaret som använts"@sv ; rdfs:domain :ProvisionActivity ; - rdfs:range :SingleItem . + rdfs:range :Item . :nonCodedLocationQualifier a owl:DatatypeProperty; rdfs:label "location qualifier"@en, "precisering av hyllplacering"@sv;