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

Re: comment on using RDFa

From: Ben Adida <ben@adida.net>
Date: Mon, 28 May 2007 21:45:27 -0700
Message-ID: <465BAFE7.7030104@adida.net>
To: Peter Mika <pmika@yahoo-inc.com>
CC: public-rdf-in-xhtml-tf@w3.org


Peter,

Thanks for this feedback, it is, as Mark has mentioned, extremely valuable.

I suspect you're using the old bookmarklets. Try the following stable link:

http://www.w3.org/2006/07/SWD/RDFa/impl/js/

and the latest version:

http://www.w3.org/2006/07/SWD/RDFa/impl/js/20070301/

(I've updated the older link to point out that they are outdated.)

I've tried it on your research page, and I think it solves comment #1,
although I notice a lot of duplicate triples. I'll have to investigate,
as there are surely bugs left to iron out. At least you're not getting
wrong triples, though, and your issue with mixing microformats with RDFa
should resolve itself.


> Comment #2
> ~~~~~~~~~
>           <span class="foaf:Person" rel="swrc:author"
> href="http://www.cs.vu.nl/~pmika/publications.bib#peter_mika">
>                        <span  property="foaf:name">
>                            Peter Mika
>                        </span>
>            </span>

So I actually think the above makes sense, and that it *should* work...
at least if I'm interpreting it correctly. To make sure I am, let me
decompose this a bit. Take out the @href for now:

<span class="foaf:Person" rel="swrc:author">
    <span  property="foaf:name">
        Peter Mika
    </span>
</span>

Here, I'm assuming you mean:

<> swrc:author _:span0 .

_:span0 rdf:type foaf:Person ;
        foaf:name "Peter Mika" .


(If you wanted the first triple to say something about than <>, you
could wrap the whole thing in a div about=....).

Now, adding the href (which irks me because @href means clickable ...
but let's pass on this issue for a second) means, in my mind, that you
want to replace _:span0 with that URL. Am I correct?

If so, I think your markup should work, though we need to think more
carefully about whether the syntax rules are consistent enough for this
to work.

Let me know if I've gotten this right. Thanks again for the comments!

-Ben
Received on Tuesday, 29 May 2007 04:45:33 GMT

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