/sparqlguiwrapper

Web interface for SPARQL query execution.

Primary LanguageJavaApache License 2.0Apache-2.0

SPARQL GUI Wrapper

This is a small tool that aims to provide a user-friendly way to type SPARQL queries and obtain the results. All the processing is performed by Apache Jena.

Usage

Run the program, choose the OWL ontology file (RDF/XML only, with inferred axioms), change the port if needed and click Start. Then, open localhost with the chosen port in your local web browser. Type any query and click Execute query. The results will be shown on the bottom portion of the page.

Limitations

I wrote this program in a couple of days to fit a specific need. There is no support for query loading and saving, result exporting, remote resource loading, inference of any sort, or any OWL formats other than RDF/XML.

Binaries

A JAR file can be downloaded here. It comes bundled with all dependencies, hence no external library is required. To execute it from the command line (with Java 8 or newer):

java -jar sparqlguiwrapper-<version>.jar

Compilation

The source code can be compiled with Maven:

# Build
mvn compile

# Run
mvn exec:java -Dexec.mainClass=sparqlguiwrapper.MainWindow

A JAR file can be generated with mvn package.

Licence

The source code and the binary files are licensed under the Apache License, Version 2.0.

Information about licences for the dependencies can be found in the licence-info subdirectory.