Coder Social home page Coder Social logo

anukat2015 / redstore Goto Github PK

View Code? Open in Web Editor NEW

This project forked from njh/redstore

0.0 3.0 0.0 1.17 MB

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

Home Page: http://www.aelius.com/njh/redstore/

License: GNU General Public License v3.0

Makefile 1.42% Shell 4.11% Perl 26.58% M4 0.83% Objective-C 10.05% C 57.01%

redstore's Introduction

RedStore

Nicholas J. Humfrey [email protected]

For the latest version of RedStore, please see: http://www.aelius.com/njh/redstore/

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:

Features

  • 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.

Usage

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://example.com/file.rdf 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=http://example.com/foaf.rdf'

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'

Requirements

The minimum required versions of the Redland RDF Libraries are:

Installation

RedStore uses a standard automake build process:

./configure
make
make install

Supported Storage Modules

You can use any of the Redland Storage Modules that supports contexts:

License

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.

redstore's People

Contributors

njh avatar

Watchers

James Cloos avatar anukat2015 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.