Swirrl / drafter

A clojure service and a client to it for exposing data management operations to PMD
Other
0 stars 0 forks source link

Support configuring a baseuri #577

Closed RickMoynihan closed 2 years ago

RickMoynihan commented 2 years ago

We should support configuration of a base-uri for each site; so any relative RDF URIs are coined in terms of it.

This would allow us to for example set https://gss-data.org.uk/ as a base uri; and for ONS to upload RDF files to drafter with URIs like:

</dataset/foo> which would then be converted to <https://gss-data.org.uk/dataset/foo>.

Supporting this will allow uploading data into PMD to determine the final resting URIs; in some workflows e.g. at ONS this is desirable.

Additionally we may want to also allow supplying a different base-uri as an optional request parameter on each append/delete data route.

scottlowe commented 2 years ago

This is now part of the larger JSON-LD PR here: https://github.com/Swirrl/drafter/pull/564