Licensed under the Apache License, Version 2.0
Current Version 0.0.1
Stardog.js JavaScript Framework for Node.js to develop apps with the Stardog RDF Database.
This framework wraps all the functionality of a client for the Stardog DBMS, and provides access to a full set of functions such as executing SPARQL Queries, administration tasks on Stardog, and the use of the Reasoning API.
All the implementation uses the HTTP protocol, since most of Stardog functionality is available using this protocol. For more information, go to the Stardog's Network Programming documentation.
The framework is currently targeted to Node.js (the latest version) and it has not been fully tested in the browser, but future versions will be have browser compatibility. You'll also need npm to run the test cases and install the dependencies.
To get started, just clone the project. You'll need a local copy of Stardog to be able to run the tests. For more information on starting the Stardog DB service and how it works, go to Stardog's documentation, where you'll find everything you need to get up and running with Stardog.
Go to http://stardog.com, download and install the database and load the data provided in data/
using the script in the repository. Having the Stardog service running load the data with the following command:
$ ./load_test_data.sh
Once you have the testing database in your Stardog copy, run the following command:
$ npm install
This will install all the dependencies using npm, once this is done, run the test cases:
$ npm test
That will run all the test cases in spec/
All tests should pass.
This framework is in continuous development, please check the issues page. You're welcome to contribute.