-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add Profile Crates for 0.5-DRAFT #73
Conversation
Taken from workflow-run-crate/docs/examples/draft/revsort-run-1-crate
…ow-run-crate into profiles-crate-0.5
I added links to prov mapping to each, but it lives outside in the ro-crate for the paper, referenced from this crate |
Merging the profile crates as I think we agreed this approach on 2024-05-21 |
@stain now we have the |
Thanks Stian. Having a defined set with domains and ranges makes sense to me. As long as we produce a machine readable specification it should be ok. It may confuse people that the specification itself is a RO-Crate, since we could just return JSON-LD with the terms. |
@stain I enabled content negotiation on the profiles for the crates (in the draft version only for now). |
I think if the terms are defined now properly in the roterms namespace (incl. HTML!) we no longer need to define them individually in the profile crates, just refer to the |
One Profile Crate for each of process/workflow/provenance, assuming Profile Crate updates in ResearchObject/ro-crate#296 and ResearchObject/ro-crate#262
To view what this PR looks like, see https://stain.github.io/workflow-run-crate/profiles/0.5-DRAFT/ :
This is in a way also a test of the Profile Crate mechanism.
Note the need to rename
workflow_run_crate.md
toworkflow_run_crate/index.md
etc to add the neighbouring crate files.If we settle for this style I can do similar crates for the older versions and set up the w3id content negotiation so that the permalinks can give both JSON-LD and HTML.
I extracted out the JSON-LD example to actual crates, so it can be linked to from the Profile Crate.
Link to the common JSON-LD context using the
@id
at w3id -- this requires context negotiation as permitted by https://www.researchobject.org/ro-crate/1.2-DRAFT/profiles.html#json-ld-context but I also addedurl
to the direct json -- should this not havejsonld
filename to get the correct Content-Type?To discuss:
DefinedTermSet
including domain/range of each term, all in the Process Crate profile, even though some of these terms are only used later. @dgarijo may have views..DefinedTermSet
be included and/or fully listed in each of the profiles? Remember from recent Soften Profile inheritence rules ro-crate#262 there is no longer inheritance across profile crates (and also we have SHOULD onconformsTo
requirements) -- howeverconformsTo
do pull in the term definitions as long as implementations always declare conformsTo Process Crate.https://www.researchobject.org/workflow-run-crate/ro-crata-metadata.json
? (This can also list all the profile versions etc). See also Use Case: represent a portal of RO-Crates ro-crate#283runcrate
-- e.g. corresponding to WRROC table of implemenations ? It would necessarily always be out of date as profiles are newer than implementations0.1
conformance, so this may not be big issue)