Re: Removing triples from a store?

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 ...
 </div>

or (I think!)

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

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
Store.

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

-- 
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>

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