- 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
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 UTC