Re: aboutEach alternative

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.

Dave

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>

m

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