ro-crate icon indicating copy to clipboard operation
ro-crate copied to clipboard

Make overriding ("inheritance") of properties more explicit

Open stelfrich opened this issue 6 years ago • 4 comments
trafficstars

After some discussions with @stain at an IBISBA meeting:

The only explicit mentioning that I could find about overriding properties is the attribution:

In ROLite, if a file does not list a creator, and is within the Research Object's folders, it's creator can reasonably be assumed to be the creator of the containing research object. However, where appropriate, the Research Object manifest allows overriding with more precise attribution per resource.

  1. It is unclear if this also applies to e.g. license as well or only attribution
  2. Does an @id referring to a folder propagate the properties to all the files that are contained in the referred to folder (unless a more specific thing (sorry, lacking the word) is available)?

stelfrich avatar Apr 05 '19 10:04 stelfrich

If we agree we allow some implicit properties like creator and license to apply to a research object folder "root folder" (?) or on a directory, then yes, we should agree:

  1. Which provenance/license properties re-apply recursively?
  2. Do these properties re-apply also to sub-sub-folders?
  3. What is the order of overriding? (intuitively the most specific path should win)
  4. What kind of tooling should do this inference to "complete" the RO?
  5. Does such properties also apply to "external" resources outside the "root"?
  6. Do we need to define the research object "root folder"? (e.g. fix the location of manifest.jsonld)

stain avatar Apr 11 '19 14:04 stain

A bit of added complexity here. The Root RO-Crate Dataset should use creator etc as properties pointing to well described contextual entities with a URI (as per DataCrate but for individual files creator is going to be better expressed using provenance via CreateEvent. But yes we should make some statements about what is inherited. But I think machine reasoning about RO-Crate of un-trusted provenance would be risky.

ptsefton avatar May 17 '19 03:05 ptsefton

See approach to inheritance from the Psych-DS spec

eocarragain avatar Aug 08 '19 11:08 eocarragain

dc350427c4d612f47d41d105d283a8196705e987 expands a bit on license recursiveness, but not for folders.

stain avatar Oct 29 '19 18:10 stain