Skip to content
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

Ability to reconstruct each RO-Crate using named graphs #29

Open
stain opened this issue Jun 26, 2024 · 0 comments
Open

Ability to reconstruct each RO-Crate using named graphs #29

stain opened this issue Jun 26, 2024 · 0 comments
Assignees

Comments

@stain
Copy link
Member

stain commented Jun 26, 2024

It should be possible to separate statement from each RO-Crate. Not all subjects will be using relative paths locked down by #1 - meaning these triples are (as expected) merged.

It is possible to reconstruct RO-Crate Metadata file by saving as JSON-LD and using Flattening with the RO-Crate JSON-LD Context, see https://www.researchobject.org/ro-crate/specification/1.2-DRAFT/appendix/relative-uris.html#flattening-json-ld-from-nested-json

I propose we could make a second output with the quads where we used named graphs for each RO-Crate. Perhaps the URI identifying the graph should be https://workflowhub.eu/workflows/5/ro_crate?version=1 etc. This would give some duplication and complicate queries slightly (you would need to do GRAPH ?g { ... } to query every graph) but also improve provenance about where each statement is from.

In the default graph could just be the overall metadata for this dataset, a list of these named graphs and their brief provenance referencing this workflow.

Note that RDF file formats supporting named graphs include NQ, TriG and JSON-LD, formats like Turtle would merge to a single graph (or only represent the default graph)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants