W3C home > Mailing lists > Public > www-rdf-interest@w3.org > September 2001

RE: Standard way to qualify occurrences of resources as objects?

From: <Patrick.Stickler@nokia.com>
Date: Mon, 24 Sep 2001 09:00:50 +0300
Message-ID: <2BF0AD29BC31FE46B78877321144043114B617@trebe003.NOE.Nokia.com>
To: aswartz@upclink.com
Cc: www-rdf-interest@w3.org, barstow@w3.org

Thanks Aaron. That's the ticket.

Cheers,

Patrick


> -----Original Message-----
> From: ext Aaron Swartz [mailto:aswartz@upclink.com]
> Sent: 23 September, 2001 20:45
> To: Stickler Patrick (NRC/Tampere)
> Cc: www-rdf-interest@w3.org; Art Barstow
> Subject: Re: Standard way to qualify occurrences of resources as
> objects?
> 
> 
> On Friday, September 21, 2001, at 01:38  AM, 
> Patrick.Stickler@nokia.com wrote:
> 
> > I thought that I could do something like the following
> >
> >   <x:foo>
> >      <rdf:Description>
> >         <rdf:resource rdf:resource="urn:abc:xyz"/>
> >         <x:bar>jkl</x:bar>
> >      </rdf:Description>
> >   </x:foo>
> >
> > but as pointed out by Art Barstow, rdf:resource can only be
> > an attribute, not an element.
> 
> The correct way to do this is:
> 
>    <x:foo>
>       <rdf:Description>
>          <rdf:value rdf:resource="urn:abc:xyz"/>
>          <x:bar>jkl</x:bar>
>       </rdf:Description>
>    </x:foo>
> 
> (replace rdf:resource with rdf:value)
> 
> Hope this helps,
> --
>        "Aaron Swartz"      | ...schoolyard subversion...
>   <mailto:me@aaronsw.com>  |  <http://aaronsw.com/school/>
> <http://www.aaronsw.com/> | because school makes kids dumb
> 
Received on Monday, 24 September 2001 02:01:00 GMT

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