[rdflib-dev] Re: rdflib v5.0

2018-10-17 Thread scossu
That's exciting! Thanks all for your contributions to the project. Looking forward to this major release. s On Tuesday, October 16, 2018 at 8:49:03 AM UTC-5, Gunnar Aastrand Grimnes wrote: > > Hi Nicholas, > > (I've CC'd the rdflib-dev mailing list as well - so that everyone is on > board!)

Re: [rdflib-dev] RDFLib roadmap & governance

2018-04-27 Thread scossu
g of storage back ends, I implemented a back end for LMDB which I am quite happy with so far: https://github.com/scossu/lakesuperior/blob/master/lakesuperior/store/ldp_rs/lmdb_store.py It is quite embedded in specific features of my project but I thought it would be interesting to share (and prob

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

2018-02-18 Thread scossu
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

[rdflib-dev] Re: Deparsing a parsed SPARQL query

2018-01-13 Thread scossu
Hello, I am also trying to construct a SPARQL update string from a parsed query structure. E.g. I want to parse a query, validate and possibly alter some elements, and then submit the modified query to a graph. Is Mark's approach the only one available to do that, i.e. do I have to use separ

[rdflib-dev] Transactional back ends

2017-12-29 Thread scossu
Hello, As I dig into the persistence options available for RDFLib it seems like the only one that clearly offers transaction support is the SPARQL store. I am also very happy to see that the "dirty reads" option is available in the snapshot version, which is fundamental for me to perform atomic

[rdflib-dev] Re: Opening and closing RDF store connections in Flask app

2017-12-29 Thread scossu
UTC-6, scossu wrote: > > Hello, > I am writing a Flask app that uses RDFLib to interact with a back end RDF > store. I am testing with two different setups, one using the > SPARQLUpdateStore connector and one using the Sleepycat one. > > At the moment I am initiating the st

[rdflib-dev] Opening and closing RDF store connections in Flask app

2017-12-28 Thread scossu
Hello, I am writing a Flask app that uses RDFLib to interact with a back end RDF store. I am testing with two different setups, one using the SPARQLUpdateStore connector and one using the Sleepycat one. At the moment I am initiating the store connection in the Flask app initialization phase;

[rdflib-dev] Deleting triples from in all graphs in a dataset (Fuseki)

2017-12-19 Thread scossu
Hello, Having the following mock data set, backed by Jena Fuseki, with a triple in a graph: >>> store = SPARQLUpdateStore(queryEndpoint='http://localhost:3030/dev/query', update_endpoint='http://localhost:3030/dev/update') >>> ds = Dataset(store, default_union=True) >>> gr = ds.graph(URIRef(