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

Re: @about/@instanceof discussion

From: Ivan Herman <ivan@w3.org>
Date: Thu, 01 Nov 2007 16:52:29 +0100
Message-ID: <4729F63D.6070805@w3.org>
To: Manu Sporny <msporny@digitalbazaar.com>
Cc: RDFa mailing list <public-rdf-in-xhtml-tf@w3.org>
> 
> 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 GMT

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