Re: Rethinking @src in the context of chaining rules

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

An alternative would be to remove @src from generating anything.

Mark's most recent e-mail confused me a bit.

My understanding was that, at the moment, @instanceof only applies to
@about. Ben's proposal would make it such that @instanceof applied to
@about and to @src.

Mark's last e-mail made is seem like @instanceof applies to whatever the
current subject is... which goes against test #53, which we are
reviewing today, and the discussion we had last week.

If we remove @src, we are left with one way of specifying the subject on
the current element - @about. This means that we would repeat ourselves
when doing anything with images:

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

Do we care that we have to repeat ourselves for IMG? It seems as if
we're going to great lengths to support @src, which is complicating the
parser rules a bit (not really that much, but, it seems to be of concern).

I can't imagine that removing @src from generating anything will be a
popular decision. It does, however, a) simplify the parsing rules and b)
doesn't prevent us from generating the triples that we were generating
before.

-- manu

-- 
Manu Sporny
President/CEO - Digital Bazaar, Inc.
blog: Over One Million Songs Available on Bitmunk
http://blog.digitalbazaar.com/2007/10/29/one-million-songs-on-bitmunk/

Received on Thursday, 20 December 2007 15:20:44 UTC