You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be helpful to add an explicit remove_namespace(prefix: str) method to remove a specific namespace from a database in a triplestore. I'm aware that, currently, the bind method could also perform namespace deletion in case the prefix is None.
It would be an optional method for triplestores that actually support the namespace management.
Actually, we need support from the backends since different triplestores may delete the namespaces in different ways (e.g. different paths for the REST API). My idea was to define a new method
instead of using self.bind(prefix, None) as a way to remove namespaces.
Of course, we can also use your method proposal, in that case, each backend should check if the URI is None and apply the logic for the namespace deletion.
It would be helpful to add an explicit remove_namespace(prefix: str) method to remove a specific namespace from a database in a triplestore. I'm aware that, currently, the bind method could also perform namespace deletion in case the prefix is None.
It would be an optional method for triplestores that actually support the namespace management.
@jesper-friis Does it make sense to you?
The text was updated successfully, but these errors were encountered: