Re: ldp-ISSUE-60 (GETting empty containers): The specification does not allow GETting empty containers [Linked Data Platform core]

On 22 Mar 2013, at 08:38, "Linked Data Platform (LDP) Working Group Issue Tracker" <sysbot+tracker@w3.org> wrote:
> The text in 5.3.1 does not allow getting an empty container since it says that a container representation MUST contain membership triples.
> 
> [[
> 5.3.1 The representation of a LDPC MUST contain a set of triples with a consistent subject and predicate whose objects indicate members of the container. The subject of the triples MAY be the container itself or MAY be another resource (as in the example).  See also 5.2.3. 
> ]]

FWIW, I wouldn't have read it like that. It says that the representation MUST contain a set of triples. But a set can be empty.

A possible clarification in the text would be to define that a container has a possibly empty set of members (and what kind of thing exactly can be in that set?), and the representation MUST contain triples corresponding to these members.

Best,
Richard



> 
> I propose rewriting the text as follows in order to allow getting empty containers. I also propose replacing "consistent subject"  by "single subject", to make the sentence easier to interpret.
> 
> [[
> 5.3.1 In the case of non-empty containers, the representation of a LDPC MUST contain a set of triples with a single subject and predicate whose objects indicate members of the container. The subject of the triples MAY be the container itself or MAY be another resource (as in the example). See also 5.2.3. 
> ]]
> 
> 
> 
> 

Received on Friday, 22 March 2013 11:49:50 UTC