incubator-triplesoup-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leo Simons <m...@leosimons.com>
Subject Re: SPARQL with updates
Date Mon, 12 Mar 2007 09:05:02 GMT
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


Mime
View raw message