Coder Social home page Coder Social logo

raffaelfoidl / sparql-playground Goto Github PK

View Code? Open in Web Editor NEW

This project forked from calipho-sib/sparql-playground

0.0 0.0 0.0 113.41 MB

A standalone multi-platform web application to learn SPARQL

License: GNU General Public License v2.0

Java 45.98% CSS 6.58% JavaScript 31.22% HTML 14.17% Shell 0.14% Batchfile 0.05% Python 1.85%

sparql-playground's Introduction

SPARQL Playground

Note: This is an adaptation of the sparql-playground which was created in the course of my bachelor thesis in Software & Information Engineering Vienna University of Technology. For information on the changes made to the original version, refer to the corresponding about page or provcapt/pages/99_Modifications for ProvCaptPyEnvs.md.

SPARQL Playground is a standalone multi-platform web application used to learn SPARQL (implemented in Java Spring Boot and AngularJS).

It uses Sesame 2.8.6 as SPARQL Engine.

It is being developed at the SIB Swiss Institute of Bioinformatics.

See the poster to have a quick overview of the tool.

Or see a live demo directly here: http://sparql-playground.isb-sib.ch/

You can also see a live version of nextprot samples here: http://sparql-playground.nextprot.org/

Installation

  • Download the latest release
  • Unzip the folder and run the start script (start.sh for unix users start.bat for windows users) (it requires java 1.8 or higher)
  • Once the application started you should open your browser on: http://localhost:8888
  • Select the examples and click on the Go button

Remark: Owing to the changes that were made compared to the initial version that has been forked, this screenshot is slightly outdated. Nevertheless, it still gives a fairly accurate overview of the application.

Predefined RDF scenarios / datasets

There is a scenario predefined which can be launched using the start.sh (Linux, Mac) or start.bat (Windows) script. It comes with some example source files with numerous RDF triples such that the queries included can be tried out immediately.

Slides of the SPARQL course at SIB Lausanne, 8th of November 2016

Other presentations

Create your own RDF scenario (no programming skills are required)

  • You can create your own scenario by giving a directory as argument: java -jar sparql-playgroud.war your-directory-name

Your directory should exhibit the following subfolders>:

  • ttl-data: a folder containing turtle file(s)
  • queries: a folder containing the example queries showed in the first page
  • prefixes.ttl: a file containing the default prefixes to be added to queries
  • pages: pages with markdown files for the About tab

Notes:

  • If your dataset is reasonably large so that it can't be fit in memory (> 50'000 triples) you may want to add the property -Drepository.type=native. This will create a native repository (instead of a in memory datastore). The database will be persisted in a sesame-db folder. The first time it will take some time to create the structure, but once the application is restarted it will be instantaneous.

  • For development purposes you may want to set the java property -Dspring.profiles.active=nocache so the cache is not enabled (example queries, page, images, faqs ...)

Technology in use

  • The SPARQL engine is Sesame 2.8.6
  • The backend uses Spring Boot 1.2.3
  • The frontend is built with angularJS 1.3 and bootstrap 3
  • Requires Java 1.8 or higher

License

The project is open source and free under the GNU GPL v2 License. The sources are available on GitHub.

This project was forked from sparql-playground, which in turn is a fork of the neXtProt snorql interface.

sparql-playground's People

Contributors

ddtxra avatar pamichel avatar jervenbolleman avatar gpirrotta avatar arthek33 avatar raffaelfoidl avatar fnikitin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.