See here for some (non-Jena-specific) approaches and discussion:

https://stackoverflow.com/questions/55635814/best-approach-to-create-uris-with-sparql-like-auto-increment


> On 17 Dec 2019, at 13:44, Mikael Pesonen <[email protected]> wrote:
> 
> Hi,
> 
> not directly about Jena/Fuseki but hope someone can help.
> 
> When posting new metadata into db, for example as turtle, user have to have 
> the resource IDs generated:
> 
> <http://example.com/1234> a foaf:Document .
> ...
> 
> Is there a standard way to have the service, either Jena or some other layer, 
> to generate the ID for the user.
> So in that case user could send
> 
> <INSERT NEW ID HERE> a foaf:Document .
> ...
> 
> and service would replace <INSERT NEW ID HERE> with <http://example.com/1234> 
> and return the ID for the user.

Reply via email to