W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > August 2007

Re: Display values for RDFa object URLs

From: Ben Adida <ben@adida.net>
Date: Wed, 08 Aug 2007 13:00:07 -0700
Message-ID: <46BA20C7.2010203@adida.net>
To: Niklas Lindström <lindstream@gmail.com>
CC: Manu Sporny <msporny@digitalbazaar.com>, RDFa mailing list <public-rdf-in-xhtml-tf@w3.org>

Niklas Lindström wrote:
>> or in other words, we'd like the following (N3):
>>
>> <#song> rdf:type hmedia:Audio;
>>         hmedia:sample <http://www.bitmunk.com/sample/6011101> .
>> <http://www.bitmunk.com/sample/6011101> dc:title "A Sample" .
> 
> Absolutely, you can get that (verified with Ivan's pyRdfa) from this:
> 
>    <div about="#song" instanceof="hmedia:Audio">
>        <a rel="hmedia:sample"
>           href="http://www.bitmunk.com/sample/6011101">
>            <span property="dc:title">A Sample</span>
>        </a>
>    </div>

Exactly.

The latest resolution is that @href creates a chaining, so that
statements made inside the anchor have the @href as subject, exactly as
above. This works for @property or @rel, the point is that @href (or
@resource if you want to override the @href in the triples) changes the
subject for contained content.

Manu: is this what you're trying to do?

-Ben
Received on Wednesday, 8 August 2007 20:00:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:15:09 GMT