W3C home > Mailing lists > Public > semantic-web@w3.org > September 2010

Re: Time for quintuples?

From: Toby Inkster <tai@g5n.co.uk>
Date: Fri, 24 Sep 2010 08:40:52 +0100
To: Bob Ferris <zazi@elbklang.net>
Cc: semantic-web@w3.org
Message-ID: <20100924084052.69ec458a@miranda.g5n.co.uk>
On Fri, 24 Sep 2010 01:12:45 +0200
Bob Ferris <zazi@elbklang.net> wrote:

> However, if I have for example three "shortcut relations" (e.g. a
> skill, an expertise and and interest) in a graph, which have all the
> same topic, I can't match them to the related cognitive
> characteristic statement (as you can also see in the original
> example[1]).

What's wrong with this?

ex:APerson 	
   cco:skill <http://dbpedia.org/resource/Football_(soccer)> .

ex:CC1
   a cco:CognitiveCharacteristic ;
   cco:agent ex:APerson ;  #added this
   cco:characteristic cco:skill ;  #added this
   cco:topic <http://dbpedia.org/resource/Football_(soccer)>;
   wo:weight [
       a wo:Weight ;
       wo:weight_value 6.0 ;
       wo:scale ex:AScale
   ];
   cco:activity
     <http://sw.opencyc.org/concept/Mx4rwJRiEpwpEbGdrcN5Y29ycA> .

The following N3 rule would allow you to infer the shortcut property
from the longer form:

{
	?cc
		cco:agent ?s ;
		cco:characteristic ?p ;
		cco:topic ?o .
}
	=> { ?s ?p ?o . } .

-- 
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>
Received on Friday, 24 September 2010 07:41:26 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 21:45:38 GMT