From a0253131780c6c324a30081273b3d4ff8829895f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20Lindstr=C3=B6m?= Date: Fri, 28 Jun 2024 17:58:13 +0200 Subject: [PATCH] Add and update types to kbtf and update kbcr --- source/vocab/newtypes/kbcr.ttl | 8 ++++---- source/vocab/newtypes/kbtf.ttl | 36 +++++++++++++++++++++++++++------- 2 files changed, 33 insertions(+), 11 deletions(-) diff --git a/source/vocab/newtypes/kbcr.ttl b/source/vocab/newtypes/kbcr.ttl index 4355ac5d..a4ff09af 100644 --- a/source/vocab/newtypes/kbcr.ttl +++ b/source/vocab/newtypes/kbcr.ttl @@ -28,10 +28,10 @@ prefix kbrda: # skos:narrowMatch marc:MonographicSeries ; # ptg:abstract true . -# TODO: For export-to-bf+rda or revert-to-marc; use type-like properties to -# "bases" derived from exactMatch or broadMatch. For instance types, that -# mostly means :carrierType (unless some enum types are kept as subclasses of -# :GenreForm). +# TODO: For export-to-bf+rda or revert-to-marc; infer type-like properties +# linking to "bases" derived via exactMatch or broadMatch of given types. For +# instance types, that mostly means :carrierType (unless some enum types are +# kept as subclasses of :GenreForm). # Unmediated diff --git a/source/vocab/newtypes/kbtf.ttl b/source/vocab/newtypes/kbtf.ttl index 7a4762b8..e98dcb6e 100644 --- a/source/vocab/newtypes/kbtf.ttl +++ b/source/vocab/newtypes/kbtf.ttl @@ -22,6 +22,9 @@ base # TODO: make kbrda:* sameAs or bases for (basic) types (possibly abstract)? # *Some* are still better as "genreForm" though; so keep all as such (bound as genres for exact-matching types with a Restriction)? +# TODO: s/a :Form/a :GenreFormClass/g +# rdfs:subClassOf [ a owl:Restriction ; owl:onProperty :genreForm ; owl:hasSelf true ] . + # kbv:ArchivalUnit # TODO: remove from vocab @@ -60,7 +63,7 @@ f:CartographicTactileImage a :Form; f:CartographicTactileObject a :Form; owl:equivalentClass kbrda:CartographicTactileThreeDimensionalForm; - rdfs:subClassOf kbv:Cartography, kbv:TactileObject ; + rdfs:subClassOf kbv:Cartography, f:TactileObject ; rdfs:label "Kartografiskt taktilt objekt"@sv , "Cartographic Tactile Object"@en . @@ -424,13 +427,19 @@ kbv:Multimedia a :Class ; "Multimedia"@en . kbv:Software a :Form ; # TODO: pending; integrate with ComputerGame, Application, ... + ptg:abstract true ; rdfs:subClassOf kbv:Multimedia ; :prefLabel "Mjukvara"@sv , "Software"@en . +f:ComputerCode a :Form ; + rdfs:subClassOf kbv:Software ; + rdfs:label "Datorkod"@sv , + "Computer Code"@en . + f:ComputerProgram a :Form ; owl:equivalentClass kbrda:ComputerProgram; - rdfs:subClassOf kbv:Multimedia ; + rdfs:subClassOf kbv:Software ; rdfs:label "Datorprogram"@sv , "Computer Program"@en . @@ -441,7 +450,7 @@ f:ComputerGame a :Form ; "Computer Game"@en . f:Diagram a :Form ; - rdfs:subClassOf kbv:IllustratedWork ; + rdfs:subClassOf kbv:StillImage ; skos:exactMatch saogf:Diagram ; rdfs:label "Diagram"@sv , "Diagram"@en . @@ -527,7 +536,7 @@ f:PictureDictionary a :Form ; "Picture Dictionary"@en . f:Postcard a :Form ; - rdfs:subClassOf kbv:IllustratedWork ; + rdfs:subClassOf kbv:StillImage ; skos:exactMatch saogf:Vykort ; rdfs:label "Vykort"@sv , "Postcard"@en . @@ -538,11 +547,24 @@ f:Postcard a :Form ; # skos:exactMatch ; f:Poster a :Form ; - rdfs:subClassOf kbv:IllustratedWork ; + rdfs:subClassOf kbv:StillImage ; owl:equivalentClass sdo:Poster ; skos:exactMatch saogf:Affischer ; - rdfs:label "Affisch"@sv , - "Poster"@en . + rdfs:label "Affisch"@sv, "Poster"@en . + +f:ImagePoster a :Form ; + rdfs:subClassOf f:Poster ; + skos:broadMatch kbrda:StillImage ; + rdfs:label "Bildaffisch"@sv, "Image Poster"@en . + +f:TextPoster a :Form ; + rdfs:subClassOf f:Poster ; + skos:broadMatch kbrda:Text ; + rdfs:label "Textaffisch"@sv, "Text Poster"@en . + +f:ImageAndTextPoster a :Form ; + rdfs:subClassOf f:ImagePoster, f:TextPoster ; + rdfs:label "Bild- och textaffisch"@sv, "Image and Text Poster"@en . f:Puzzle a :Form ; rdfs:subClassOf f:PuzzleOrGame ;