blazegraph / database

Blazegraph High Performance Graph Database
GNU General Public License v2.0
871 stars 170 forks source link

context-uri does not filter out < or > #166

Open drth80 opened 4 years ago

drth80 commented 4 years ago

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.

beebs-systap commented 4 years ago

What command did you try to delete?

drth80 commented 4 years ago

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 notifications@github.com 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 .