W3C home > Mailing lists > Public > www-archive@w3.org > December 2007

Re: POWDER: URIs or resources (2)

From: Phil Archer <parcher@icra.org>
Date: Mon, 17 Dec 2007 14:17:13 +0000
Message-ID: <476684E9.8040500@icra.org>
To: Jeremy Carroll <jjc@hpl.hp.com>
CC: www-archive@w3.org, "Carroll, Jeremy John" <jeremy.carroll@hp.com>, Dan Brickley <danbri@danbri.org>, "Williams, Stuart (HP Labs, Bristol)" <skw@hp.com>, Ivan Herman <ivan@w3.org>, Bijan Parsia <bparsia@cs.man.ac.uk>

I _think_ the WG would agree that if one way to make this problem 
solvable is to talk only in terms of URIs and not the resources to which 
they refer, then that's a price worth paying.

It's not ideal though. Here's a real-word example of a resource 
property-based set:

       <ex:includes>free \w{0,4} sex</ex:lang>

Show me a web page that has the words 'free' and 'sex' between 0 and 4 
words apart - and I'll put good money that it's a porn site, whatever 
the domain name.


Jeremy Carroll wrote:
> Continuing along the same lines ...
> foo.example.com/bar  corresponds to bar.example.com
> and
> bar.example.com/foo corresponds to foo.example.com
> So that we may hope that
> <wdr:ResourceSet>
>   <wdr:includeHosts>bar.example.com</wdr:includeHosts>
>   <wdr:excludePathStartsWith>/foo</wdr:excludePathStartsWith>
> </wdr:ResourceSet>
> Would exclude resources from foo.example.com
> But if we think about
> http://foo.example.com/ alias http://bar.example.com/foo
> it matches the includeHosts constraint, by virtue of the second URI, and 
> it matches the excludePathStartsWith constraint by virute of the first URI.
> However, any 'reasonable' implementation, would take the first URI and 
> reject it, because it doesn't match the first constraint; and then take 
> the second URI and reject it because it doesn't match the second 
> constraint.
> Thus I am wondering whether the constraints should be seen as 
> constraints on URIs (not on resources), with the wdr:hasScope property 
> doing some magic relating resources to their URIs.
> http://www.w3.org/TR/2007/WD-powder-dr-20070925/#structure
> Jeremy

Phil Archer
Chief Technical Officer,
Family Online Safety Institute
w. http://www.fosi.org/people/philarcher/
Received on Monday, 17 December 2007 14:17:44 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:43:17 UTC