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

Ensure inclusion of details of dcat:theme values from extra-metadata.json into @graph of ro-crate-metadata.json #1

Open
laurianvm opened this issue Dec 8, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@laurianvm
Copy link

context

The extra-metadadata.json:

The ro-crate-metadata.json

  • represents the description of an ro-crate (~ detailed description of content & structure of an ro-crate)
  • is automatically generated
  • in json-ld format
  • information from extra-metadata.json gets included in this file
  • example: ro-crate-metadata.json of arms-mbon/data_release_001

Description of issue

New agreement:
dcat:theme values in extra-metadadata.json:

{
    "./": { 
             "dcat:theme": [
                { "@id": "https://vocabularyserver.com/asfa/?tema=2365" },
                ...
             ] ,
     } ,
}

should be included in ro-crate-metadata.json like:

{
    "@context": "https://w3id.org/ro/crate/1.1/context",
    "@graph": [
            {
                        "@id": "./",
                        "@type": "Dataset",
                        "label": "./",
                        "dcat:theme": [
                                { "@id": "https://vocabularyserver.com/asfa/?tema=2365" },
                                ...
                         ],
            }
            …
            {
                 "@id": "https://vocabularyserver.com/asfa/?tema=2365",
                  "@type": "skos:Concept",
                  "skos:prefLabel" : “genetics”
            }
    ]
}

Concretely:
following the inclusion of info from extra-metadata.json into ro-crate-metadata.json,
an extra step is needed to also include the details further in the graph

@laurianvm laurianvm added the enhancement New feature or request label Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants