- From: Cody Burleson <cody.burleson@base22.com>
- Date: Mon, 14 Oct 2013 21:17:10 -0500
- To: Steve Speicher <sspeiche@gmail.com>
- Cc: Linked Data Platform WG <public-ldp-wg@w3.org>
- Message-ID: <CAJM-RdrKH=bR-zc8mBJT6-PPgurjeP1nR_rdywLqGSmHc3=dVA@mail.gmail.com>
Thanks, Steve. In my case, I was thinking about delegating to Fuseki, through SPARQL protocol, so I'm not sure that it would be happy without the base. But maybe this raises an implementation hint for me that I might win some benefits by issuing the SPARQL updates more directly in API, rather than through a delegated HTTP request to SPARQL server component (Fuseki). Or maybe I need to look into using Fuseki in a more embedded way, rather than as a stand-alone server acting as a component of the platform. In any case, this is good food for thought; thank you. - Cody On Sun, Oct 13, 2013 at 6:56 PM, Steve Speicher <sspeiche@gmail.com> wrote: > Hi Cody, > > > On Sun, Oct 13, 2013 at 1:14 PM, Cody Burleson <cody.burleson@base22.com>wrote: > >> Example 6 in the current editor's working draft is as follows: >> >> # The following is the representation of >> # http://example.org/container1/ >> >> # @base <http://example.org/container1/> >> @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; >> ldp:membershipSubject <> ; >> ldp:membershipPredicate rdfs:member; >> ldp:membershipObject ldp:MemberSubject; >> dcterms:title "A very simple container"; >> rdfs:member <member1>, <member2>, <member3>. >> >> * >> * >> *Question* >> >> Currently, the base URI is commented out. In order to use the symbols <>, >> which state the triple is relative to the base URI, the base URI should not >> be commented out, should it? If I tried to POST or PUT this, it wouldn't >> work, would it? So, shouldn't we uncomment the @base statement in this >> example? >> > > We should probably remove the comment line. It is just for ease when > using online validators. Most RDF libraries have a way to establish the > base URI before processing the document. I would expect that when a server > processes a POST request, it would first mint the new URI and set it as the > base. For the PUT, I would use the request URI as the base URI. > > - Steve Speicher > > >> >> -- >> Cody Burleson >> >> > -- Cody Burleson Enterprise Web Architect, Base22 Mobile: +1 (214) 537-8782 Skype: codyburleson Email: cody@base22.com Blog: codyburleson.com * <http://base22.com>* * * *Check my free/busy time.<http://www.google.com/calendar/embed?src=cody.burleson%40base22.com&ctz=America/Chicago%20> *
Received on Tuesday, 15 October 2013 02:17:59 UTC