SPARQL Update

Gregory Williams greg at evilfunhouse.com
Sun Feb 8 22:21:40 CET 2009


On Feb 8, 2009, at 2:00 PM, Toby A Inkster wrote:

> The SPARUL reference is here by the way:
> <http://jena.hpl.hp.com/~afs/SPARQL-Update.html>
>
> CREATE GRAPH, DROP GRAPH, LOAD and CLEAR should all work pretty much  
> flawlessly. INSERT, DELETE and MODIFY should work for simple cases.  
> The intention is for read-only SPARQL operations (ASK, CONSTRUCT,  
> DESCRIBE, SELECT) to simply count as a no-op, but in practice it  
> currently trips over parsing most of them, so they should not be  
> included in SPARUL scripts at all.

Sounds interesting. I'll try to take a look this coming week...

> I'd especially welcome feedback from kasei, as RDF::Query is  
> obviously fairly related, even if I've gone down a different method  
> of implementation (i.e. reusing Redland's functionality whenever  
> possible).

I wish I had known... subclassing the SPARQL parser in RDF::Query  
could have saved you a lot of work. The code is a bit strange, but is  
fairly simple to extend once you sort things out.

.greg

-- 
"Working over a modem is like eating with chopsticks!"
     - Adam Pisoni



More information about the Dev mailing list