Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions source/vocab/files-packages-representations.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix exif: <http://www.w3.org/2003/12/exif#> .
@prefix sdo: <http://schema.org/> .
@prefix dc: <http://purl.org/dc/terms/> .
@prefix bf2: <http://id.loc.gov/ontologies/bibframe/> .
Expand Down Expand Up @@ -141,3 +142,12 @@
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 .

:colorSpace a owl:ObjectProperty ;
:category :pending ;
rdfs:label "color space"@en, "färgrymd"@sv ;
sdo:domainIncludes :MediaObject ;
owl:equivalentProperty exif:colorSpace .
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
owl:equivalentProperty exif:colorSpace .
rdfs:subPropertyOf exif:colorSpace .


:imageBitDepth a owl:DatatypeProperty ;
owl:propertyChainAxiom (:digitalCharacteristic [ :isSelfType :ImageBitDepth ] :value) .
Comment on lines +152 to +153
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given that values are extracted from image files, we can also define and use the specific (sub-)property; like:

Suggested change
:imageBitDepth a owl:DatatypeProperty ;
owl:propertyChainAxiom (:digitalCharacteristic [ :isSelfType :ImageBitDepth ] :value) .
:imageBitDepth a owl:DatatypeProperty ;
:category :pending ;
owl:propertyChainAxiom (:digitalCharacteristic [ :isSelfType :ImageBitDepth ] :value) .
:bitsPerSample a owl:DatatypeProperty ;
:category :pending ;
sdo:domainIncludes :MediaObject ;
rdfs:subPropertyOf :imageBitDepth , exif:bitsPerSample .

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The upside is a clear mapping to EXIF. The downside is more specificity equals more choice (which increases the risk of arbitrary differences in detail). There are ways of managing the "difference creep" (using property categories, or more validation).

2 changes: 1 addition & 1 deletion source/vocab/platform.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
:created a owl:DatatypeProperty;
:category :platform ;
rdfs:label "Skapad"@sv;
rdfs:domain :AdminMetadata;
sdo:domainIncludes :AdminMetadata, :MediaObject ;
owl:equivalentProperty bf2:creationDate ;
rdfs:subPropertyOf dc:created, sdo:dateCreated;
rdfs:range xsd:dateTime .
Expand Down