database icon indicating copy to clipboard operation
database copied to clipboard

context-uri does not filter out < or >

Open drth80 opened this issue 5 years ago • 2 comments

Hi,

I just loaded data using the API with the following command: curl -D- -H 'Content-Type: text/turtle' --upload-file file.ttl -X POST 'http://localhost:8080/blazegraph/sparql?context-uri=<http://www.myurl.com/graph>' As you can see, due to a copy&paste error, I accidentally included the <> in the context-uri.

Loading went well, but there seems to be no way to delete the graph again as graph names such as <<http://www.myurl.com/graph>> get rejected in DELETE statement. Unluckily, some consumers have big trouble with graph IRIs of that form.

So it seems the successful load is breaking my database.

drth80 avatar Jun 17 '20 21:06 drth80

What command did you try to delete?

beebs-systap avatar Jun 17 '20 23:06 beebs-systap

Hi Brad, I tried

curl -D- -X DELETE 'http://localhost:80/bigdata/sparql?c=http://example.org/graph1'

as well as a DROP GRAPH Statement....

Thomas

On Thu, Jun 18, 2020 at 1:02 AM Brad Bebee [email protected] wrote:

What command did you try to delete?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/blazegraph/database/issues/166#issuecomment-645670057, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACPUHULBWKDYGCUDN5MUDITRXFDO5ANCNFSM4OA7RQDA .

drth80 avatar Jun 22 '20 21:06 drth80