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

Re: Interaction model vs data model

From: Roger Menday <roger.menday@uk.fujitsu.com>
Date: Thu, 24 Jan 2013 15:53:18 +0000
CC: Nandana Mihindukulasooriya <nmihindu@fi.upm.es>, "public-ldp-wg@w3.org" <public-ldp-wg@w3.org>
Message-ID: <9AAA5760-0862-4724-B7B6-B5907675FB03@uk.fujitsu.com>
To: Steve Speicher <sspeiche@gmail.com>

>>> For what it's worth, section 5.2.1 of the LDP spec [2] states that "A
>>> Linked Data Platform Container must also be a conformant Linked Data
>>> Platform Resource." I've always read that as meaning that an LDPC is an
>>> LDPR.
>> 
>> 
>> In the data model,
>> 
>> LDPR:
>>    - has a RDF representation
>> 
>> LDPC:
>>    - has a RDF representation
>>    - has a set of reserved properties with their semantics defined by the
>> protocol
>>    - contains some protocol data
>> 
>> so LDPC is a specialization of LDPR.
>> 
>> In the interaction model,
>> 
>> GET:
>>   LDPR - returns the current state.
>>   LDPC - returns the current state. In addition, provides mechanisms to
>> retrieve only part of the state (non-member properties) and provides
>> additional features like paging, ordering based a special property
>> (membership predicate).
>> 
>> PUT:
>>   LDPR - updates the current state
>>   LDPC - Only part of the state may be updated via
>> <containerURL>?non-member-properties. The rest of the state is managed by
>> the server.
>> 
>> POST:
>>   LDPR - updates it's state by appending new triples ?
>>   LDPC - creates new resources
> 
> and adds it to the membership
> 
>> 
>> DELETE:
>>   LDPR - deletes itself
>>   LDPC - deletes itself and any resources contained by it
>> 
>> LDPC and LDPR have different interaction models but I suppose a
>> specialization can have a different interaction model.
>> 
>> Best Regards,
>> Nandana
> 
> This is simple and clear to me, then again it is the current state of
> the spec (mostly). Nice summary

It could be that I am reading the spec wrong, but, my understanding is that when a LDPR has only one LDPC, it can be that both are the same resource. In that case where does that leave the HTTP operations in the above - esp. PUT and POST ?

Roger

> 
> 
> --
> - Steve Speicher
> 



Received on Thursday, 24 January 2013 15:54:29 UTC

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