java - SPARQL delete on owlim-lite not working -


I want to remove all triplets in my Ollim-Lite store using the Java / Sesame API

I tried: remove where? s? P? O};

In all types (or with its prefixes), it happens: Delete

But any of these questions begin to work. I always get the same exception:

  org.openrdf.query.MalformedQueryException: "Delete" "Delete" "On line 1, column 1." One of the "was expected": " The base ".." prefix "..." select "..." the description of the creation of "..." as "..." "... ...   

It seems that This is a common problem as this one: except for all other questions (selections), they work perfectly well.

What am I doing?

You might have a wrong endpoint for your updates The SPARQL update request should be sent to openrdf-sesame / repository / / statements while the SPARQL query < / Em> should go to the request OpenRDF-tsam / repository / .

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -