- From: David Wood <david@3roundstones.com>
- Date: Mon, 14 Jan 2013 09:05:39 -0500
- To: Henry Story <henry.story@bblfish.net>
- Cc: public-ldp-wg@w3.org
- Message-Id: <FAB123A0-87EC-411D-A396-5992BAA85221@3roundstones.com>
Hi all, On Jan 14, 2013, at 08:54, Henry Story <henry.story@bblfish.net> wrote: > The argument is that instead of having containers > with URLs such as > > http://example.org/container1 > > they should be > > http://example.org/container1/ +1 Regards, Dave -- http://about.me/david_wood > > The argument for this is as follows: > > Consider the example 1 as it is currently written: > > [[ > @prefix dcterms: <http://purl.org/dc/terms/>. > @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>. > @prefix ldp: <http://www.w3.org/ns/ldp#>. > > <http://example.org/container1> > a ldp:Container; > dcterms:title "A very simple container"; > rdfs:member > <http://example.org/container1/member1>, > <http://example.org/container1/member2>, > <http://example.org/container1/member3>. > ]] > > Let us say we make these now into relative URIs, > as required by ISSUE-29 and ACTION-30. Consider > the difference between the way the two containers > are written: > > 1. Container URI is http://example.org/container1/ > --------------------------------------------------- > > Then the relative version of example 1 can be the very > elegant: > > @prefix dcterms: <http://purl.org/dc/terms/>. > @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>. > @prefix ldp: <http://www.w3.org/ns/ldp#>. > > <> a ldp:Container; > dcterms:title "A very simple container"; > rdfs:member <member1>, <member2>, <member3> . > > > 2. Container URI is http://example.org/container1 > -------------------------------------------------- > > If a GET on this container were to return the above > representation then that would produce a graph isomorphic > to: > > [[ > @prefix dcterms: <http://purl.org/dc/terms/>. > @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>. > @prefix ldp: <http://www.w3.org/ns/ldp#>. > > <http://example.org/container1> > a ldp:Container; > dcterms:title "A very simple container"; > rdfs:member > <http://example.org/member1>, > <http://example.org/member2>, > <http://example.org/member3>. > ]] > > That is not what was intended. Therefore the returned document would > have to be the much less elegant: > > [[ > @prefix dcterms: <http://purl.org/dc/terms/>. > @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>. > @prefix ldp: <http://www.w3.org/ns/ldp#>. > > <> a ldp:Container; > dcterms:title "A very simple container"; > rdfs:member <container1/member1>, <container1/member2>, <container1/member3> . > ]] > > So clearly the better solution is to have containers be entities ending > in a "/" . > > Henry > > A short message from my sponsors: Vive la France! > Social Web Architect > http://bblfish.net/ >
Attachments
- application/pkcs7-signature attachment: smime.p7s
Received on Monday, 14 January 2013 14:06:06 UTC