Thanks for the quick reply. Yes it works. Except one minor typo.
On Feb 24, 1:07 pm, Cosmin Basca <
cosmin.ba...@gmail.com> wrote:
> Hi Zuotian
>
> There is an api to manage the namespaces for Sesame2 http compliant
> connections. The caveat is the following: since it's not a standard
> api (that other plugins support) it's not exposed in the normal store
> api. However using "duck typing" you can safely get access to it like
> this: (haven't tested the code myself, but should work)
>
> # assume store is your remote sesame store
> if hasattr(store.writer, "get_allegro"):
> sesame_connection = store.write.get_allegro()
> sesame_connection.add_namespace(...)
> sesame_connection.remove_namespace(...)
>
> # the sesame_connection object exposes the low-level sesame2 protocol