Re: Display values for RDFa object URLs

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 UTC