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