I am working with an RO-Crate that has key value pairs in the context. I am using version 1.1 of this library.
I cannot find a way to access them. Internally, they are kept in the CrateMetadataContext, I don't see any method returning this type.
Specifically, I am looking at this particular Ro-Crate.
This is a pared down example of what the ro-crate-metadata.json looks like:
{
"@context": [
"https://w3id.org/ro/crate/1.1/context",
{
"scicat": "_:"
}
],
"@graph": []
}
I would like to read the pair "scicat": "_:" out of the context.
Is there a way of doing this without getting the CrateMetadataContext directly?
It's possible to extract this from the JsonMetaData but I wouldn't say no to a more convenient way.
If not would it be possible to add this functionality?
I am working with an RO-Crate that has key value pairs in the context. I am using version 1.1 of this library.
I cannot find a way to access them. Internally, they are kept in the
CrateMetadataContext, I don't see any method returning this type.Specifically, I am looking at this particular Ro-Crate.
This is a pared down example of what the
ro-crate-metadata.jsonlooks like:I would like to read the pair
"scicat": "_:"out of the context.Is there a way of doing this without getting the
CrateMetadataContextdirectly?It's possible to extract this from the JsonMetaData but I wouldn't say no to a more convenient way.
If not would it be possible to add this functionality?