Skip to content
Sparks JavaScript Library
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Sparks JavaScript Library

Sparks is a set of JavaScript libraries designed for simplifying the access to RDF data. Sparks is licensed under the MIT license.


This is the first release of the library and it only contains an initial version of the Prism filtering framework. There is some known bugs and the library doesn't support the upcoming Sparks Plug library.


Sparks depends on JQuery and JavascriptMVC in order to work properly. Download JavascriptMVC and put the Sparks code in sparks directory inside JavascriptMVC.

Alternatively, you might use the file ''sparks.prism.js'' which includes everything except JQuery.


//You need to include the sparks library before doing the following:
//- Create a new prism endpoint:
var prism = new Sparks.Prism("","?root a <>");

//- Instantiate some lenses:
$('#tags-list').sparks_prism_lens_tags({prism: prism});
$('#search').sparks_prism_lens_search({prism: prism});
$('#list').sparks_prism_lens_list({prism: prism});
You can’t perform that action at this time.