W3C home > Mailing lists > Public > semantic-web@w3.org > March 2005

Re: tagging, scope, sweeping statements

From: Dan Connolly <connolly@w3.org>
Date: Wed, 30 Mar 2005 16:56:48 -0600
To: semantic-web@w3.org, Stan James <sjames@uni-osnabrueck.de>
Message-Id: <1112223409.32006.469.camel@localhost>

>Sorry if this has been beaten to death before

I wouldn't go that far, but it is a pattern that I've seen
a few times...

> My project can, among other things, display the tags associated with
> page while you are browsing.  The problem with a del.icio.us-style 
> format is that I must infer generalizations: a tag of "news" on 
> http://www.cnn.com/ should also apply to a page deep within the site.  
> But a tag of "news" on http://news.google.com does NOT apply to every 
> page on google.com.
> Rules of thumb can get me so far, but something explicit would be far 
> better.  I'm currently using something like this:
> <item rdf:about="http://news.google.com/">
>   <title>Google News</title>
>   <link>http://www.google.com/</link>
>   <x:scope>*news.google.com/*</x:scope>
>  ...
> Is there a standardized or more elegant way to express this? 

I think the combination of log:uri and string operations
in N3 rules is pretty elegant...

{ ?DOC log:uri [ str:startsWith "http://foo.org/doc" ] } =>
  { ?DOC s:Copyright " 1998, The Foo Organization" }.

The pattern is discussed in...

Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E
Received on Wednesday, 30 March 2005 22:56:50 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 08:44:52 UTC