After working a bit with the files, I suspect it will be useful to be able to tell if the a work has an item of a specific kind (etext, image, physical) just by looking at the work document. Currently one way to do that would be by using the convention that etext items have an _E in their name, but there should probably be a better way... Maybe something like :workHasEtextItem, :workHasImageItem and :workHasPhysicalItem? I agree this would be redundant with the item type, and it would not be useful in a context where we can just query the whole dataset, but I suspect there will be contexts (the app, some migration, etc.) where we are still a bit document-oriented and not fully triple-store oriented... In these contexts, I think these properties would be helpful. Wdyt?
After working a bit with the files, I suspect it will be useful to be able to tell if the a work has an item of a specific kind (etext, image, physical) just by looking at the work document. Currently one way to do that would be by using the convention that etext items have an
_E
in their name, but there should probably be a better way... Maybe something like:workHasEtextItem
,:workHasImageItem
and:workHasPhysicalItem
? I agree this would be redundant with the item type, and it would not be useful in a context where we can just query the whole dataset, but I suspect there will be contexts (the app, some migration, etc.) where we are still a bit document-oriented and not fully triple-store oriented... In these contexts, I think these properties would be helpful. Wdyt?