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

Use Case: elaborate extensions to the @context want to refer to that remotely (by URI) rather than inline #150

Closed
marc-portier opened this issue May 13, 2021 · 1 comment
Labels
use-case A (potential) use-case for ROLite creation, consumption or integration

Comments

@marc-portier
Copy link
Contributor

This came up in the ro-profile discussion
see minutes of 2021-05-13 -- ro-profile-discussion

As a scientist in some data-management procedure adapting an elaborate (extending) profile, I want to be able to have slim and readable ro-create-metadata.json files that do not have to repeat all @context extensions inline.

We already have and suggest ways to extend the @context by having it be an array of

@context: [ 
  "https://w3id.org/ro/crate/1.1/context", 
  {... additional inline mappings here ... } 
] 

The suggestion here is that we could as easily have that extended to

@context: [ 
  "https://w3id.org/ro/crate/1.1/context", 
  "https://example.com/my-ro-profile/1.0/context", 
  ... other contexts form other profiles, ..., 
  {... additional inline mappings here ... }
]

Note: this adds additional preservation challenges - e.g. ensuring the JSON-LD context does not change beneat our feet, use semantic versioning etc. Since we do use @context URIs ourselves this boils down to ensuring profile editors are as diligent about sustained semantics as we promise to be.

@marc-portier marc-portier added the use-case A (potential) use-case for ROLite creation, consumption or integration label May 13, 2021
@marc-portier marc-portier changed the title Use Case: elaborate extensions to the @context want to refer to that remotely rather then inline Use Case: elaborate extensions to the @context want to refer to that remotely (by URI) rather than inline May 13, 2021
@stain stain added this to To do in RO-Crate specifications Jul 22, 2021
@stain
Copy link
Contributor

stain commented Jan 26, 2023

Would be fixed by #233 suggesting the Profile Crate can also be used as a JSON-LD context (and to define the terms there)

Now if profiles are nested you still have to either repeat them in each profile crate, or nest the @context -- I would prefer the first as the second is more fragile.

@stain stain moved this from To do to Done in RO-Crate specifications Mar 23, 2023
@stain stain closed this as completed Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
use-case A (potential) use-case for ROLite creation, consumption or integration
Projects
Development

No branches or pull requests

2 participants