You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 22, 2023. It is now read-only.
Currently (once JSON-LD support is merged in), src/routes/helpers/transformers.js defines the JSON-LD @context for the node-to-be-exported, and then translates each property URI into a scoped URI (where a corresponding context entry is available). Rather than sending the full @context along with every response, it would be nice to publish a "global" context at a specified URI (e.g. https://trompamusic.eu/trompa.jsonld) and then refer to that in each response like so:
That slightly cuts down the size of each response (the external context only needs to be requested once per session), but more importantly serves to advertise the name-spaces used within the TROMPA data, and makes it easier for others to publish data conforming to our model (promoting FAIR principles).
Note that we should hold off on implementing this until development of the CE has stabilised to a point where changes to the data model are unlikely, since having to maintain different versions of a global @context would be a headache.
The text was updated successfully, but these errors were encountered:
Currently (once JSON-LD support is merged in), src/routes/helpers/transformers.js defines the JSON-LD
@context
for the node-to-be-exported, and then translates each property URI into a scoped URI (where a corresponding context entry is available). Rather than sending the full@context
along with every response, it would be nice to publish a "global" context at a specified URI (e.g. https://trompamusic.eu/trompa.jsonld) and then refer to that in each response like so:That slightly cuts down the size of each response (the external context only needs to be requested once per session), but more importantly serves to advertise the name-spaces used within the TROMPA data, and makes it easier for others to publish data conforming to our model (promoting FAIR principles).
Note that we should hold off on implementing this until development of the CE has stabilised to a point where changes to the data model are unlikely, since having to maintain different versions of a global @context would be a headache.
The text was updated successfully, but these errors were encountered: