How to suppress objectProperty in Fuseki?

84 Views Asked by At

I've problem to suppress one objectProperty in graph on my fuseki server. I tried to use many way to delete my objectProperty without results.

I tried to use s-delete to suppress:

./s-delete http://localhost:3030/ds 'DELETE {?s <http://www.semanticweb.org/ds/dependsOfExchange> ?o}'

or

./s-delete http://localhost:3030/ds 'DELETE {GRAPH ?g {?s <http://www.semanticweb.org/ds/dependsOfExchange> ?o} WHERE{?s <http://www.semanticweb.org/ds/dependsOfExchange> ?o}}'

I tried to find some information about how to use correctly s-delete to suppress objectproperty or dataproperty in data stored in my fuseki server, but I haven't found anything useful. And there is no update or suppress tools accessible by the browser.

Thanks in advance.

1

There are 1 best solutions below

0
On

s-delete executes part of the SPARQL Graph Store Protocol which operaes on whole graphs only. It is an HTTP delete on a named graph.

To modify part of a graph, you need SPARQL Update, and so use s-update.

The delete command, using the DELETE WHERE short form might be:

DELETE WHERE {?s <http://www.semanticweb.org/ds/dependsOfExchange> ?o}

or the GRAPH version.