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

Re: [WAC] regexps in WebAccessControl

From: Nathan <nathan@webr3.org>
Date: Sun, 18 Nov 2012 21:17:42 +0000
Message-ID: <50A95076.3090607@webr3.org>
To: Henry Story <henry.story@bblfish.net>
CC: Ruben Verborgh <ruben.verborgh@ugent.be>, Read-Write-Web <public-rww@w3.org>, Kingsley Idehen <kidehen@openlinksw.com>, Melvin Carvalho <melvincarvalho@gmail.com>
Henry Story wrote:
>   []  wac:accessToClass [ wac:regex "http://joe.example/blog/.*" ];

Okay,

I'm sure this is being modelled wrong. We can do this another, far more 
flexible way.

Let's look to LDP, and SOIC, and other common patterns.

Let us say that <http://joe.example/blog/#all> refers to a collection of 
BlogPosts.

Then we can say that we will provide access to the class of all things 
which are a :member of <http://joe.example/blog/#all>.

We can do this with simple OWL machinery.. owl:equivalentClass 
owl:intersectionOf, and owl:Restriction's using onProperty.

This covers the same use cases and functionality, without breaking the 
axiom of URI opacity, without clients needing any information hidden by 
the uniform interface, and without limiting to a subset of URIs which 
have a specific lexical form. Making it far more webby, extensible, and 
future friendly.

Best,

Nathan
Received on Sunday, 18 November 2012 21:18:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 18 November 2012 21:18:34 GMT