Replies: 1 comment
-
Yes, this is possible, by using a SPARQL Update operation as the payload, rather than the RDF document itself. See https://rdf4j.org/documentation/reference/rest-api/#perform-update-described-in-a-sparql-11-update-string for an example. The update operation you want to use is As an aside, if you want to avoid having to put the update in form-encoded (as in the documentation example), you can instead also do a POST request with Content-Type set to
|
Beta Was this translation helpful? Give feedback.
-
I use the Rest API to work with the RDF4J repositories.
I want to load RDF data from an external url directly into a repository.
I read the documentation and found several ways to load RDF data. It always works by setting the RDF data as content (e.g. https://rdf4j.org/documentation/reference/rest-api/#the-add-operation). This means I have to download the RDF from the source url beforehand (buffer the data locally) to add the RDF data as request data.
Is there a possibility to specify the external url directly when calling the Rest API in order to avoid buffering?
Beta Was this translation helpful? Give feedback.
All reactions