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

Re: Display values for RDFa object URLs

From: Manu Sporny <msporny@digitalbazaar.com>
Date: Thu, 09 Aug 2007 09:22:47 -0400
Message-ID: <46BB1527.403@digitalbazaar.com>
To: RDFa mailing list <public-rdf-in-xhtml-tf@w3.org>

Ben Adida wrote:
> 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?

That is exactly what we were looking for - thanks a bunch! :)

-- manu

-- 
Manu Sporny
President/CEO - Digital Bazaar, Inc.
DB Blog: Bitmunk Blazes Path in Film and TV
http://blog.digitalbazaar.com/2007/07/04/bitmunk-launches-video/
Received on Thursday, 9 August 2007 13:22:56 GMT

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