[okfn-help] ORDF ticket #53: work with vanilla rdflib, remove 4store dependencies.
William Waites
william.waites at okfn.org
Tue Jun 15 17:16:12 UTC 2010
On 10-06-15 15:44, Rufus Pollock wrote:
> I know Will has some ideas here and he may be able to get something
> "hacked" in that will prove workable enough for us to get by until 3.0
> gets fully operational!
>
> @Will does that sound about right?
Ticket #53 is now complete. Tested with sleepycat,
performance is acceptable. There may be some locking
or corruption issues to keep an eye out for if more
than one process has the db open -- with this back-end,
obviously using one of the SQL back-ends won't have
this (potential) problem.
Only tested with 2.4.2, not tested with 3.0.0
To make this go, in my config files all I did was
change fourstore to rdflib in ordf.readers/ordf.writers
as applicable, and configured rdflib as
ordf.readers = ...,rdflib,...
ordf.writers = ...,rdflib,...
rdflib.args = /some/where/sleepycat
rdflib.store = Sleepycat
Shall document this just now in the ORDF docs.
The SPARQL endpoint controller factory first looks
to see if fourstore is in use and uses that skeleton
controller class, else it uses the (new) one for
rdflib
In the future I'd suggest a methodology of doing a
"spike" and then seeing what problems we run into
rather than spending a lot of time doing thorough
(and interesting) background research.
Cheers,
-w
--
William Waites <william.waites at okfn.org>
Mob: +44 789 798 9965 Open Knowledge Foundation
Fax: +44 131 464 4948 Edinburgh, UK
More information about the okfn-help
mailing list