From 4226b69d8678a10d684156d2b63fe63080ce04bc Mon Sep 17 00:00:00 2001 From: marlip Date: Mon, 23 Sep 2024 13:43:50 +0200 Subject: [PATCH 1/3] Add EXIF properties for media objects --- source/vocab/files-packages-representations.ttl | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/source/vocab/files-packages-representations.ttl b/source/vocab/files-packages-representations.ttl index 672662217..c4d342379 100644 --- a/source/vocab/files-packages-representations.ttl +++ b/source/vocab/files-packages-representations.ttl @@ -3,6 +3,7 @@ @prefix xsd: . @prefix skos: . @prefix prov: . +@prefix exif: . @prefix sdo: . @prefix dc: . @prefix bf2: . @@ -141,3 +142,19 @@ rdfs:label "height"@en, "höjd"@sv ; sdo:domainIncludes :MediaObject ; # TODO: broaden domain later to also apply on Manifest and physical objects owl:equivalentProperty sdo:height . + +:bitsPerSample a owl:DatatypeProperty ; + rdfs:label "bits per sample"@en "bits per sample"@sv; + sdo:domainIncludes :MediaObject ; + owl:equivalentProperty exif:bitsPerSample . + +:colorSpace a owl:DatatypeProperty ; + rdfs:label "color space"@en, "färgrymd"@sv ; + sdo:domainIncludes :MediaObject ; + owl:equivalentProperty exif:colorSpace . + +:dateTimeDigitized a owl:DatatypeProperty ; + rdfs:label "datetime digitized"@en, "digitiseringsdatum"@sv ; + sdo:domainIncludes :MediaObject ; + owl:equivalentProperty exif:dateTimeDigitized ; + rdfs:range xsd:dateTime . From 00fe2c7b1fb0e683f2d47ec4875faf064ab08583 Mon Sep 17 00:00:00 2001 From: marlip Date: Mon, 23 Sep 2024 15:57:04 +0200 Subject: [PATCH 2/3] Add missing blank space --- source/vocab/files-packages-representations.ttl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/vocab/files-packages-representations.ttl b/source/vocab/files-packages-representations.ttl index c4d342379..005ef6704 100644 --- a/source/vocab/files-packages-representations.ttl +++ b/source/vocab/files-packages-representations.ttl @@ -144,7 +144,7 @@ owl:equivalentProperty sdo:height . :bitsPerSample a owl:DatatypeProperty ; - rdfs:label "bits per sample"@en "bits per sample"@sv; + rdfs:label "bits per sample"@en "bits per sample"@sv ; sdo:domainIncludes :MediaObject ; owl:equivalentProperty exif:bitsPerSample . From 4443fb7eddfd6b93f8ecf54dd86779910f892ceb Mon Sep 17 00:00:00 2001 From: marlip Date: Fri, 11 Oct 2024 14:06:29 +0200 Subject: [PATCH 3/3] Remove bitsperSample when ImageBitDepth exists --- source/vocab/files-packages-representations.ttl | 5 ----- 1 file changed, 5 deletions(-) diff --git a/source/vocab/files-packages-representations.ttl b/source/vocab/files-packages-representations.ttl index 005ef6704..2f36a2b71 100644 --- a/source/vocab/files-packages-representations.ttl +++ b/source/vocab/files-packages-representations.ttl @@ -143,11 +143,6 @@ sdo:domainIncludes :MediaObject ; # TODO: broaden domain later to also apply on Manifest and physical objects owl:equivalentProperty sdo:height . -:bitsPerSample a owl:DatatypeProperty ; - rdfs:label "bits per sample"@en "bits per sample"@sv ; - sdo:domainIncludes :MediaObject ; - owl:equivalentProperty exif:bitsPerSample . - :colorSpace a owl:DatatypeProperty ; rdfs:label "color space"@en, "färgrymd"@sv ; sdo:domainIncludes :MediaObject ;