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 graphs rather than URIs,
but also these are expected to be graphs that can be queried for
contents and return the triples in the store contained in that context
(at least they are in the Sleepycat implementation).
I can try to add this change to my store implementation, or just store
graphs as Sleepycat does, but it feels I am propagating the odd
behavior... this may be especially problematic if I inadvertently pass a
very large graph as a context, and the whole of it gets stored as a
giant pickle.
Any chance that your PR could be merged, or that some clarity is made
about the Store interface and its methods?
Thanks,
Stefano
Stefano Cossu
Director of Application Services, Collections
The Art Institute of Chicago
116 S. Michigan Ave.
Chicago, IL 60603
312-499-4026