From: Rob V. <rv...@do...> - 2012-12-19 18:04:26
|
Hi Mark The PersistentTripleStore class is a wrapper around a native triple store implementation provided by a IStorageProvider so despite being loadable from the Configuration API is not appropriate to your scenario. Currently there is no persistence for in-memory stores by design. This may get added sometime in the future (patches/pull requests welcome) but this is not currently on our roadmap. People who want persistence typically use one of the various third party triple stores we provide integration for. However there is a FileGraphPersistenceWrapper which can persist an in-memory graph to a file when changes are made but I don't believe the way it is wired up now will cause the changes from an update to get Flushed and thus written to disk. Also FileGraphPersistenceWrapper is not currently loadable from the Configuration API, if you have time to investigate and experiment with this patches/pull requests would be welcomed. Rob From: Mark Skiba <Ma...@Sk...> Reply-To: dotNetRDF User Help and Support <dot...@li...> Date: Monday, December 17, 2012 2:37 PM To: <dot...@li...> Subject: [dotNetRDF-Support] Is there a way to configure a Sparql endpoint using the in-memory with persistence? > I've got your dotNetRDF Sparql/Update endpoints setup and working in IIS but > there is no persistence of the updates back to the source .ttl file. I see > that there is a PersistentTripleStore class and tried configuring it in the > config.ttl but got a "cannot load object" error when experimenting with the > Sparql web interfaces. I suspect that using SQL would resolve this but prefer > the in memory approach for our needs now? > > Is there currently a way to configure a Sparql endpoints using in memory store > with persistence? > If not,would adding PersistentTripleStore to the ConfigurationLoader class be > the way to add this type of support? > > Thanks, > > Mark Skiba > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely > access PCs and mobile devices and provide instant support Improve your > efficiency, and focus on delivering more value-add services Discover what IT > Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d__________________________________________ > _____ dotNetRDF-Support mailing list dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |