Re: [rdflib-dev] Why are contexts stored as graphs?

2018-02-19 Thread Stefano Cossu
Thanks Gunnar. I started adapting my implementation to this behavior: https://github.com/scossu/lakesuperior/blob/store_ctx_as_uri/lakesuperior/store_layouts/ldp_rs/lmdb_store.py But the SPARQL query breaks. I believe it is because the contexts() method not only is expected to return a list of

Re: [rdflib-dev] Why are contexts stored as graphs?

2018-02-19 Thread Gunnar Aastrand Grimnes
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 wrote: > Hello, > I am working on