-
Notifications
You must be signed in to change notification settings - Fork 36
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
Adding @id for external URIs #74
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixing the example for the Web-based Data Entities:
{ "@context": "https://w3id.org/ro/crate/1.1-DRAFT/context",
"@graph":
[
{
"@type": "CreativeWork",
"@id": "ro-crate-metadata.jsonld",
"conformsTo": {"@id": "https://w3id.org/ro/crate/1.1-DRAFT"},
"about": {"@id": "./"}
},
{
"@id": "./",
"@type": [
"Dataset"
],
"hasPart": [
{
"@id": "survey-responses-2019.csv"
},
{
"@id": "https://zenodo.org/record/3541888/files/ro-crate-1.0.0.pdf"
}
]
},
{
"@id": "survey-responses-2019.csv",
"@type": "File",
"contentSize": "26452",
"description": "Survey responses",
"encodingFormat": "text/csv"
},
{
"@id": "https://zenodo.org/record/3541888/files/ro-crate-1.0.0.pdf",
"@type": "File",
"contentSize": "310691",
"description": "RO-Crate specification",
"encodingFormat": "application/pdf"
}
]
}
When fetching a remote data entity, where should the local file be stored? My assumption would be at the root of the crate, but what if it needs to go under |
@ptsefton you argued that remote files should be indicated as Would you be able to sketch out how a modified example from digital-library-and-repository-content section would look? @fbacall in #74 (comment) You seem to be walking into the world of BagIt fetch.txt - in which case I would expect the RO-Crate to refer to |
In regards to establishing a link between external and local data... What about using
This is likely something that @ieguinoa would run across with ResearchObject/ro-crate-py#2 while resolving remote data. |
Modifying 1.1-DRAFT spec to allow
@id
of Data Entity to be external/absolute URIs, and adds considerations before adding external URI tohasPart
of an RO-Crate.See #72 .