Re: @about/@instanceof discussion

> 
> 1. @about       [Set the Subject]
> 2. @instanceof  [Set the Subject Type]
> 3. @rel/@rev    [Set the Predicate]
> 4. @property    [Set the Predicate]
> 5. @resource    [Set the Object or Subject if there is no active @about]
> 6. @href        [Set the Object]
> 7. @src         [Set the Object]
> 8. @content     [Set the Object]
> 9. @datatype    [Set the Object Data Type]
> 

I just sent a reply and after I hit the button did I realize that there
is an important use case that will go wrong with your approach. If I have

<img src="bla" rel="foaf:depiction"/>

I can have the triple

<> foaf:depiction <bla>

all right, but there is no easy way to set the type of the image (<img>
cannot have children in the XHTML model...).

Just food for thought.

Having said that: after having fought with @instanceof for a while now,
I have the impression that no matter what we decide, there will be a use
case where setting the type is awkward. We may have to accept a
sub-optimal solution, ie, that not everybody will be happy:-)

Ivan


-- 

Ivan Herman, W3C Semantic Web Activity Lead
Home: http://www.w3.org/People/Ivan/
PGP Key: http://www.ivan-herman.net/pgpkey.html
FOAF: http://www.ivan-herman.net/foaf.rdf

Received on Thursday, 1 November 2007 15:52:28 UTC