- From: David Wood <david@3roundstones.com>
- Date: Thu, 9 Oct 2014 09:52:58 -0400
- To: Steve Speicher <sspeiche@gmail.com>
- Cc: James Leigh <james@3roundstones.com>, public-ldp-comments <public-ldp-comments@w3.org>
- Message-Id: <F2D05695-0686-4452-A0D8-0131A43EFE26@3roundstones.com>
On Oct 9, 2014, at 09:10, Steve Speicher <sspeiche@gmail.com> wrote: > Hi, > > Thanks, > Steve Speicher > http://stevespeicher.me > > On Tue, Oct 7, 2014 at 3:48 PM, James Leigh <james@3roundstones.com> wrote: > Hello, > > Section 5.2.3.4 (copied below) could use some more explanation. In > particular the first bullet point is not clear. The example given is > when the created content contains an rdf:type triple indicating a type > of LDPC, but specifies a LDPR interaction model. > > Given section 5.2.1.1 (each LDPC MUST also be a conforming LDPRS) and > section 4.3.11 (each LDPRS MUST also be a conforming LDPR), I don't > understand under what conditions a LDPC could NOT also be a LDPR > interaction model. > > Furthermore given the LDP schema, I would expect a POST to a container > with a Link:<http://www.w3.org/ns/ldp#Resource>;rel="type" that created > a LDPC member to be successful, since ldp:Container rdfs:subClassOf+ > ldp:Resource and with RDFS entailment all ldp:Container members are also > ldp:Resource members. > > Perhaps it could be clarified that specifying the "interaction model" on creation of the resource using Link:<http://www.w3.org/ns/ldp#Resource>;rel="type", that the created resource will ONLY have LDPR interaction model and not LDPC (ie containment and membership triples will not be affected by POSTing to it or DELETE'ing any of the member resources) even though the entity body may have a triple where rdf:type of ldp:Container [1]. Hi Steve, That would work for me. James will still need to respond. Regards, Dave -- http://about.me/david_wood > - Steve > > [1]: http://lists.w3.org/Archives/Public/public-ldp/2014Oct/0002.html > > > Regards, > James Leigh > --- > http://www.w3.org/TR/ldp/#h5_ldpc-post-createrdf > > 5.2.3.4 LDP servers that successfully create a resource from a RDF > representation in the request entity body MUST honor the client's > requested interaction model(s). If any requested interaction model > cannot be honored, the server MUST fail the request.\ > > * If the request header specifies a LDPR interaction model, then > the server MUST handle subsequent requests to the newly created > resource's URI as if it is a LDPR (even if the content contains > an rdf:type triple indicating a type of LDPC). > * If the request header specifies a LDPC interaction model, then > the server MUST handle subsequent requests to the newly created > resource's URI as if it is a LDPC. > * This specification does not constrain the server's behavior in > other cases. > > Clients use the same syntax, that is HTTP Link headers, to specify > the desired interaction model when creating a resource as servers use to > advertise it on responses. > > Note: A consequence of this is that LDPCs can be used to create > LDPCs, if the server supports doing so.
Received on Thursday, 9 October 2014 13:53:26 UTC