-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hasThumbnail to File or FileSet? #46
Comments
Yes, unless I don't understand FileSet anymore, which is totally a possibility. If I upload a high resolution image and a thumbnail/medium resolution are both created, it's a FileSet with three files. Thumbnail/medium probably have the same mime type. |
@tpendragon: Yes, good point! Different resolution with the same media type would be a problem for conneg :) |
What do people think about this pattern:
where the Donor Agreement thumbnail might be a jpg derived from the first page of the PDF of the document, but could be something completely different too. |
I'm not sure about this. It looks like the Use vocab classes are being used as predicates to link from Objects to FileSets. But I think they are more appropriate for linking from FileSets to Files, and we should have different predicates to differentiate between FileSets. I'm not sure what all the axes of difference are when you have multiple FileSets, but I've heard about a few:
|
I could see the thumbnail image being part of the Fileset with the PDF, but then there's inconsistency between the thumbnail of the Collection (a FileSet), and the thumbnail of the donor agreement (a File). Also, if you had multiple FileSets, each with a thumbnail, how would you know which to use for the higher level Object or Collection? Do we just need a relationship from Object to FileSet to say it's the preferred representation, and then the thumbnail in that fileset is thus the preferred thumbnail? But are there situations when the preferred thumbnail is different from the preferred representation? For example, the preferred representation of an audio book is probably the mp3, not the cover art. But the thumbnail of the cover art is likely the preferred thumbnail for the book Object. |
So maybe we need 3 predicates:
|
|
@anarchivist++ those look like good predicates, and |
Assuming #43, there's still some question about the range of the predicates. For example, foaf:thumbnail would be great ... if the object of the triple is actually an Image. A pcdmw:FileSet is not, itself, an image however... and systems should not try to simply put the URI of the fileset into an
img
tag to render to the user, as the response would be RDF.It seems like FileSets are (often? sometimes?) a stand in for format based content negotiation -- I want this thing (the thumbnail) as a PDF or a JPG or a PNG or TXT... which in the WebArch would have a single generic URI and then one format specific URI per representation. Or to put it another way, if Fedora4 had the capacity to store multiple representations as options for content negotiation, would we still have a need for FileSet?
So some options:
Thoughts?
The text was updated successfully, but these errors were encountered: