SPARQL Blockly is an application for visualising and building SPARQL.
- Try it online
- Get the library from npm
- See the examples
SPARQL Blockly implements the SPARQL grammar in Blockly.
It supports SPARQL 1.1 Query, Update and SPARQL*.
It enables several ways of visual interaction with SPARQL:
- Dragging blocks from a toolbox unto a canvas to assemble valid queries.
- Adding clauses and patterns to query blocks using a context menu.
- Parsing SPARQL query text into blocks.
- Collapsing/expanding parts of a query assemblage.
- Sharing URLs of visual representations.
SPARQL is parsed using SPARQL.js.
This code-base consists of three parts:
- npm package: Source-code for the JavaScript library hosted on npm.
- Demo app: Source-code for the demo application hosted on GitHub Pages.
- Examples: Example JavaScript source-code explaining how to use the library in the browser and in node.