W3C home > Mailing lists > Public > semantic-web@w3.org > December 2009

Re: Restricted Metadata Inheritance by Named Graphs?

From: Toby Inkster <tai@g5n.co.uk>
Date: Thu, 03 Dec 2009 09:12:44 +0000
To: Christoph LANGE <ch.lange@jacobs-university.de>
Cc: Semantic Web <semantic-web@w3.org>
Message-ID: <1259831564.17105.357.camel@ophelia2.g5n.co.uk>
On Thu, 2009-12-03 at 00:21 +0100, Christoph LANGE wrote:
> {  ?resource :inheritsMetadata ?otherResource .
>    ?otherResource ?property ?value . }
> =>
> { ?resource ?property ?value. } 

Possibly a slightly less naïve approach would be to
define :inheritsMetadata more fully so that the definition of the
property includes a list of what types of metadata it applies to.

For example:

:inheritsDublinCoreMetadata
	a rdf:Property , :InheritanceProperty ;
	:inheritableMetadata dc:title, dc:description , dc:type .

With the following rule:

{
  ?a ?ip ?b . 
  ?ip a :InheritanceProperty ;
     :inheritableMetadata ?prop .
  ?b ?prop ?val .
}
  => { ?a ?prop ?val . } .
	

-- 
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>
Received on Thursday, 3 December 2009 09:13:24 GMT

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