W3C home > Mailing lists > Public > public-rdfa-wg@w3.org > June 2010

Re: Removing triples from a store?

From: Toby Inkster <tai@g5n.co.uk>
Date: Fri, 04 Jun 2010 16:02:07 +0100
To: martin@weborganics.co.uk
Cc: Ivan Herman <ivan@w3.org>, W3C RDFa WG <public-rdfa-wg@w3.org>
Message-ID: <1275663727.4259.41.camel@ophelia2.g5n.co.uk>
On Fri, 2010-06-04 at 15:37 +0100, Martin McEvoy wrote:
> Not an easy task, the simplest approach I would say is not let them
> get in there in the first place... you could introduce an attribute
> for this task
> <div exclude="foo bar">
> <a rel="bookmark foo bar" href="http://...">...</a>
> </div>
> exclude could be used to "exclude" a triple from the graph. 

There are various (albeit hackish) ways of excluding elements from
processing already; e.g.

	<div profile="urn:x-rdfa-ignore">
		... an RDFa processor should ignore everything here ...

or (I think!)

	<div property="" datatype="rdf:XMLLiteral">
		... an RDFa processor should ignore everything here ...

This thread is more about asking how a piece of Javascript, which has
parsed some RDFa into a Store can then remove some triples from the

For example, a script parses a page and then deletes any xhv:stylesheet
triples because it finds them boring.

Toby A Inkster
Received on Friday, 4 June 2010 15:02:50 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:19:47 UTC