W3C home > Mailing lists > Public > public-rdfa-wg@w3.org > October 2011

Re: ACTION-97: comments on link relations

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
Message-ID: <20111013112823.128ac4c6@miranda.g5n.co.uk>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 04:55:18 GMT