Rethinking @src in the context of chaining rules

As per my action item from last week, here are some thoughts on @src
given the new chaining rules.

PROPOSAL: @src defines a subject, not an object. @about overrides @src
in the same way that @resource overrides @href.

Arguments:

0) Given that an image is inline, it would be quite odd not to be able
to declare an @instanceof on that image using simply:

<img src="foo.jpg" instanceof="foaf:Image" />

1) Having three different ways to specify an object, @resource, @href,
and @src is probably a sign of bad design.

2) Declaring a foaf:img is trivial with the new chaining rules, even
when @src is the subject:

<div about="#me" rel="foaf:img">
 <img src="foo.jpg" instanceof="foaf:Image" />
</div>

3) Using @about to override @src allows for just the kinds of situations
where the rendered does not quite match the semantic: e.g. you used a
thumbnail picture but you want to declare a semantic relationship with
the full-size image.

4) Ivan is happy :)


Okay, I could come up with more, but I'll just say that, given the clean
design of Mark's chaining rules, the @src-as-subject proposal just makes
sense in my mind.

-Ben

Received on Thursday, 20 December 2007 02:33:34 UTC