Explore SPARQL endpoints as traversable graphs
TypeScript JavaScript Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
test
.travis.yml
README.md
package.json

README.md

Build Status Coverage Status

About

Spex is a library for exploring SPARQL endpoints as traversable graphs. It defines a generic interface, and includes an implementation for Wikidata Query Service.

The intended usage of spex is through a JavaScript frontend. See Wikidata Explorer for a demo.

Building

Spex is maintained as a simplified TypeScript project, and can be compiled into JavaScript using tsc:

$ npm install
$ export PATH=$PATH:./node_modules/.bin
$ tsc src/*.ts --outDir target

Tests are maintained in the tests directory, and can be run using npm:

$ npm test

> spex@1.0.0-SNAPSHOT test /home/james/code/spex
> bash test/build.sh && istanbul cover _mocha -- -R spec

  wd
    ✓ search (864ms)

  spex
    ✓ ajax (165ms)
    ✓ metadata (410ms)
    ✓ metadata: missing image (430ms)
    ✓ incoming links (477ms)
    ✓ outgoing links (554ms)

  6 passing (3s)