W3C home > Mailing lists > Public > public-ldp-wg@w3.org > November 2012

Creation of Containers

From: Niclas Hoyer <niclas@verbugt.de>
Date: Wed, 07 Nov 2012 22:38:28 +0100
Message-ID: <509AD4D4.4050700@verbugt.de>
To: public-ldp-wg@w3.org

is there a simple way to create a ldp container? I thought of turning a 
ldp resource into a container just by changing the rdf information, so 
if http://example.org/resource1 is a ldp resource the following HTTP 
request could turn the resource into a container:

PUT /resource1 HTTP/1.1
Host: example.org
Content-Type: text/turtle
Content-Length: 188

@prefix dcterms: <http://purl.org/dc/terms/>.
@prefix ldp: <http://www.w3.org/ns/ldp#>.

     a ldp:Container ;
     dcterms:title "A new empty container" .

Should we cover this in an extra use case?

A possible implementation could just start with a ldp resource. The user 
or client programs could create containers as they need them. I was 
thinking of a sioc:Thread that could also be a ldp:Container, so that 
other clients could reply on the thread easily.

Received on Wednesday, 7 November 2012 21:55:04 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:17:33 UTC