You are viewing a plain text version of this content. The canonical link for it is here.
Posted to triplesoup-dev@incubator.apache.org by Alberto Reggiori <al...@asemantics.com> on 2007/03/09 17:59:36 UTC
SPARQL with updates
hi all
along the lines of triplesoup things, WebDAV and similar, here is
another interesting proposal to keep an eye on
http://jena.hpl.hp.com/~afs/SPARQL-Update.html
Yours
Alberto
Re: SPARQL with updates
Posted by Leo Simons <ma...@leosimons.com>.
On Mar 9, 2007, at 6:59 PM, Alberto Reggiori wrote:
<snip/>
> http://jena.hpl.hp.com/~afs/SPARQL-Update.html
<snip/>
(CC-ing jena-dev@ since that document didn't say where to comment :-))
I like it, a lot! Seems rather similar to earlier drafts along these
lines that I've seen, which is a Good Thing(tm).
Let's implement it :-)
The one thing I think is missing from Andy's doc is some kind of mime/
multipart updates, eg something like
------------------------
POST /sparul HTTP/1.1
Host: localhost:8080
Content-Type: multipart/mixed; boundary=--SPARUL-Client-Lib-1-0001
--SPARUL-Client-Lib-1-0001
Content-Transfer-Encoding: 7bit
Content-Type: text/sparul;
charset=US-ASCII;
delsp=yes
LOAD <attachment:--SPARUL-Client-Lib-1-0002> INTO GRAPH <http://
example.org/graph/1>
--SPARUL-Client-Lib-1-0002
Content-Transfer-Encoding: 7bit
Content-Type: rdf/xml
Content-Disposition: attachment;
filename="example-graph-1.rdf"
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="style/rdfs2html.xsl" type="application/xml"?>
<!DOCTYPE rdf:RDF [
<!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
<!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" >
<!ENTITY venice "urn:tv:pinkie.theveniceproject.com:core:" >
]>
<rdf:RDF
xmlns:rdf="&rdf;"
xmlns:rdfs="&rdfs;"
xmlns:venice="&venice;">
<venice:DeliveryPackage rdf:about="urn:example:1">
<venice:deliveryStatus rdf:resource="&venice;Delivered"/>
</venice:DeliveryPackage>
</rdf:RDF>
------------------------
(no, we're not actually doing anything like this @ Joost; we're
pushing this kind of info using APP right now; and the RDF data
itself is also pretty much a figment of my imagination).
cheers,
Leo