Using Blockly library for building SPARQL queries with blocks.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
blockly git subrepo clone --force https://github.com/google/blockly.git blockly Aug 27, 2016
dist Update dependencies Mar 28, 2018
gulp
i18n
resources
src Finish commenting BGP blocks Sep 15, 2017
tests Change direction order icons Sep 7, 2016
.gitignore Fix compilation and loading Apr 24, 2016
.gitmodules git subrepo clone --force https://github.com/google/blockly.git blockly Aug 27, 2016
LICENSE Add license Mar 28, 2018
README.md Update README.md Dec 4, 2017
bower.json Discard bower components Apr 26, 2016
gulpfile.js
package-lock.json
package.json Update dependencies Mar 28, 2018

README.md

SparqlBlocks

Using Blockly library for building SPARQL queries with blocks.

http://sparqlblocks.org/

Usage

Just serve statically the content of the directory ./dist.

For example, if you have python installed you can use SimpleHTTPServer

cd dist
python -m SimpleHTTPServer 8080

and then open http://localhost:8080/.

Alternatively, you can use the nodejs server in SparqlBlocks-Server that offers also logging capability.

Contributing

Prerequisites

To contribute you need to have Node+npm, and gulp.

Check for Node and npm

Check if you've installed Node and npm.

node --version
npm --version

Install Node and npm

If you don't have them, download and install them from Node.js website

Check for gulp

Check if you've installed gulp.

gulp --version

Install gulp

If you don't have gulp, run the following command to install it.

npm install --global gulp-cli

Building

To install the dependencies, run this command from the main dir.

npm install

To build the static files in ./dist after a change, run gulp.

gulp