Closed RickMoynihan closed 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.
base-uri
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:
https://gss-data.org.uk/
</dataset/foo> which would then be converted to <https://gss-data.org.uk/dataset/foo>.
</dataset/foo>
<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.
This is now part of the larger JSON-LD PR here: https://github.com/Swirrl/drafter/pull/564
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.