That's a good question, and I don't think anyone who still maintains
RDFLib actually knows :)

I wanted to fix it, but never got it out the door:
https://github.com/RDFLib/rdflib/pull/409

(4 years ago :see_no_evil:)

- Gunnar

On 19 February 2018 at 02:43, scossu <sco...@artic.edu> wrote:
> Hello,
> I am working on an alternate back end implementation of the Store interface
> that uses LMDB as its persistence layer:
> https://github.com/scossu/lakesuperior/blob/lmdb_strategy5/lakesuperior/store_layouts/ldp_rs/lmdb_store.py
>
> I noticed that the Dataset class passes a Graph instance to the Store when
> handling contexts:
> http://rdflib.readthedocs.io/en/stable/_modules/rdflib/graph.html#Dataset.graph
>
> The Sleepycat store seems to support this too.
>
> I am not sure about the reason why the context has to be the whole graph
> rather than a URI reference (i.e. the context graph identifier). This
> increases storage size and seems to make the implementation of both the back
> end and the upstream code consuming Graph and Dataset instances more
> complex.
>
> I guess there is a reason for this approach. Can someone explain the
> rationale? Would it be otherwise OK to just strip the identifier off the
> graph and only store that (which would introduce some back and forth
> conversion efforts but it would keep things consistent)?
>
> Thank you.
>
> --
> http://github.com/RDFLib
> ---
> You received this message because you are subscribed to the Google Groups
> "rdflib-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rdflib-dev+unsubscr...@googlegroups.com.
> To post to this group, send email to rdflib-dev@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rdflib-dev/66ac519b-0b54-4997-bc1d-d23353be282a%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
http://gromgull.net

-- 
http://github.com/RDFLib
--- 
You received this message because you are subscribed to the Google Groups 
"rdflib-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rdflib-dev+unsubscr...@googlegroups.com.
To post to this group, send email to rdflib-dev@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rdflib-dev/CAGm1OD%3DgEb0sw5hdZDmgS%3DYjL%3DV1bpG%2B-NX8wbfsHE6JubYzEg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to