I'm trying to write an RDF graph and store it on PostgreSQL (using Python's rdflib). I do this by opening the store which I have already created and opening a graph through this store. This process appears to work fine and I can write and query to that graph. However, every time I try and reopen the store it kills everything I previously wrote. This is how I open the store:
store = plugin.get('PostgreSQL', rdflib.store.Store)(identifier = db_id, configuration = configString)
Is there somewhere in this line where I need to put create = False
or something?
Is there a way to load a store instead of using plugin.get?