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

aboutEach alternative

From: Jeroen Bekaert <jbekaert@lanl.gov>
Date: Wed, 25 Jun 2003 11:55:31 -0600
Message-ID: <002801c33b42$f83f3c80$7f0aa580@northernoriole>
To: <www-rdf-interest@w3.org>

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 Wednesday, 25 June 2003 13:57:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:51:59 GMT