Remove named graphs with bad names

I have a db in which some named graphs were created with problematic names (I don’t know if all of these names are strictly speaking ill-formed as IRIs or as named graph names or… They suffer from the same problem which is:)

Now these graphs cannot be removed by doing a standard DROP GRAPH somename. These were originally created through API in early experiments. Some example of such names:

 <http://v.co/cg
 <http://v.co/cg/xtract-20180215-191048>
 :vco:cg:xtract-20180216-000616

(NOTE: these are the “bare” names without the IRI delimiting ‘<’, ‘>’; iow, you need to wrap the angle brackets around these strings to get the actual IRI). When I do

drop graph <oneofthesenames>

I get either a plain syntax error (e.g. with the first name in the list) or an “internal server error” (e.g., with the last name in the list). Is there a way to delete these objects?

Thanks
Pierluigi

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.