From 25414e416460272675e97a57138783d35f5a56e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olov=20Ylinenp=C3=A4=C3=A4?= Date: Wed, 19 Nov 2025 17:17:16 +0100 Subject: [PATCH 1/3] feat(apps.jsonld): Add :itemHeldByOrg facet --- source/apps.jsonld | 1 + source/vocab/libris-search-experimental.ttl | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/source/apps.jsonld b/source/apps.jsonld index 8c12d5c9..1ee17ed0 100644 --- a/source/apps.jsonld +++ b/source/apps.jsonld @@ -86,6 +86,7 @@ { "dimensionChain": ["hasInstanceCategory"], "itemLimit": 100 }, { "dimensionChain": ["language"], "itemLimit": 100, "connective": "OR" }, { "dimensionChain": ["itemHeldBy"], "itemLimit": 1000, "connective": "OR" }, + { "dimensionChain": ["itemHeldByOrg"], "itemLimit": 1000, "connective": "OR", "reverseNested": true }, { "dimensionChain": ["yearPublished"], "itemLimit": 500, "range": true }, { "dimensionChain": ["contributor"], "itemLimit": 20 }, { "dimensionChain": ["genreForm"], "itemLimit": 100 }, diff --git a/source/vocab/libris-search-experimental.ttl b/source/vocab/libris-search-experimental.ttl index 86124632..ee931f41 100644 --- a/source/vocab/libris-search-experimental.ttl +++ b/source/vocab/libris-search-experimental.ttl @@ -3,6 +3,7 @@ @prefix sdo: . @prefix skos: . @prefix : . +@prefix bibdb: . @prefix rdf: . @prefix xsd: . @@ -40,6 +41,13 @@ sdo:rangeIncludes :Library ; owl:propertyChainAxiom ( :hasItem :heldBy ) . +:itemHeldByOrg a owl:ObjectProperty ; + rdfs:label "Bibliotek"@sv, "Library"@en ; + :category :shorthand, :pending ; + rdfs:domain :Instance ; + sdo:rangeIncludes bibdb:Organization ; + owl:propertyChainAxiom ( :hasItem :heldBy :isPartOf ) . + :instanceOfType a owl:ObjectProperty ; :category :shorthand, :pending ; rdfs:domain :Instance ; From a29c3b026376ae0eaa4961e60e771c87e8a8ca95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olov=20Ylinenp=C3=A4=C3=A4?= Date: Wed, 19 Nov 2025 17:26:27 +0100 Subject: [PATCH 2/3] Naming --- source/apps.jsonld | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/apps.jsonld b/source/apps.jsonld index 1ee17ed0..bcf2c16b 100644 --- a/source/apps.jsonld +++ b/source/apps.jsonld @@ -86,7 +86,7 @@ { "dimensionChain": ["hasInstanceCategory"], "itemLimit": 100 }, { "dimensionChain": ["language"], "itemLimit": 100, "connective": "OR" }, { "dimensionChain": ["itemHeldBy"], "itemLimit": 1000, "connective": "OR" }, - { "dimensionChain": ["itemHeldByOrg"], "itemLimit": 1000, "connective": "OR", "reverseNested": true }, + { "dimensionChain": ["itemHeldByOrg"], "itemLimit": 1000, "connective": "OR", "countTopLevelDocs": true }, { "dimensionChain": ["yearPublished"], "itemLimit": 500, "range": true }, { "dimensionChain": ["contributor"], "itemLimit": 20 }, { "dimensionChain": ["genreForm"], "itemLimit": 100 }, From d2395606e98de60e5edf3d7695d67d23d82fb396 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olov=20Ylinenp=C3=A4=C3=A4?= Date: Thu, 20 Nov 2025 10:29:22 +0100 Subject: [PATCH 3/3] Don't clash with library label --- source/vocab/libris-search-experimental.ttl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/vocab/libris-search-experimental.ttl b/source/vocab/libris-search-experimental.ttl index ee931f41..b12ae296 100644 --- a/source/vocab/libris-search-experimental.ttl +++ b/source/vocab/libris-search-experimental.ttl @@ -42,7 +42,8 @@ owl:propertyChainAxiom ( :hasItem :heldBy ) . :itemHeldByOrg a owl:ObjectProperty ; - rdfs:label "Bibliotek"@sv, "Library"@en ; + rdfs:label "Biblioteksorganisation"@sv, "Library organization"@en ; + skos:notation "OCODE"^^:LibrisQueryCode ; :category :shorthand, :pending ; rdfs:domain :Instance ; sdo:rangeIncludes bibdb:Organization ;