W3C home > Mailing lists > Public > public-ldp-wg@w3.org > January 2013

Re: ldp-ISSUE-45: POSTing to an LDPR appends content to the resource [Linked Data Platform core]

From: Wilde, Erik <Erik.Wilde@emc.com>
Date: Sun, 20 Jan 2013 10:20:02 -0500
To: Linked Data Platform Working Group <public-ldp-wg@w3.org>
Message-ID: <CD21C896.E29B%erik.wilde@emc.com>
hello all.

On 2013-01-18 22:11 , "Linked Data Platform (LDP) Working Group Issue
Tracker" <sysbot+tracker@w3.org> wrote:
>ldp-ISSUE-45: POSTing to an LDPR appends content to the resource [Linked
>Data Platform core]
>Raised by: Arnaud Le Hors
>On product: Linked Data Platform core
>Andy suggested that "it would be valuable to be explicit that POST to
>LDP-R is add triples"
>See: http://lists.w3.org/Archives/Public/public-ldp-wg/2013Jan/0115.html

that's one way to go, but please keep in mind that if we define implicit
semantics for a POST to be an add, we cannot do anything else with POST.
that's fine from the REST model point of view, it just limits the things
we might want to POST. another possible option would be the following:

- keep POST as the catch-all and define a framework that is able to use
POST for various interactions, not just for "add".

- instead of folding "add" into POST, maybe use PATCH and use a media type
that is able to PATCH RDF, so that by sending a PATCH request, clients can
actually add/modify/remove triples?

if we go this way (a big if), the downside is that such a media type
currently does not exist, and thus we would have to invent it (probably
not a good idea for our group), or add it as a dependency and assume that
hopefully rather sooner than later, RDF will have a PATCH model we can
refer to.


Received on Sunday, 20 January 2013 15:20:37 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:11:44 UTC