Skip navigation

Sparkle – Graphical SPARQL Editor


Sparkle is a graphical SPARQL editor application used to help its users with creation and evaluation of SPARQL queries. The graphical SPARQL query editor application is an interactive JavaFX open source application.



This research was supported by the IGA NT13326 grant of Ministry of Health of the Czech Republic, 2012–2015.


Input and output format support


It is a standalone Java application with graphical user interface (JavaFX) without any installation process. You need to have installed:

How to use Sparkle:

  1. Download ZIP file.
  2. Extract files from the downloaded archive.
  3. Run/execute Sparkle
    • by double-click on the file sparkle-<version>.jar (e.g. sparkle-1.0-r201503131100.jar)
    • or use the batch/script file (run.bat or


It is possible to use the prepared package in the Debian GNU/Linux (deb). Download DEB file.



First, user have to connect to any RDF data store. In Sparkle, a user can connect to the three different RDF data stores – (1) local, (2) OpenLink Virtuoso and (3) Oracle Database. There are examples for the first data store and the second one.

Local store. OpenLink Virtuoso storage.

Sparkle main window is very simple. This you will see when connected to any RDF store.

Sparkle main window.

There you can see the dialog for managing functions. Similar dialogs are for data types, prefixes and resources.

Dialog for managing functions.

Each field can have different type. You can select from (1) variable, (2) prefixed name, (3) IRI/URI and (4) literal. All field types have validation enabled.

Select field type.

On the next figure you can see an empty form for the SELECT clause.

Form validation example.

Example of FILTER clause.

Example of the FILTER clause.

Triples in the WHERE clause can be grouped.

Example of grouping triples.

Query example – Get titles of the first 10 resources that are instances of ds:Patient class. Resources/titles should be in an ascending order by ds:patientID.

Query example - get patient list.

Note: You can see the button with a slash sign, on the previous figure. It is a planned feature for a path searching that could give you an advice how to connect instances. This feature is in an alfa.

Query example – results visualisation.

Query example - results.

Query example – final generated SPARQL. You can manually edit this SPARQL.

Query example - final SPARQL.



The GNU General Public License v3


You can contact Petr Vcelak for more information about this tool.