Skip to content
Using Blockly library for building SPARQL queries with blocks.
JavaScript HTML Python XSLT CSS
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

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 Update dependencies Mar 28, 2018
i18n Dirty fix for compiling Jul 21, 2015
resources Use OpenSans font from Google Oct 16, 2016
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
README.md README: Add links for context Dec 22, 2019
bower.json
gulpfile.js Add bundleAll build to include all libs Oct 15, 2016
package-lock.json
package.json Bump url-parse from 1.2.0 to 1.4.3 Dec 26, 2019

README.md

SparqlBlocks

Using the Blockly library for building SPARQL queries using visual blocks instead of code.

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
You can’t perform that action at this time.