{"id":18864011,"url":"https://github.com/dnlbauer/bh24-ro-crate-extension","last_synced_at":"2025-07-30T05:07:54.247Z","repository":{"id":261428233,"uuid":"884226585","full_name":"dnlbauer/bh24-ro-crate-extension","owner":"dnlbauer","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-08T11:43:46.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-25T21:47:45.948Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dnlbauer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-11-06T11:28:48.000Z","updated_at":"2024-11-08T11:43:50.000Z","dependencies_parsed_at":"2025-05-26T07:49:01.690Z","dependency_job_id":null,"html_url":"https://github.com/dnlbauer/bh24-ro-crate-extension","commit_stats":null,"previous_names":["dnlbauer/bh24-ro-crate-extension"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dnlbauer/bh24-ro-crate-extension","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnlbauer%2Fbh24-ro-crate-extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnlbauer%2Fbh24-ro-crate-extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnlbauer%2Fbh24-ro-crate-extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnlbauer%2Fbh24-ro-crate-extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dnlbauer","download_url":"https://codeload.github.com/dnlbauer/bh24-ro-crate-extension/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnlbauer%2Fbh24-ro-crate-extension/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267814812,"owners_count":24148329,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T04:39:23.723Z","updated_at":"2025-07-30T05:07:54.203Z","avatar_url":"https://github.com/dnlbauer.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Biohackathon 2024 Project 19 RO-Crate extension\n\nThis repository contains descriptions and examples for two possible extensions of RO-Crate\nto enable the use of profiles on subdirectories of an RO-Crate\nwhile also retaining the option to link between objects in differing subdirectories.\n\n## sub-ro-crates\n\nThis solution extends existing methods for referencing other RO-Crates by specifying\n\n- nested RO-Crates (via a profile) that can not be standalone, i.e. they should only exist within another RO-Crate\n- requirements for additional contextual entities withing sub-crates to point onto sibling objects in the parent RO-Crate\n\n### Example Use Case\n\nThe directory `sub-rocrate` contains an example ro-crate to showcase the extended structure (containing invalid comments in json).\n\n## ro-crate-multiple-entrypoints\n\nThis RO-Crate metadata structure shows how the specification of RO-Crate could be extended\nto support multiple entry points in an RO-Crate.\nAn entry point in this context can be considered as a kind of \"lense\"\nthrough which the content of the RO-Crate can be seen.\nThis allows for a more flexible organization of related data, i.e by having one subgroup of files in the crate\nrepresenting a machine-actionable workflows with additional data within the same crate.\n\n### Key differences to the RO-Crate 1.2 Draft specification\n\n- Multiple Entry Points: Instead of a single entry point (`./`), this RO-Crate includes an additional entry point (`./workflow-subdirectory`) conforming to\nthe Workflow RO-Crate profile.\n- All entry points can be identified by their additional type `Entrypoint`.\n- Additionally, the `ro-crate-metadata.json` entity lists all entry points in its `about` property. The main entry point (`./`)\nis pointed to by `mainEntity`\n\n### Example Use Case\n\nThis structure is particularly useful for projects requiring a modular approach, where the main data repository (./) can be accompanied by one or more specialized workflows or datasets\nthat need to link to each others files.\n\n### rocrate_splitter.py\n\nThe script shows how an RO-Crate with multiple entry points can be splitted into multiple atomic RO-Crates that only contain the data relevant for one entrypoint:\n\n```bash\n\u003e ./rocrate_splitter.py ro-crate-multiple-entrypoints-workflow-and-process\nFound entrypoints:  ['file:///home/dbauer/projects/bh24-ro-crate-profiles/ro-crate-multiple-entrypoints-workflow-and-process/workflow-subdirectory/', 'file:///home/dbauer/projects/bh24-ro-crate-profiles/ro-crate-multiple-entrypoints-workflow-and-process/workflow-run-subdirectory/']\nCreating RO-Crate for  file:///home/dbauer/projects/bh24-ro-crate-profiles/ro-crate-multiple-entrypoints-workflow-and-process/workflow-subdirectory/\nCreated RO-Crate at split/sub-crate1 with 1 files and 6 entities\nCreating RO-Crate for  file:///home/dbauer/projects/bh24-ro-crate-profiles/ro-crate-multiple-entrypoints-workflow-and-process/workflow-run-subdirectory/\nCreated RO-Crate at split/sub-crate2 with 3 files and 10 entities\n```\n\n## ro-crate-multiple-entrypoints-workflow-and-process\n\nAlso shows an example on how RO-Crates could be expanded for multiple entry points.\nThis shows how a workflow run can be decomposed into an entry point for the workflow RO-Crate (only the executable workflow),\nand another entry point for the process run RO-Crate representing the execution of said workflow.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnlbauer%2Fbh24-ro-crate-extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdnlbauer%2Fbh24-ro-crate-extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnlbauer%2Fbh24-ro-crate-extension/lists"}