W3C home > Mailing lists > Public > www-rdf-interest@w3.org > June 2003

Re: aboutEach alternative

From: Dave Reynolds <der@hplb.hpl.hp.com>
Date: Fri, 27 Jun 2003 15:53:01 +0100
Message-ID: <3EFC5A4D.BB11D8A7@hplb.hpl.hp.com>
To: Jeroen Bekaert <jbekaert@lanl.gov>
CC: www-rdf-interest@w3.org

One possible approach would be to add a level of indirection. Use nodeID to link
all your values to a single bNode but then link that bNode to your XML Literal
by means of the rdf:value property. You RDF processor would need to know to
follow the rdf:value indirection in this case.


Jeroen Bekaert wrote:
> Hi all,
> I was wondering how te deal with the following in rdf:
> I have multiple book-resources (cf. example; http://foo/book123456,
> http://foo/book7891011) that are described using the same hasRights
> property. The hasRights property of these resources always has the same
> value; namely an xrml-XML segment. The XML fragment in its entirety
> corresonds to one subject. How can I express the above-mentioned scenario
> (i.e., multiple objects are described using the same property and subject)
> in RDF.
> I am aware of the fact that you can do this easily be means of the aboutEach
> attribute; however due to some reasons (such as, interoperability with other
> systems and implementation issues), we can not use this attribute in our
> rdf-architecture.
> An alternative proposition of how to deal with the problem is shown
> here-below. However, as you might notice, in the thirth rdf:Description, the
> rdf:nodeID and rdf:parseType are used together. This is not allowed
> according to the current rdf-spec.
> Does anyone know how to solve this issue in rdf?
> thanks
> jeroen
> <?xml version="1.0"?>
> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
> xmlns:lanl="http://foo">
>     <rdf:Description rdf:about="http://foo/book123456">
>            <lanl:hasRights rdf:nodeID="abc"/>
>     </rdf:Description>
>     <rdf:Description rdf:about="http://foo/book7891011">
>         <lanl:hasRights rdf:nodeID="abc"/>
>     </rdf:Description>
>     <rdf:Description rdf:nodeID="abc" rdf:datatype="Literal">
>         <xrml:rights xmlns:xrml="http://foo/xrml">
>             <xrml:next-copy-rights>
>                     <xrml:delete>Distributor</xrml:delete>
>                     <xrml:access>
>                             <xrml:security-class>3</xrml:security-class>
>                     </xrml:access>
>                     <xrml:fee>
>                             <xrml:per-use>10</xrml:per-use>
>                             <xrml:to>Account-ID-678-qwerqeruyt</xrml:to>
>                     </xrml:fee>
>             </xrml:next-copy-rights>
>         </xrml:rights>
>     </rdf:Description>
> </rdf:RDF>

Received on Friday, 27 June 2003 10:53:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:44:43 UTC