RDFalchemy, SesameGraph and contexts.

34 views
Skip to first unread message

claude...@quinode.fr

unread,
Apr 16, 2012, 2:08:01 AM4/16/12
to rdfalchemy-dev
What about the features of the get_contexts function for a
SesameGraph?
According to the code, the get_contexts function returns the same
value in the two following calls

sg = SesameGraph(...)
sg.contexts
sg.load(source='myfile.n3',format="n3")
sg.contexts

To my point of view, after calling 'sg.load()' will create a new
context in the SesameGraph, and I should see it with the 'sg.contexts'
call. But, I may misunderstand the feature.
I have patch the code, in a way that the Sesame.graph method update
the ._contexts attribute, when a new context is added to the Graph.
But what about the .context attribut?

Thanks and regards
Reply all
Reply to author
Forward
0 new messages