Closed kcoyle closed 3 years ago
(1): Prefix definitions are assumed to be taken from prefix.cc unless stated otherwise
This puts a burden on the consuming application to determine if prefixes have been defined, so it doesn't change the effort much.
(2) Prefixes are stored in separate files in the same directory as the template
This requires a naming convention for the prefix files. Can we develop a naming convention that is sufficiently multi-language friendly?
(3) Prefix files are given identifiers and are reusable
It isn't clear in this option what will connect the prefix file and the profile.
How about:
Not sure if we have an issue for it, but we did discuss the potential need for some metadata about the application profile itself (e.g information about date, creator, license... YAMA has some minimum requirements that are a good start). The location of prefixes is one of the things that could be included with this metadata (OK, it's more like manifest information than metadata, but I don't think that worries me.)
Yes, we are assuming that some PROV-like info may be desired. As I recall we figured that we wouldn't define elements for this but could point to some existing vocabularies if people want to use them. (This could go in the user documentation, but not in the vocabulary documentation.) From Phil's comment here I am taking away that we also need to indicate or advise on where such information should reside. If we don't, it is possible that some people will enter it into the profile itself, which would not be the best solution.
@philbarker I agree that we should have something to say about minimal metadata about the profile itself and agree that this could be a good place to indicate where the prefixes are located.
@kcoyle I agree that we should discourage putting that metadata in the profile itself. However, the model could allow people to add extra columns (outside of the model) as they see fit. In that case, conversion programs might, by default, support the "standard" model but be easy to tweak to support additional columns.
Re. adding profile metadata, I took a look at some options, one of them https://csvy.org/. As YAML front matter in csv is not supported by many applications, the approach of describing the profile in a yml
file with the same name as the profile csv
file makes sense to me:
for backward compatibility you can always add to your data.csv a data.yml metadata file
W3C CSV on the Web which allows you "to add metadata to describe the contents and structure of comma-separated values (CSV) data files", looks relevant:
I'm not saying that we want to do all of these things now, nor am I saying that it does everything we might want to so, but I think it might be worth mentioning as an option for implementers.
@kcoyle I have marked this as "POSTPONED". Do you agree?
This is now being discussed at https://github.com/dcmi/dctap/issues/3, which also links back to here.
We threw out some ideas about where to store prefix definitions. We seem to have agreed that they would be in a separate file, but can we define a rule so that separate file is standardized and easy to address?