[Mulgara-general] admin commands
Gregg Reynolds
dev at mobileink.com
Mon Aug 24 20:37:15 UTC 2009
On Mon, Aug 24, 2009 at 3:07 PM, David Smith<DMS at viewpointusa.com> wrote:
> Hmmm. Works fine here...
> Maybe someone else can figure out why.
>
> If you're looking to clear out what you've been playing with, simply:
> stop mulgara,
> delete the server1 subdir
> restart mulgara
Thanks. Digging around further on the wiki I discovered
http://www.mulgara.org/trac/wiki/RESTGraphs, which says ordinary HTTP
actions can be used. So
curl -X DELETE --data-urlencode
"graph=http://norc.org/server1#people" url =
"http://localhost:8088/sparql/" -H "Content-Type:
application/sparql-query"
Seemed to work. The http headers:
DELETE /sparql/?graph=http%3A%2F%2Flocalhost%2Fserver1%23people
HTTP/1.1
User-Agent: curl/7.19.6 (i686-pc-cygwin) libcurl/7.19.6 OpenSSL/
0.9.8k zlib/1.2.3
Host: localhost:8088
etc
Thanks,
gregg
More information about the Mulgara-general
mailing list