Endpoint for SPARQL Update

9 views
Skip to first unread message

Mayke Ferreira

unread,
Sep 24, 2017, 6:01:17 PM9/24/17
to cumulusrdf
What is the endpoint to perform update (insert or delete) on database?

For query, it works:

curl --header 'Accept: application/sparql-results+xml'  --data "query=SELECT+*+WHERE+{?s+?p+?o.}" 'http://localhost:9090/cumulus/sparql'



But, if i try a update in this endpoint, it doesn't work.

Example:

curl --header 'Accept: application/sparql-results+xml' --data "update=PREFIX+dc:+<http://purl.org/dc/elements/1.1/>+INSERT+DATA+{<http://example/book1>+dc:title+'Harry Potter'.}" 'http://localhost:9090/cumulus/sparql'



Andreas Harth

unread,
Sep 25, 2017, 5:54:01 AM9/25/17
to cumulus...@googlegroups.com
Hi,

AFAIK CumulusRDF supports a variant of the SPARQL Graph Store HTTP Protocol for updates.
PUT and DELETE on local URIs with RDF graphs in the message body should work.
Check out the "Upload GUI" for more information.

Cheers,
Andreas.
> --
> You received this message because you are subscribed to the Google Groups "cumulusrdf" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to cumulusrdf-li...@googlegroups.com <mailto:cumulusrdf-li...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages