- From: Toby Inkster <tai@g5n.co.uk>
- Date: Thu, 13 Oct 2011 11:28:23 +0100
- To: Ivan Herman <ivan@w3.org>
- Cc: Shane McCarron <shane@aptest.com>, public-rdfa-wg@w3.org, jeni@jenitennison.com
On Thu, 13 Oct 2011 07:26:36 +0100
Ivan Herman <ivan@w3.org> wrote:
> minus those whose specification does not fit the 'semantic' aspect of
> RDFa (e.g., nofollow)
Why isn't nofollow semantic? OK, it's badly named, but properties in
RDF are URIs, and URIs are opaque.
Let's imagine an agent which takes the RDFa of a page, and also adds
some extra triples along the lines of:
<page> sioc:links_to <dest> .
For every <a href> and <link href> link on the page.
It's reasonable to run the following SPARQL on that data:
CONSTRUCT {
?author ex:endorses ?page .
}
WHERE {
?source dc:creator ?author .
?source sioc:links_to ?page .
FILTER NOT EXISTS { ?source xhv:nofollow ?page . }
}
Personally for HTML5+RDFa I just accept the union of HTML5's rel
values, and RDFa's rel values.
--
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>
Received on Thursday, 13 October 2011 10:27:47 UTC