RedStore is a lightweight RDF triplestore written in C using the Redland library.
Features:
The source code is on GitHub: github.com/njh/redstore
redstore [options] [<name>]
-p <port> Port number to run HTTP server on (default 8080)
-b <address> Bind to specific address (default all)
-s <type> Set the graph storage type
-t <options> Storage options
-n Create a new store / replace old (default no)
-v Enable verbose mode
-q Enable quiet mode
Add a URI to the triplestore:
curl --data uri=http://example.com/file.rdf http://localhost:8080/load
Add a file to the triplestore:
curl -T file.rdf 'http://localhost:8000/data/http://example.com/data'
Add a file to the triplestore with type specified:
curl -T file.rdf -H 'Content-Type: application/x-turtle' 'http://localhost:8000/data/data.rdf'
You can delete graphs with in the same manner, using the DELETE HTTP verb:
curl -X DELETE 'http://localhost:8000/data/http://example.com/data'
Query using the SPARQL Query Tool:
sparql-query http://localhost:8000/sparql 'SELECT * WHERE { ?s ?p ?o } LIMIT 10'
The following versions of Redland are recommend:
RedStore uses a standard automake build process:
./configure
make
make install
You can use any of the Redland Storage Modules that supports contexts:
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.