improved SQLite RDF triple store for Redland librdf http://purl.mro.name/librdf.sqlite/
|
|
5 år sedan | |
|---|---|---|
| sql | 10 år sedan | |
| test | 7 år sedan | |
| tools | 10 år sedan | |
| .gitignore | 11 år sedan | |
| .travis.yml | 8 år sedan | |
| CHANGELOG.md | 11 år sedan | |
| LICENSE | 10 år sedan | |
| README.md | 7 år sedan | |
| VERSION | 10 år sedan | |
| doap.rdf | 5 år sedan | |
| librdf.sqlite.podspec | 10 år sedan | |
| package.json | 10 år sedan | |
| rdf_storage_sqlite_mro.c | 6 år sedan | |
| rdf_storage_sqlite_mro.h | 10 år sedan |
Improved SQLite RDF triple storage module for librdf.
Cross platform, plain C source file. Comes with a for those targeting iOS.
Inspired by the official sqlite store.
#include "rdf_storage_sqlite_mro.h"
....
librdf_world *world = librdf_new_world();
librdf_init_storage_sqlite_mro(world); // register storage factory
....
const char* options = "new='yes', contexts='no'";
librdf_storage *newStorage = librdf_new_storage(world, LIBRDF_STORAGE_SQLITE_MRO, file_path, options);
See e.g. in (my) http://purl.mro.name/ios/librdf.objc.
test/minunit.h, Copyright (C) 2002 John Brewer, NO WARRANTY,| Quality | very good | good | normal | irrelevant |
|---|---|---|---|---|
| Functionality | × | |||
| Reliability | × | |||
| Usability | × | |||
| Efficiency | × | |||
| Changeability | × | |||
| Portability | × |
Currently 50% code and 99% runtime saving (for 100k triples).