# Can Invenio store RO-Crate data with linked data accessible

**URL:** <https://invenio-talk.web.cern.ch/t/can-invenio-store-ro-crate-data-with-linked-data-accessible/394>\
**Category:** Invenio RDM\
**Created:** [28 January 2025 11:15 UTC](https://invenio-talk.web.cern.ch/t/can-invenio-store-ro-crate-data-with-linked-data-accessible/394 "2025-01-28T11:15:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shoantel](https://invenio-talk.web.cern.ch/user_avatar/invenio-talk.web.cern.ch/shoantel/32/293_2.png) [@shoantel](https://invenio-talk.web.cern.ch/u/shoantel)\
**Post date:** [28 January 2025 11:15 UTC](https://invenio-talk.web.cern.ch/t/can-invenio-store-ro-crate-data-with-linked-data-accessible/394/1 "2025-01-28T11:15:11Z")

</div>

I realise Invenio isn’t a triple store, but…

I’ve colleagues who want to move to Ro-Crate as a primary format for data assets (in a UK-based academic research data context). An RO-crate ([v1.1 spec](https://www.researchobject.org/ro-crate/specification/1.1/structure.html)) is essentially _three_ items:

- a linked data (JSON-LD) manifest of the asset(s)
- an HTML page explaining the asset(s)
- one-or-more assets/data files

How does Invenio store such data? As one record or several (linked/) records.

> I am sorry to ask what may appear a dumb question, but I’m not a DBA and the docs are rather unclear. My interest is in the find-ability/usability of stored data rather than the database tech itself.

Background to my asking is that if the LD data object is stored as a ‘dumb’ resource (just a d/b record) much of the benefit of the linked data and work doing into that is lost. However if the record’s LD manifest can be queried as such this makes use of Invenio far more useful to us. I hope thid question makes sense.

---

<div class="post-metadata">

**Author:** ![nitarocc](https://invenio-talk.web.cern.ch/letter_avatar_proxy/v4/letter/n/9e8a1a/32.png) [@nitarocc](https://invenio-talk.web.cern.ch/u/nitarocc)\
**Post date:** [29 January 2025 12:49 UTC](https://invenio-talk.web.cern.ch/t/can-invenio-store-ro-crate-data-with-linked-data-accessible/394/2 "2025-01-29T12:49:17Z")

</div>

Hello,  
your question makes a lot of sense. At the moment, there is no ad-hoc support in InvenioRDM.

We have implemented an experimental upload of records via API, see [here](https://github.com/inveniosoftware/invenio-rdm-records/blob/ee29707c26afa3caba6da968aae61c610acaf4a4/invenio_rdm_records/resources/config.py#L255), [here](https://github.com/inveniosoftware/invenio-rdm-records/blob/ee29707c26afa3caba6da968aae61c610acaf4a4/invenio_rdm_records/resources/deserializers/rocrate/ __init__.py#L18) and [here](https://github.com/inveniosoftware/invenio-rdm-records/blob/master/invenio_rdm_records/resources/deserializers/rocrate/schema.py#L23).

In Zenodo, users uploaded a RO-Crate packages as a .zip file, see example [here](https://zenodo.org/records/13987511).

---

<div class="post-metadata">

**Author:** ![shoantel](https://invenio-talk.web.cern.ch/user_avatar/invenio-talk.web.cern.ch/shoantel/32/293_2.png) [@shoantel](https://invenio-talk.web.cern.ch/u/shoantel)\
**Post date:** [29 January 2025 13:09 UTC](https://invenio-talk.web.cern.ch/t/can-invenio-store-ro-crate-data-with-linked-data-accessible/394/3 "2025-01-29T13:09:08Z")

</div>

Thank you as it helps to have some clarity. Please forgive a follow up question arising from this.

If a project wanted for [reason] to use a format like RO-Crate, presumably Invenio can only offer up the whole stored asset of file(s). Put another way, if the JSON-LD manifest from the create is copied into an LD system, a query there couldn’t currently pull a _subset_ of the order records asset(s)?

My hunch would be ‘no’, at least at present and I don’t take that as a negative. I think it reflects a different perspective on repositories—there being no one ‘right’ way. 🙂

---

<div class="post-metadata">

**Author:** ![nitarocc](https://invenio-talk.web.cern.ch/letter_avatar_proxy/v4/letter/n/9e8a1a/32.png) [@nitarocc](https://invenio-talk.web.cern.ch/u/nitarocc)\
**Post date:** [29 January 2025 20:22 UTC](https://invenio-talk.web.cern.ch/t/can-invenio-store-ro-crate-data-with-linked-data-accessible/394/4 "2025-01-29T20:22:09Z")

</div>

If I understand correctly, you are asking if it would be possible to query a subset of the data, and as you guessed, no it is not possible 😢
