Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
RedStore is a lightweight RDF triplestore written in C using the Redland library.
C Perl Objective-C Shell PHP
branch: master
Failed to load latest commit information.
build-scripts Use instead of specific mirror for static b…
docs Updated the copyright year range to 2010-2011.
macosx Added support for auto-start of HTTP server at application launch.
tests Fixed integration tests for the default N-Triples MIME type changing
.gitignore Added some more build-scripts to .gitignore
AUTHORS Updated TODO list.
COPYING Added indent target to main Makefile. Moved automake options from into Updated the NEWS file ready for releasing version 0.5.4 Updated README ready for 0.5.4 release. Imported latest version of from… Moved automake options from into Added support for inserting/deleting triples via HTTP POST from a form. Added shell script to make it easy to load test data Minor update to the manpage - made list of resources into a list Updated todo script to use new GitHub API v3


Nicholas J. Humfrey

For the latest version of RedStore, please see:

What is RedStore ?

RedStore is a lightweight RDF triplestore written in C using the Redland library.

It has a HTTP interface and supports the following W3C standards:


  • Built-in HTTP server
  • Mac OS X app available
  • Supports a wide range of RDF formats
  • Only runtime dependancy is Redland.
  • Compatible with rdfproc command line tool for offline operations
  • Unit and integration test suite.


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 (default hashes)
   -t <options>    Storage options
   -n              Create a new store / replace old (default no)
   -f <filename>   Input file to load at startup
   -F <format>     Format of the input file (default guess)
   -v              Enable verbose mode
   -q              Enable quiet mode

Start RedStore on port 8080, bound to localhost, using a new sqlite store:

redstore -p 8080 -b localhost -n -s sqlite

Load a URI into the triplestore:

curl --data uri= http://localhost:8080/load

Add a file to the triplestore:

curl -T foaf.rdf 'http://localhost:8080/data/foaf.rdf'

Add a file to the triplestore with full URI specified:

curl -T foaf.rdf 'http://localhost:8080/data/?graph='

Add a file to the triplestore with type specified:

curl -T foaf.ttl -H 'Content-Type: application/x-turtle' 'http://localhost:8080/data/foaf.rdf'

You can delete graphs with in the same manner, using the DELETE HTTP verb:

curl -X DELETE 'http://localhost:8080/data/foaf.rdf'

Query using the SPARQL Query Tool:

sparql-query http://localhost:8080/sparql 'SELECT * WHERE { ?s ?p ?o } LIMIT 10'


The minimum required versions of the Redland RDF Libraries are:


RedStore uses a standard automake build process:

make install

Supported Storage Modules

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.

Something went wrong with that request. Please try again.