To be clear, I want to reinstate the same resource - not to have the URI 
represent something different.

I see that the w3 team have been debating this issue: 
http://www.w3.org/2012/ldp/track/issues/24. It looks like they left it up to 
implementers to decide what their servers will do but that clients have no 
right to expect any particular behavior. Is there any configurable parameter in 
marmotta that influences marmotta's behavior in this issue ?

What do other people do in this situation, is it common to avoid actually 
deleting anything and instead mark a resource as deleted by adding a triple, or 
maybe they mark it as unreadable through security somehow ?

It seems awkward to have to assign a new different resource id to the same 
resource, especially since any "sameAs" relationships could not reasonably 
point to the deleted old URI.

Many thanks

Alan

From: Robson, Alan
Sent: Monday, October 12, 2015 5:50 PM
To: users@marmotta.apache.org
Subject: Does LDP DELETE mean forever ?

Hi

When I DELETE a resource using the LDP interface it seems final - I can never 
use the same resource ID again (ie the Slug). Is there some way to restore a 
deleted resource ?

For example, If I DELETE http://192.168.0.11:8080/marmotta/ldp/Test

I can no longer PUT to http://192.168.0.11:8080/marmotta/ldp/Test to bring it 
back to life (410 - Gone)

And If I try to create another http://192.168.0.11:8080/marmotta/ldp/Test The 
system creates http://192.168.0.11:8080/marmotta/ldp/Test-1 or some such thing.

I understand the need to ensure that identifiers are never re-purposed, but I 
do occasionally make mistakes and it would be nice to be able to backtrack. Do 
I need to live with this as a harsh reality of linked data ? Maybe I just need 
to stop reading so much into the resource names and treat them as opaque.

Also - once I have created a BNode, how can I delete it using the LDP interface 
please ?

Many thanks for the excellent support

Alan

Reply via email to