W3C home > Mailing lists > Public > public-rww@w3.org > June 2012


From: Kingsley Idehen <kidehen@openlinksw.com>
Date: Sat, 30 Jun 2012 15:03:57 -0400
Message-ID: <4FEF4D9D.80401@openlinksw.com>
To: "public-rww@w3.org" <public-rww@w3.org>

Here is another application of WebID ACLs with regards to our quest for 
a functional read-write web. Basically, this exercise covers ACLs 
applied to Named Graph IRIs associated with SPARQL services.


1. goto: https://kingsley.idehen.net/sparql

2. execute: select (bif:get_user()) where {}  -- this will show that you 
are scoped to role: kidehen1 (I've mapped the WebID ACL groups in my RWW 
demos to this DBMS role)

3. execute: load 
<http://hxl.humanitarianresponse.info/ns-2012-06-14/hxl.n3> -- this will 
load the content (triples) of the rdf data source identified by the 
aforementioned URL, into a local graph IRI (this works because my policy 
provides 'kidehen1' with read-write-sponge (import via http get) 
privileges on this graph IRI)

4. execute: select distinct * from 
<http://hxl.humanitarianresponse.info/ns-2012-06-14/hxl.n3> where {?s ?p 
?o} -- which shows that content was loaded into a graph IRI  from the 
data source identified by the aforementioned URL (which also serves as 
the local graph IRI)

5. execute: clear graph 
<http://hxl.humanitarianresponse.info/ns-2012-06-14/hxl.n3> -- which 
drops the local graph IRI and thereby removes all triples associated 
with said graph IRI

6. execute: select distinct * from 
<http://hxl.humanitarianresponse.info/ns-2012-06-14/hxl.n3> where {?s ?p 
?o} -- which verifies the graph has been dropped

7. now attempt to load triples from a different rdf source e.g., your 
FOAF profile -- this or any other attempt will fail because my policy 
constrains read-write-sponge privileges for role 'kidehen1' to a 
specific graph IRI 
<http://hxl.humanitarianresponse.info/ns-2012-06-14/hxl.n3>, so 
attempting to make a new graph IRI or upload triples to some other local 
graph IRI will fail .

Let me know how you get on.



Kingsley Idehen	
Founder & CEO
OpenLink Software
Company Web: http://www.openlinksw.com
Personal Weblog: http://www.openlinksw.com/blog/~kidehen
Twitter/Identi.ca handle: @kidehen
Google+ Profile: https://plus.google.com/112399767740508618350/about
LinkedIn Profile: http://www.linkedin.com/in/kidehen

Received on Saturday, 30 June 2012 19:04:21 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:10:28 UTC